fancy_to_proc 0.3.0 → 0.3.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: 5c6c587248ad21bf2748b2b41f0be82dccc75e1e
4
- data.tar.gz: 39bce2ac0005f609016af55f1465b5dcace94a42
3
+ metadata.gz: 5759c2727adbf715f04ded5600b2073481d77580
4
+ data.tar.gz: 85165bf937e3bf2ba2a5bfd14133813123a2b701
5
5
  SHA512:
6
- metadata.gz: 4652260c29264f999840bda0517dd89b1813ea1ee7ea8fb7daf352e5432815a5c6a72d3f1c3e96bcb5a1c92ecb58df13e0332cd81d6e15e88288b97e8937c7ea
7
- data.tar.gz: 1e3822f3ebe1bb1c5a26cb3ba7f650d149cdb7d980c881c567222082bf64e68079f553e3040cf1ce5aaeff1a58ee55c9cfd105dc7f1bf5312123101e7e1a439e
6
+ metadata.gz: ae04df9bda75f75e2c32509d24afcce2df1069c90d5d70f59c83ab0efdf768db96ec18f064f915a2b07b7ec7d2565c9c34bd86b0a4fefe1b3bd742b29d02a007
7
+ data.tar.gz: 7491046e7d8ef73324cc4f5adf236a4446af1a3329abda99ca2807875572af9349a468fb2ba3fd9a6752137decd0caefb7bafca40d35ebb6d403f0b77c33ee96
@@ -1,3 +1,3 @@
1
1
  module FancyToProc
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1".freeze
3
3
  end
data/lib/fancy_to_proc.rb CHANGED
@@ -20,6 +20,10 @@ class Symbol
20
20
  def call(*defaults)
21
21
  proc { |*args| args.shift.__send__(self, *defaults) }
22
22
  end unless method_defined?(:call)
23
+
24
+ def respond_to?(method, include_private = false)
25
+ super unless method == :call
26
+ end
23
27
  end
24
28
 
25
29
  class Proc
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fancy_to_proc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon George
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-16 00:00:00.000000000 Z
11
+ date: 2016-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler