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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0198db2374679046b00a1332fee4de0aad13c129
4
- data.tar.gz: c50b72b48d02dabb4fa56f7b1cfeca2d4a5673a6
3
+ metadata.gz: 6c79c291d6fd2a5ecfaf9211788575e791592d1e
4
+ data.tar.gz: ec121dc7b84de7712d8382711d13bac493c046bb
5
5
  SHA512:
6
- metadata.gz: f39126254e35139b03f025db25560c059bfa563a1ca9fbf261b3ab96bc7ee38d5db7a92dee3312ba6e2790e1bc380d81c4419fcbb1e43992e44db578d1066bb7
7
- data.tar.gz: 73141b108b4f4946f6933a4ce000c8f4e863973ae442520a5ede89a0a1f11b086126ba754a7f7acbbdb1e9c3417f0a39324907b980d5212774a7ff7e0efcdb50
6
+ metadata.gz: b2b6d7f4497ef2673e53133dd805d6cacb06724b041fd8fb915f4e2b32bab9aaffd122f969f0c46ec4c71e2b3e1a0e381063ff4f3b54713cc88f1b7d6f2df307
7
+ data.tar.gz: 73e96c08b3c202e8bf92c4836f8f97d732e8a58057dbbebf912317cd07e9218e07aac7a51d553507e0235b6b22bee73cbd28f15bb620cdd3fa98e9544422d01a
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- smart_ioc (0.1.25)
4
+ smart_ioc (0.1.26)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -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
- extend Forwardable
56
-
57
- def_delegators :container, :register_bean, :get_bean_definition_by_class,
58
- :set_extra_context_for_package, :get_bean, :clear_scopes,
59
- :force_clear_scopes, :set_load_proc
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
@@ -1,3 +1,3 @@
1
1
  module SmartIoC
2
- VERSION = "0.1.25"
2
+ VERSION = "0.1.26"
3
3
  end
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.25
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-06 00:00:00.000000000 Z
11
+ date: 2017-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler