ioc 6.3.1 → 6.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/ioc.gemspec +1 -1
  3. data/lib/ioc.rb +2 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 550e95377f2d7c55428caecb1b664c0d25295a7a
4
- data.tar.gz: 1e2b6f814f3f73680b080fa8b7d7eba8dbf830c5
3
+ metadata.gz: 337cb8a87fe8365893225ec33e636b00ec52e07d
4
+ data.tar.gz: a4500b56c315840de150473febfef9aa18dc9d65
5
5
  SHA512:
6
- metadata.gz: cc548d109366734e551471965818a9b0a0e5658628f95863b9f5cb30d1021161cf33046af4070fc8dbd8848430ba68c930c39b06b51db920e826c25ca4dee224
7
- data.tar.gz: c2bea3eedf2150087df8eb66fd94fd78e64cc69e803f556ec507d71d67d1063453c92d1cfbe221a62ea19968eabef66d281fbd3eb8caba76cb0367274f1b944f
6
+ metadata.gz: 02ef40a66c781c30b2e41d706b1fd5d752ff5457e8c68212ed5aead1a857c790f095fb84364dfe428fb1c1a939dce24b0417d04f235d50043e3d054162a862a1
7
+ data.tar.gz: 4d25e2630b1040f3235dd15b8a90c99c614a06a1d12de9d70bd37a778ddea926a1cc3f4ab600bcb9c6f33f4ac22c02ae405027cd19cd7f00744c7635e1233f36
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "ioc"
5
- spec.version = "6.3.1"
5
+ spec.version = "6.3.2"
6
6
  spec.authors = ["Erik Lott"]
7
7
  spec.email = ["erik.lott@kodio.io"]
8
8
  spec.summary = "Minimal dependency injection container for Ruby"
data/lib/ioc.rb CHANGED
@@ -38,8 +38,8 @@ module IOC
38
38
 
39
39
  def validate!
40
40
  missing = []
41
- class_services = @services.reject{|service| service.is_a?(Proc)}
42
- class_services.values.each do |service|
41
+ class_services = @services.values.reject{|service| service.is_a?(Proc)}
42
+ class_services.each do |service|
43
43
  dependencies = get_dependencies(service)
44
44
  dependencies.each do |dependency|
45
45
  unless @services.key?(dependency)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ioc
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.3.1
4
+ version: 6.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Lott