light-decorator 0.5.0 → 0.5.1

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: ab642a7323aac895547c9bcb20e2212ccbed148d
4
- data.tar.gz: 843d7b26cce65b9479189de28e8810a039457a3e
3
+ metadata.gz: a9b9fd658e557ba46df50b45a8326365cdbf85aa
4
+ data.tar.gz: eb4a50aaf0b3aedc03f70bd4177069f301659afc
5
5
  SHA512:
6
- metadata.gz: f3dd3b6a86cfaeb6bdb657498cce70b4abe0360abb35c05afa1ff686514a269df3d80010f4a5bea91204edadb71f285aa96ef6e0afe998a908883aa5e910410b
7
- data.tar.gz: 1736c0258dd7c00f2481e14c1deb6a39f5562d460d120bda58054d00e75b4309b64d9ea20d72b226fcc3c739fe8aafdf1b6a50d6d159e948f41d38a5d2bc823c
6
+ metadata.gz: a2cc0a0245dafacbee23a48d29a544909b6cd02da5ad5424833cc9693a050dc07409535bdb2f1e9e4471c0c4dce493ff5f6a01794300bc874cb351d66b3424cd
7
+ data.tar.gz: fa8f87d54fd847879e9074c5fbe6c6d19ef77c4dd71e6b523c4db493af0631a0f08e195ae32d5a09d898f7de66dff1a5feacb030976c20a6e9d51efbbad1fd0a
data/.gitignore CHANGED
@@ -9,3 +9,4 @@
9
9
  /tmp/
10
10
  /.idea/
11
11
  /spec/internal/db/combustion_test.sqlite
12
+ /*.gem
@@ -52,7 +52,7 @@ module Light
52
52
 
53
53
  def delegate_methods
54
54
  # It's more faster than using Forwardable
55
- (object.public_methods - Light::Decorator::NOT_DELEGATABLE_METHODS).each do |method|
55
+ (object.public_methods - methods - Light::Decorator::NOT_DELEGATABLE_METHODS).each do |method|
56
56
  define_singleton_method method do |*args, &block|
57
57
  object.__send__(method, *args, &block)
58
58
  end
@@ -1,5 +1,5 @@
1
1
  module Light
2
2
  module Decorator
3
- VERSION = '0.5.0'.freeze
3
+ VERSION = '0.5.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: light-decorator
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
  - Andrew Emelianenko