penetration 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 61dedf496e82a4507ccc8c341361f2178f29e7f9
4
- data.tar.gz: 75ecb9af8df6fabcf0f1593e3f57a4c1d8a7ab51
3
+ metadata.gz: 0b0196cc721fdc7229f867626afba6711cc20564
4
+ data.tar.gz: aec839b296058294095c7b76f16c03c4dd4705ce
5
5
  SHA512:
6
- metadata.gz: 3161a53280863d05e9aceb0bd3f402d78b178c5ef86cc81c5489ddb58b7a48508aaba97f3964106753c8761a58f8b9f7f9af1e998ca6ae93301d43b004e0f523
7
- data.tar.gz: 4f3ac5e3043b64bd719d0cac7d97178b62a76d1d7ef1d4ec8214d6d03c570f5a5b368adf9521cf8d2ed9c6ab1410f5d5a7642513aee8c78c53ad0f0ebfe94768
6
+ metadata.gz: a1b240b6077c8cfdac98c4aa9738ab10ea6188f781755c7dc16bf33733e48c17b099a7bfe35d33e5365a0b0938884f8a122266b0693280c7f29377ee702de720
7
+ data.tar.gz: 2c5385dcfb34796bd5345af2612d2bae152b617c249ce100497e0687561635b57b5ee2c7e66eff3778f35d5d8886ea6fde591377953a7f98d4fe7c438852e1e8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- penetration (0.0.3)
4
+ penetration (0.0.4)
5
5
  rails (~> 4.0)
6
6
 
7
7
  GEM
data/lib/penetration.rb CHANGED
@@ -87,11 +87,11 @@ module Penetration
87
87
  class << self
88
88
  def call(name, &block)
89
89
  @preset ||= {}
90
- @preset[name] = yield
90
+ @preset[name.to_sym] = yield
91
91
  end
92
92
 
93
93
  def find(name)
94
- @preset[name] || (raise NotFound)
94
+ @preset[name.to_sym] || (raise NotFound)
95
95
  end
96
96
  end
97
97
 
@@ -1,3 +1,3 @@
1
1
  module Penetration
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: penetration
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - mmmpa