scorpion-ioc 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/scorpion/rspec/helper.rb +0 -15
- data/lib/scorpion/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e78bdb2ec8c0aa512d1bf013af5f3f8840160451
|
4
|
+
data.tar.gz: 04a5ae8792c19f7e82d44734bd42aa112bace532
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0425996d682925ff6bd4b38c676ba011e341bbd534f36e9de083f449cc1ed352a6302013d78077321640595fd6d1caa7ffd717e23746b9666684139b8b45d26
|
7
|
+
data.tar.gz: 739a23a53b35c0094e3f26bc720bc7ec5365bac68c137cc13ce539f5535e9137188ad41ada269ef392448d1758b7fc428bd9accb8d11abee2d04fee9990664e9
|
@@ -11,21 +11,6 @@ module Scorpion
|
|
11
11
|
base.infest_nest ActiveJob::Base if defined? ActiveJob::Base
|
12
12
|
base.infest_nest ActionMailer::Base if defined? ActionMailer::Base
|
13
13
|
|
14
|
-
base.before( :each ) do
|
15
|
-
allow( Scorpion ).to receive( :instance ) do
|
16
|
-
# Always override the 'global' scorpion with the scorpion from the
|
17
|
-
# spec. Any existing nests will not be affected, only code the
|
18
|
-
# naively reaches into global scorpion context.
|
19
|
-
@@global_scorpion_warned ||=
|
20
|
-
begin
|
21
|
-
puts( "Using global scorpion is not recommended. Objects should be created with scorpion.fetch or scorpion.new" )
|
22
|
-
true
|
23
|
-
end
|
24
|
-
|
25
|
-
scorpion
|
26
|
-
end
|
27
|
-
end
|
28
|
-
|
29
14
|
super
|
30
15
|
end
|
31
16
|
|
data/lib/scorpion/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scorpion-ioc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Alexander
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|