push_to_sns 0.3.1 → 0.3.2

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
  SHA1:
3
- metadata.gz: efcb8de1f8c3a3f25f90cd8e168ebe43ad0add64
4
- data.tar.gz: 2fb5f39aa09b54d5bb180f4836945026ef0de9e8
3
+ metadata.gz: 65e95d36ada021b4307774fb4a178b28fb771b05
4
+ data.tar.gz: a4c3518b5725c4aacf03f50291a14899c84e17f0
5
5
  SHA512:
6
- metadata.gz: 08fa2a751b856ebf1676bf9fa0ae700c4158c640724fba2774ac582c2f729bebe030585fc61ad42d9d5120b71c0216ef04e120e416163297e073a2f896078dc9
7
- data.tar.gz: 9685ed7aaabcb50caec72bc9392fd5411e7a5609adaefc2f23e8e2c62f35fe0ed1b403529984403ca8658bd7be3cc3ea61b6a1e20a35b1216e06ee8631596d7e
6
+ metadata.gz: 0aa2d0b456c66b6cc2298778b9f6c96b7690154dd35f37672c36bb082e12bd223b2ac39289abb3db976e0f062a681cb8b9ec0dd3a33fc310ea8f35f4253748aa
7
+ data.tar.gz: e22a2be010195d2095f7c683392d95e5439f947b137587a996319e76260bbda58e3e6560746f251c4c3e30a6e1b302da704df36c4b92ec82af97060bc2c66465
@@ -52,7 +52,7 @@ module PushToSNS
52
52
 
53
53
  def call_or_read(proc_or_object, *arguments)
54
54
  if proc_or_object.respond_to?(:call)
55
- proc_or_object.call(*arguments)
55
+ instance_exec(*arguments, &proc_or_object)
56
56
  else
57
57
  proc_or_object
58
58
  end
@@ -1,3 +1,3 @@
1
1
  module PushToSNS
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: push_to_sns
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - juliogarciag