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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/penetration.rb +2 -2
- data/lib/penetration/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b0196cc721fdc7229f867626afba6711cc20564
|
4
|
+
data.tar.gz: aec839b296058294095c7b76f16c03c4dd4705ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1b240b6077c8cfdac98c4aa9738ab10ea6188f781755c7dc16bf33733e48c17b099a7bfe35d33e5365a0b0938884f8a122266b0693280c7f29377ee702de720
|
7
|
+
data.tar.gz: 2c5385dcfb34796bd5345af2612d2bae152b617c249ce100497e0687561635b57b5ee2c7e66eff3778f35d5d8886ea6fde591377953a7f98d4fe7c438852e1e8
|
data/Gemfile.lock
CHANGED
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
|
|
data/lib/penetration/version.rb
CHANGED