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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 17206df024d4ae5e496f50460c64a0981a89c1c3b81e0d4993f36e1ff1e2e825
4
- data.tar.gz: 52d71560e53b0d9e4f2732ab09c19fe9dddbf5075c91158e7b4f2181cbf41207
3
+ metadata.gz: dc7843737d6d443a6276b7013ebb24eded11117b65de32f17e44f1e7690d6d2a
4
+ data.tar.gz: 78fead655d7f22f6c80c958c9677a1445285e41e71d8315d0d97057faa5dcd3b
5
5
  SHA512:
6
- metadata.gz: 3f2339a1e9dce56d03b9d5d075e8fa0bf78ad9ffe3faf9d2a00c648395fb83170fb04fa6ec233aaa047a39364aa9ca740f1a1463369217b0b41e9766f6b8ed02
7
- data.tar.gz: 799af2919b7845419acbb0d4d330633edf71eed01706f12ab56cb374fe68cc22912450a976f0ae83605704dcebff70ca9b9f473690cc1e947f181e26879d3c05
6
+ metadata.gz: 0d610830cf9daa8fca5fa22bdf6c6a71b982664d99642e67cc8332c912d39f813becb874e958d596d8f00a6622d7934aa10363c5e560a4cb187d6261815636aa
7
+ data.tar.gz: 22d739b5e59e9f6f0991f34dae36c88f3a214975c72ea5a6380b25b98b746cc5006c77053b950a5d3ac4a2c69a8a54cd8ea96e9b595e1f2cdeb2c545b7dfeb67
@@ -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
- public_send(method.to_s[Tapenade.prefix.length..-1], *args, **kwargs, &block)
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
 
@@ -1,3 +1,3 @@
1
1
  module Tapenade
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
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.2.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-18 00:00:00.000000000 Z
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.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