alias_callable 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4334c1231c35835f8201a245e9311facbf5955d7586eff0b4f50787640f418c2
4
- data.tar.gz: fe35d58d1cf341250766a2aa564ac05045d18c4360852cb50d86b26c92416b94
3
+ metadata.gz: 772dbb8304dec4809d06466e747e6e5e27416e2379d6231d2743b7c1206c1b21
4
+ data.tar.gz: 645450ec6e0d9f88a922b3996501f76ee4f1c137af71def01f4ee1e1042bafd3
5
5
  SHA512:
6
- metadata.gz: 823997bf9df2033c1a3d3e9159d3e9ede6e0dfc3b2b0d855bac9f2647803f5edcb087d53307b715e51c6ed2b99772a227615857bea07099d269264268278c50e
7
- data.tar.gz: 226205bb435b18b36c3f6113170d71f67b2493e80b1dd0734fcdb51f333d1ab3fa8fbea368421be1f576abda7eb924820d43223ea23765008221446e98fefe42
6
+ metadata.gz: dd3789052a7177b8c495d2692c99fb5058bef7da05ff392e17ac010ca252da7c685917ccfd80a9bf4e1e5fbb0fd980515bf03392ec26faaf27ede1d81f3251a8
7
+ data.tar.gz: 5934c716c89d6e9245770f8de8560fcd44ae68ea4e1aea549e7a4010b02a252f0e1b202a68a6503993dfc4c0136e68597a5341ccda07521880fd6644950d95a3
@@ -46,7 +46,7 @@ module AliasCallable
46
46
  end
47
47
 
48
48
  def call_forwards_all_arguments?
49
- return false if @callable.is_a?(Module) # not instantiable, so nowhere to forward
49
+ return false if @callable.instance_of?(Module) # not instantiable, so nowhere to forward
50
50
  return false unless @callable.instance_methods.include?(:call)
51
51
 
52
52
  full_argument_forwarding_pattern?(class_callable_parameters)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module AliasCallable
4
4
 
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
 
7
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alias_callable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Gorodulin
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-11 00:00:00.000000000 Z
10
+ date: 2025-04-13 00:00:00.000000000 Z
11
11
  dependencies: []
12
12
  description: Bring callable classes to your code as methods.
13
13
  email: