active_object 5.8.5 → 5.8.6

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: d32aae93b64f1afb0192f9c0ef6b37cc9ce507c65ed4f8bcf7fddc471259d7ca
4
- data.tar.gz: c7b08130c77ff1f6db7bf8ee30dfd0aed4077bd73168aea0e8c1a63a4cc289ff
3
+ metadata.gz: 19ebb3a20b688252d63058179a65548c7f12e67a5643ccd57a5f3a089c25be93
4
+ data.tar.gz: 5ef7bd9ffd67b42dd44baf6448dfa0a7609d683eb6d8e2dc39dac5b92c2933f0
5
5
  SHA512:
6
- metadata.gz: d1043ad6c682e71c5cd6a93fc0534957112b646d9946908253d35fec65454007800e68047604b65ee1ec0c0ba64349b5aa39bd2a16b9b5e1439a6c9c270a007c
7
- data.tar.gz: 47f590d4eaf88cdeece8ccc61417cf54402065f9d06e00b07176d5c3519506e03608725001385b35d0ae5427693521a7b098a67918b7e1640d6ba173039e1512
6
+ metadata.gz: 128db4be9ba92d4565730120112fb48ab092b5f1f2f9defe330c9257676cd16442fb76f7cd3f69dd64db4ac079dbcfb9d92b27baa6ff98e6a1f1526f6d04c905
7
+ data.tar.gz: a1a9cc7f6875888ac64b3d64455d1c0744a77b2ccedfbc90de8267442e3f367463a3affcd7c6aefdd2b2feb22590d9b2778b8a0ea4d1dc3d4785707ec45e16a6
data/README.md CHANGED
@@ -1568,6 +1568,7 @@ true.falsey? #=> false
1568
1568
  ```ruby
1569
1569
  3.safe_send(:fake) #=> 3
1570
1570
  3.safe_send(:to_s) #=> '3'
1571
+ 3.safe_send(:+, 2) #=> 5
1571
1572
  ```
1572
1573
 
1573
1574
  **Salvage:**
@@ -69,8 +69,8 @@ module ActiveObject
69
69
  is_a?(Range)
70
70
  end
71
71
 
72
- def safe_send(key)
73
- send(key) rescue self
72
+ def safe_send(*keys)
73
+ send(*keys) rescue self
74
74
  end
75
75
 
76
76
  def salvage(placeholder = '---')
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveObject
4
- VERSION ||= '5.8.5'
4
+ VERSION ||= '5.8.6'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_object
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.8.5
4
+ version: 5.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez