scorpion-ioc 0.5.9 → 0.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0410ffe2cb18b57ad5631bc26a155e7933fd1272
4
- data.tar.gz: ab68ae61821b8636a9ea9ae355396f4abd8a5ee6
3
+ metadata.gz: 5b27a8e56059ddd3bb577497d0497c0b92996c79
4
+ data.tar.gz: 3bad326603cff64c05bd617296a5628f60ffdec3
5
5
  SHA512:
6
- metadata.gz: 77277ea7cf3dd975e0f6ac0d7b3450d0e361ed7d3ad27546d501e3191cecf1b5d8ff0a3ada75761aab55d7408908c302dd42bca91d903f1eef38cdfe5dcab0b6
7
- data.tar.gz: 0d94ae2c13d06c024833e25e880f01a0baacc00639c66975d636c7fb5d20989dc1c22fcc58b47cfed85d8e38920acdf7306ed51bb6d01e60723063b91d79e692
6
+ metadata.gz: 72ae0574c6cb0bdb2a66a920f3fa62e9f56ec38c21bcd84fb9fbc0e5057133f1fb4fe8c2a034aaa7ae5689c61d39e945e511304696561a8994467b71a99b00ab
7
+ data.tar.gz: d24503bc6e4d6ce5761f2532192943c976abd18ffccfa2cbaff948b834504f618d99909b8488458b3a6c5b917f9a74bbe0c62444181e16941e474f6a4bd79461
@@ -60,9 +60,9 @@ module Scorpion
60
60
 
61
61
  end
62
62
 
63
- base.subclasses.each do |sub|
64
- infest( sub ) unless sub < Scorpion::Object
65
- end
63
+ # base.subclasses.each do |sub|
64
+ # infest( sub ) unless sub < Scorpion::Object
65
+ # end
66
66
  end
67
67
  end
68
68
 
@@ -6,9 +6,10 @@ module Scorpion
6
6
  base.let( :scorpion ){ Scorpion::Rspec.scorpion_nest.conceive }
7
7
  base.send :extend, Scorpion::Rspec::Helper::Methods
8
8
 
9
- [ ActionController::Base, ActiveJob::Base, ActionMailer::Base ].each do |intercept|
10
- base.infest_nest intercept
11
- end
9
+
10
+ base.infest_nest ActionController::Base if defined? ActionController::Base
11
+ base.infest_nest ActiveJob::Base if defined? ActiveJob::Base
12
+ base.infest_nest ActionMailer::Base if defined? ActionMailer::Base
12
13
 
13
14
  super
14
15
  end
@@ -1,5 +1,5 @@
1
1
  module Scorpion
2
- VERSION_NUMBER = "0.5.9"
2
+ VERSION_NUMBER = "0.5.10"
3
3
  VERSION_SUFFIX = ""
4
4
  VERSION = "#{VERSION_NUMBER}#{VERSION_SUFFIX}"
5
5
  end
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.5.9
4
+ version: 0.5.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Alexander
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-15 00:00:00.000000000 Z
11
+ date: 2016-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -212,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  version: '0'
213
213
  requirements: []
214
214
  rubyforge_project:
215
- rubygems_version: 2.4.8
215
+ rubygems_version: 2.5.1
216
216
  signing_key:
217
217
  specification_version: 4
218
218
  summary: Add IoC to rails with minimal fuss and ceremony