scorpion-ioc 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/scorpion.rb +1 -4
- data/lib/scorpion/dependency_map.rb +0 -1
- data/lib/scorpion/hunter.rb +1 -1
- data/lib/scorpion/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: af54a49895a5c2d423c63f900fc9265fcabd8e72
|
4
|
+
data.tar.gz: c4796fd330005378b5017dfd6e743a485d95c41d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d09cce9712eab697098ee65559ace05c554cccc40d259d10d0116ed7d7719981f56d6b60ce2b8d914df8a96c02e47136338d2d18528ab3a32fddcabd82cb1c99
|
7
|
+
data.tar.gz: 70df5b00bd327804f33b09a3b82887fa435c097e85d13059e52f01fca0106723a29682edb702ad872db565aad2aec1e11c58de6a07be2c202724271472545c09
|
data/lib/scorpion.rb
CHANGED
@@ -124,10 +124,7 @@ module Scorpion
|
|
124
124
|
# @param [Boolean] reset true to free all existing resource and initialize a
|
125
125
|
# new scorpion.
|
126
126
|
def self.prepare( reset = false, &block )
|
127
|
-
if reset
|
128
|
-
@instance.destroy
|
129
|
-
@instance = Scorpion::Hunter.new
|
130
|
-
end
|
127
|
+
@instance.reset if reset
|
131
128
|
instance.prepare &block
|
132
129
|
end
|
133
130
|
|
data/lib/scorpion/hunter.rb
CHANGED
data/lib/scorpion/version.rb
CHANGED