proxies 0.2.2 → 0.2.3

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
  SHA256:
3
- metadata.gz: 58fac1011043a04e7da669753a6e216373298076ac6353681ffd0ed19cee1f90
4
- data.tar.gz: 203825b08a774364f8f752cc9a8c4d9bd760b9a27adbbc9fa7270e5b3f536e3d
3
+ metadata.gz: e2516bb4c3263238cc119e7ce892d329e530d1943605151fc61f1b49139453d4
4
+ data.tar.gz: 1304dedf1740fe18d55e402cb0d6f9dc7a305c1d56b72c5e7a03e0e01e098e0c
5
5
  SHA512:
6
- metadata.gz: 84f55fdeedacfec7fc79c30403941d2a0d8a7a83a059a19f661b1b5db4035db573c58d5958cd24597bfa0d7d9a77c36cf199c04fbb29dfb0e3148c49cae14c79
7
- data.tar.gz: f7253fc4150c6f8a711ceffe19be7078741a3f584f3472997259866948f3fff11319abf1de6e21fd74af9b8c635bb57c94b4c1a8a67bb5fbdf08d725703bcfaa
6
+ metadata.gz: 891400a19c779effdd4f7782a3d13774a3e52697d24a20bd172eb6f755f5e54a891c41ae57724687526f070301cd81e2506718845292668d8dbed64897e61d1c
7
+ data.tar.gz: 639e944ec5ec1a53bbb2582fd2e339a97937b689df385e8d436ad6e4b3a71a68b4ca31b434ab863ccc515b785f90d5d3e868dde7c03d48f7ee4ff04d972de4e5
@@ -6,6 +6,7 @@ module Proxies
6
6
  module ProxyRespondTo
7
7
  def proxy_respond_to?(method)
8
8
  this = self
9
+ this = this # suppress a warning message
9
10
  !!::Kernel.eval("defined?(this.#{method})")
10
11
  end
11
12
  end
@@ -60,5 +61,9 @@ module Proxies
60
61
  def method_missing(name, *args, &block)
61
62
  proxy_target.send(name, *args, &block)
62
63
  end
64
+
65
+ def respond_to?(name, include_private = false)
66
+ proxy_target.respond_to?(name, include_private)
67
+ end
63
68
  end
64
69
  end
@@ -1,3 +1,3 @@
1
1
  module Proxies
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proxies
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kuba Kuźma
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-09 00:00:00.000000000 Z
11
+ date: 2018-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler