push_to_sns 0.1.0 → 0.1.1

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: c663593e8fe0ca6b58a4420006c2bda59291d811
4
- data.tar.gz: a5496eea94b884869c8b2eb548a2c4981d9e5024
3
+ metadata.gz: ad9057539c78782ad4272ae2f7512b049ef936d9
4
+ data.tar.gz: ba38b3f2353d564a6742bb245722e66b02b272d4
5
5
  SHA512:
6
- metadata.gz: c9c75d2f9c2337ff69c32657025b1f6aa3d3958912f4f8d562d2f0e0c582aa60b009ef58960caefebc3b5c6216737a90190fa7a61017287a8d82b62775af4641
7
- data.tar.gz: 0af4ddc0e713807bbe1213bcfb7e2318c541d78182de83594f29c44ca0660c9a29b5bb91352ccb5bea463736bedce2daf622db12623730fc5f7774c075ae1e16
6
+ metadata.gz: 2adc4366f07897ff8785e2df0f5add0a0f566d2590a2c296ca28e66970f9f4ae5fb251ed926e876aa39513a4304afc8912bdc2d3307fdc12d366cc569b66763e
7
+ data.tar.gz: 64f605e044a03a23433e8da8b490090ef2b689c3101d212a00bf3224cb309d3e974d60a49ff93b9086fc46f38f57db346f4e8c55ae05d5c20770e6cbe7fe1b11
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # PushToSns
1
+ # PushToSNS
2
2
 
3
- PushToSns is an opinionated gem to allow pushing push notifications through SNS. It assumes you want to use a type and a message in your payload, that you already configured the AWS gem and that your message is encoded as json. If this is your case, this will make your life easier.
3
+ PushToSNS is an opinionated gem to allow pushing push notifications through SNS. It assumes you want to use a type and a message in your payload, that you already configured the AWS gem and that your message is encoded as json. If this is your case, this will make your life easier.
4
4
 
5
5
  ## Installation
6
6
 
@@ -109,7 +109,7 @@ class NewGoalPushNotifier < PushToSNS::PushNotifier
109
109
  end
110
110
  ```
111
111
 
112
- Now, we need to answer three questions:
112
+ Now, we need to answer two questions:
113
113
 
114
114
  - What devices do we need to notify of this goal?
115
115
  - What is the data we need to send?
@@ -16,6 +16,8 @@ module PushToSNS
16
16
  )
17
17
 
18
18
  response[:message_id]
19
+ rescue AWS::SNS::Errors::EndpointDisabled => _exception
20
+ perform(payload)
19
21
  end
20
22
 
21
23
  private
@@ -1,3 +1,3 @@
1
1
  module PushToSNS
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/push_to_sns.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = %q{Organized SNS Push Notifications for Ruby.}
13
13
  spec.description = %q{Organized SNS Push Notifications for Ruby.}
14
- spec.homepage = "https://github.com/platanus/push-to-sns"
14
+ spec.homepage = "https://github.com/platanus/push_to_sns"
15
15
  spec.license = "MIT"
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: push_to_sns
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - juliogarciag
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-11-09 00:00:00.000000000 Z
11
+ date: 2015-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -154,7 +154,7 @@ files:
154
154
  - lib/rails/generators/push_to_sns/templates/config/initializers/push_to_sns.rb
155
155
  - lib/rails/generators/push_to_sns/templates/notifier.rb
156
156
  - push_to_sns.gemspec
157
- homepage: https://github.com/platanus/push-to-sns
157
+ homepage: https://github.com/platanus/push_to_sns
158
158
  licenses:
159
159
  - MIT
160
160
  metadata: {}