tapenade 0.2.0 → 0.3.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 -1
- 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: dc7843737d6d443a6276b7013ebb24eded11117b65de32f17e44f1e7690d6d2a
|
4
|
+
data.tar.gz: 78fead655d7f22f6c80c958c9677a1445285e41e71d8315d0d97057faa5dcd3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d610830cf9daa8fca5fa22bdf6c6a71b982664d99642e67cc8332c912d39f813becb874e958d596d8f00a6622d7934aa10363c5e560a4cb187d6261815636aa
|
7
|
+
data.tar.gz: 22d739b5e59e9f6f0991f34dae36c88f3a214975c72ea5a6380b25b98b746cc5006c77053b950a5d3ac4a2c69a8a54cd8ea96e9b595e1f2cdeb2c545b7dfeb67
|
data/lib/tapenade/module.rb
CHANGED
@@ -11,7 +11,8 @@ module Tapenade
|
|
11
11
|
|
12
12
|
def method_missing(method, *args, **kwargs, &block)
|
13
13
|
return super unless respond_to_tapenade?(method)
|
14
|
-
|
14
|
+
# Ruby 2.6 + 2.7 friendly
|
15
|
+
eval "#{method.to_s[Tapenade.prefix.length..-1]}(*args, **kwargs, &block)"
|
15
16
|
self
|
16
17
|
end
|
17
18
|
|
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.3.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-12-
|
11
|
+
date: 2019-12-26 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.1.
|
45
|
+
rubygems_version: 3.1.2
|
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
|