I hereby claim:
- I am fujiin on github.
- I am fujiin (https://keybase.io/fujiin) on keybase.
- I have a public key whose fingerprint is 630B D019 459C 5B57 5171 8D7D 9271 6263 5221 1920
To claim this, I am signing this object:
| 0x2e9616baa3181f0c0095b7949baccee9a2ad786f |
| 0xD81b284f929e60A6176047F2019009Bd93Cd605c |
| Verifying that +fujiin is my Bitcoin username. You can send me #bitcoin here: https://onename.io/fujiin |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env ruby | |
| # Opens gem directory | |
| gem_home = `echo $GEM_HOME`.strip | |
| gem_name = ARGV.first.strip | |
| def get_version_path name | |
| match = `gem list #{name}`.split("\n").first.strip | |
| match.gsub(/\(|\)/, "").split(",").first.strip.gsub(" ", "-") | |
| end |
| # first option should specify the flash type. | |
| # defaults to :error if not given | |
| def flash_from_errors(object, *options) | |
| type = ([:notice, :error, :alert, :success, :news] & options)[0] || :error | |
| msg = object.errors.full_messages.join(", and ").downcase.capitalize | |
| options.include?(:now) ? flash.now[type] = msg : flash[type] = msg | |
| end |
| def pass_params(options = {}) | |
| output = params.reject do |k, v| | |
| k == "controller" || | |
| k == "action" | |
| end.merge(options).reject do |k, v| | |
| v == "clear" | |
| end | |
| end |
| require 'formula' | |
| class CakeVersion < Formula | |
| url "http://releases.clojure-cake.org/stable" | |
| md5 "97c9b20d32252391f3a49c85fa23e0d9" | |
| version "dynamic" | |
| def self.get | |
| new.brew do | |
| File.read "stable" |
| require 'formula' | |
| class CakeExecutable < Formula | |
| url "http://releases.clojure-cake.org/cake" | |
| md5 "d5533fc60a264d5db47f9801882a45c1" | |
| version "0.6.2" | |
| end | |
| class Cake <Formula | |
| url "http://releases.clojure-cake.org/jars/cake-0.6.2.jar" |