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 +4 -4
- data/README.md +3 -3
- data/lib/push_to_sns/send_push_notification.rb +2 -0
- data/lib/push_to_sns/version.rb +1 -1
- data/push_to_sns.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad9057539c78782ad4272ae2f7512b049ef936d9
|
4
|
+
data.tar.gz: ba38b3f2353d564a6742bb245722e66b02b272d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2adc4366f07897ff8785e2df0f5add0a0f566d2590a2c296ca28e66970f9f4ae5fb251ed926e876aa39513a4304afc8912bdc2d3307fdc12d366cc569b66763e
|
7
|
+
data.tar.gz: 64f605e044a03a23433e8da8b490090ef2b689c3101d212a00bf3224cb309d3e974d60a49ff93b9086fc46f38f57db346f4e8c55ae05d5c20770e6cbe7fe1b11
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
#
|
1
|
+
# PushToSNS
|
2
2
|
|
3
|
-
|
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
|
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?
|
data/lib/push_to_sns/version.rb
CHANGED
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/
|
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.
|
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-
|
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/
|
157
|
+
homepage: https://github.com/platanus/push_to_sns
|
158
158
|
licenses:
|
159
159
|
- MIT
|
160
160
|
metadata: {}
|