scorpion-ioc 0.5.0 → 0.5.1

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: 93ebd370c4020bf58ad8fb775368a16a8949ebca
4
- data.tar.gz: 5d3d644a4688b8f310f065e8d3431574c7fe142c
3
+ metadata.gz: 29856218ea99773e68ec15b55e63f6811455502e
4
+ data.tar.gz: 82c22e654b2356a5ebd2a06208488917dc3fef1b
5
5
  SHA512:
6
- metadata.gz: 2fb8f746aaf8ec843dc91ce3ea468c89d04c8cf1f442aebe65facb4a73a3a71c25f2f2204f3438f389a0c3323781b9565f32f5ef854936774047ffd8a8625847
7
- data.tar.gz: 49fca90cccdcba2f232709c08a1f703371fbf293c53ee0fd5652eae969cf6a653f3d12a2f347b387b93bdd2070911cded579b867c6699b78c96adfa092160395
6
+ metadata.gz: ec8b7239dce0671f76b85a4ef257e897d70629a3cbba4728d2936ae6fa48f33894fe6553ca1f385b1d07cd0d502085ca4d5c0e3daf5f60aff3cd7fcdba5791c2
7
+ data.tar.gz: 7357980ce557a695e4aa8080e5c5becbc75ced88406a738ef4d25e46597173c2f6dbe682da2fca5a154a079464379c8295846d900cf5e378ac8ff2532330e10d
@@ -17,6 +17,8 @@ module Scorpion
17
17
  build_body
18
18
 
19
19
  add_initialize_block
20
+ add_super
21
+
20
22
  assemble
21
23
  end
22
24
 
@@ -39,6 +41,9 @@ module Scorpion
39
41
  body << "injections = dependencies.slice( :#{ arguments.keys.join(', :') } )"
40
42
  body << "inject_from( dependencies )"
41
43
  end
44
+ end
45
+
46
+ def add_super
42
47
  body << "super" if base.superclass < Scorpion::Object
43
48
  end
44
49
 
@@ -1,5 +1,5 @@
1
1
  module Scorpion
2
- VERSION_NUMBER = "0.5.0"
2
+ VERSION_NUMBER = "0.5.1"
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.0
4
+ version: 0.5.1
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-08-29 00:00:00.000000000 Z
11
+ date: 2015-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails