tapenade 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tapenade/module.rb +2 -2
- data/lib/tapenade/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17206df024d4ae5e496f50460c64a0981a89c1c3b81e0d4993f36e1ff1e2e825
|
4
|
+
data.tar.gz: 52d71560e53b0d9e4f2732ab09c19fe9dddbf5075c91158e7b4f2181cbf41207
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f2339a1e9dce56d03b9d5d075e8fa0bf78ad9ffe3faf9d2a00c648395fb83170fb04fa6ec233aaa047a39364aa9ca740f1a1463369217b0b41e9766f6b8ed02
|
7
|
+
data.tar.gz: 799af2919b7845419acbb0d4d330633edf71eed01706f12ab56cb374fe68cc22912450a976f0ae83605704dcebff70ca9b9f473690cc1e947f181e26879d3c05
|
data/lib/tapenade/module.rb
CHANGED
@@ -9,9 +9,9 @@ module Tapenade
|
|
9
9
|
respond_to_tapenade?(method) || super
|
10
10
|
end
|
11
11
|
|
12
|
-
def method_missing(method, *args, &block)
|
12
|
+
def method_missing(method, *args, **kwargs, &block)
|
13
13
|
return super unless respond_to_tapenade?(method)
|
14
|
-
public_send(method.to_s[Tapenade.prefix.length..-1], *args, &block)
|
14
|
+
public_send(method.to_s[Tapenade.prefix.length..-1], *args, **kwargs, &block)
|
15
15
|
self
|
16
16
|
end
|
17
17
|
|
data/lib/tapenade/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tapenade
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benoit MARTIN-CHAVE
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Want to call a method and return self instead of normal return ? Just
|
14
14
|
prefix it with tap_ !
|
@@ -42,7 +42,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: '0'
|
44
44
|
requirements: []
|
45
|
-
rubygems_version: 3.
|
45
|
+
rubygems_version: 3.1.1
|
46
46
|
signing_key:
|
47
47
|
specification_version: 4
|
48
48
|
summary: Want to call a method and return self instead of normal return ? Just prefix
|