smart_injection 0.0.0 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +29 -18
- data/README.md +85 -0
- data/lib/smart_core/injection.rb +33 -0
- data/lib/smart_core/injection/dsl.rb +107 -0
- data/lib/smart_core/injection/errors.rb +15 -0
- data/lib/smart_core/injection/injector.rb +165 -0
- data/lib/smart_core/injection/injector/container_set.rb +113 -0
- data/lib/smart_core/injection/injector/container_set/adding_listener.rb +30 -0
- data/lib/smart_core/injection/injector/injection_settings.rb +173 -0
- data/lib/smart_core/injection/injector/injection_settings/incompatability_control.rb +113 -0
- data/lib/smart_core/injection/injector/modulizer.rb +55 -0
- data/lib/smart_core/injection/injector/strategies.rb +7 -0
- data/lib/smart_core/injection/injector/strategies/method_injection.rb +92 -0
- data/lib/smart_core/injection/locator.rb +59 -0
- data/lib/smart_core/injection/locator/container_proxy.rb +142 -0
- data/lib/smart_core/injection/locator/dependency.rb +54 -0
- data/lib/smart_core/injection/locator/factory.rb +55 -0
- data/lib/smart_core/injection/version.rb +1 -1
- data/smart_injection.gemspec +7 -3
- metadata +64 -2
metadata
CHANGED
@@ -1,15 +1,49 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smart_injection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rustam Ibragimov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: smart_engine
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.7'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: smart_container
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.8'
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 0.8.1
|
37
|
+
type: :runtime
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - "~>"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0.8'
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 0.8.1
|
13
47
|
- !ruby/object:Gem::Dependency
|
14
48
|
name: bundler
|
15
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,6 +114,20 @@ dependencies:
|
|
80
114
|
- - "~>"
|
81
115
|
- !ruby/object:Gem::Version
|
82
116
|
version: '0.18'
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: pry
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - "~>"
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0.13'
|
124
|
+
type: :development
|
125
|
+
prerelease: false
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - "~>"
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '0.13'
|
83
131
|
description: DI principles and idioms realized in scope of Ruby
|
84
132
|
email:
|
85
133
|
- iamdaiver@gmail.com
|
@@ -101,6 +149,20 @@ files:
|
|
101
149
|
- bin/console
|
102
150
|
- bin/setup
|
103
151
|
- lib/smart_core/injection.rb
|
152
|
+
- lib/smart_core/injection/dsl.rb
|
153
|
+
- lib/smart_core/injection/errors.rb
|
154
|
+
- lib/smart_core/injection/injector.rb
|
155
|
+
- lib/smart_core/injection/injector/container_set.rb
|
156
|
+
- lib/smart_core/injection/injector/container_set/adding_listener.rb
|
157
|
+
- lib/smart_core/injection/injector/injection_settings.rb
|
158
|
+
- lib/smart_core/injection/injector/injection_settings/incompatability_control.rb
|
159
|
+
- lib/smart_core/injection/injector/modulizer.rb
|
160
|
+
- lib/smart_core/injection/injector/strategies.rb
|
161
|
+
- lib/smart_core/injection/injector/strategies/method_injection.rb
|
162
|
+
- lib/smart_core/injection/locator.rb
|
163
|
+
- lib/smart_core/injection/locator/container_proxy.rb
|
164
|
+
- lib/smart_core/injection/locator/dependency.rb
|
165
|
+
- lib/smart_core/injection/locator/factory.rb
|
104
166
|
- lib/smart_core/injection/version.rb
|
105
167
|
- smart_injection.gemspec
|
106
168
|
homepage: https://github.com/smart-rb/smart_injection
|