smart_ioc 0.1.25 → 0.1.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/smart_ioc.rb +7 -6
- data/lib/smart_ioc/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: 6c79c291d6fd2a5ecfaf9211788575e791592d1e
|
4
|
+
data.tar.gz: ec121dc7b84de7712d8382711d13bac493c046bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2b6d7f4497ef2673e53133dd805d6cacb06724b041fd8fb915f4e2b32bab9aaffd122f969f0c46ec4c71e2b3e1a0e381063ff4f3b54713cc88f1b7d6f2df307
|
7
|
+
data.tar.gz: 73e96c08b3c202e8bf92c4836f8f97d732e8a58057dbbebf912317cd07e9218e07aac7a51d553507e0235b6b22bee73cbd28f15bb620cdd3fa98e9544422d01a
|
data/Gemfile.lock
CHANGED
data/lib/smart_ioc.rb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
require 'smart_ioc/version'
|
2
|
-
require 'forwardable'
|
3
2
|
|
4
3
|
module SmartIoC
|
5
4
|
autoload :Args, 'smart_ioc/args'
|
@@ -52,10 +51,12 @@ module SmartIoC
|
|
52
51
|
Container.get_instance
|
53
52
|
end
|
54
53
|
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
54
|
+
[:register_bean, :get_bean_definition_by_class,
|
55
|
+
:set_extra_context_for_package, :get_bean, :clear_scopes,
|
56
|
+
:force_clear_scopes, :set_load_proc].each do |name|
|
57
|
+
define_method name do |*args|
|
58
|
+
container.send(name, *args)
|
59
|
+
end
|
60
|
+
end
|
60
61
|
end
|
61
62
|
end
|
data/lib/smart_ioc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smart_ioc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ruslan Gatiyatov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|