push_to_sns 0.3.2 → 0.3.3

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
  SHA1:
3
- metadata.gz: 65e95d36ada021b4307774fb4a178b28fb771b05
4
- data.tar.gz: a4c3518b5725c4aacf03f50291a14899c84e17f0
3
+ metadata.gz: 6bc2d75a5de46a5ae4087652c90eb3870ed15943
4
+ data.tar.gz: 0f902d5c2762b01446ecaf4ca935b773b876c7a6
5
5
  SHA512:
6
- metadata.gz: 0aa2d0b456c66b6cc2298778b9f6c96b7690154dd35f37672c36bb082e12bd223b2ac39289abb3db976e0f062a681cb8b9ec0dd3a33fc310ea8f35f4253748aa
7
- data.tar.gz: e22a2be010195d2095f7c683392d95e5439f947b137587a996319e76260bbda58e3e6560746f251c4c3e30a6e1b302da704df36c4b92ec82af97060bc2c66465
6
+ metadata.gz: a3cbf7dc3e11e6096d2e39ec2d4938fbe614f3064ef486024f509781943b7ef94299e2e51705bdcb40c8ddd0fbb4e1c7262559cefe4c73ae107caa0fafa5bbad
7
+ data.tar.gz: ad5993bb652467ad5ca2909b9cc9690c35fd2aa51a64f09e5407152df31b3fd2ebc4f6a692f126ed853a568fe6a08d631bcd198a46bc155ce9104adc9993ee1f
@@ -8,7 +8,11 @@ module PushToSNS
8
8
 
9
9
  def deliver
10
10
  devices.each do |device|
11
- SendPushNotification.new(device).perform(full_notification_for_device(device))
11
+ begin
12
+ SendPushNotification.new(device).perform(full_notification_for_device(device))
13
+ rescue AWS::SNS::Errors::Base => e
14
+ $stderr.puts "Device can't send push notifications: #{e.message}"
15
+ end
12
16
  end
13
17
  end
14
18
 
@@ -1,3 +1,3 @@
1
1
  module PushToSNS
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
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.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - juliogarciag