apns-s3 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 +5 -5
- data/apns-s3.gemspec +2 -0
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a427fea69c616bb7677275d79884df722557075e
|
4
|
+
data.tar.gz: 370bcc627284c6ac98987ae1bec2b5581882f14a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6de0452aa467b6dbd8fce917e1cefb43ce1b9ff90d159080011bb70d35080ece3ab07794722dc0e3f65b0942f55469ef496624cf48e75d112637946da6b2214
|
7
|
+
data.tar.gz: 82b640672fe6dd8288c3f95a631f4785bbfd5dc513cc4470ef7b79f8e555e50806319697a6c50a626b7e432b77a41cb38852a7fe4a0497d60e59f45d0cd1b10d
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# APNs with pemfile on AWS S3
|
2
2
|
|
3
3
|
Download PEM file from AWS S3 and set APNS module.
|
4
4
|
|
@@ -28,8 +28,8 @@ require 'apns-s3'
|
|
28
28
|
ApnsS3.set_pemfile(
|
29
29
|
aws_access_key_id: 'your-access-key-id',
|
30
30
|
aws_secret_access_key: 'your-secret-access-key',
|
31
|
-
bucketname: 'bucketname
|
32
|
-
filename: 'PEM
|
31
|
+
bucketname: 'bucketname-including-PEM-file',
|
32
|
+
filename: 'PEM-filename'
|
33
33
|
)
|
34
34
|
```
|
35
35
|
|
@@ -45,7 +45,7 @@ APNS.send_notification(
|
|
45
45
|
)
|
46
46
|
|
47
47
|
# If you want to delete PEM file
|
48
|
-
File.delete filename if File.exist? filename
|
48
|
+
File.delete 'PEM-filename' if File.exist? 'PEM-filename'
|
49
49
|
```
|
50
50
|
|
51
51
|
For `APNS` module's further information, refer
|
@@ -53,7 +53,7 @@ For `APNS` module's further information, refer
|
|
53
53
|
|
54
54
|
## Contributing
|
55
55
|
|
56
|
-
1. Fork it ( https://github.com/
|
56
|
+
1. Fork it ( https://github.com/kaosf/apns-s3/fork )
|
57
57
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
58
58
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
59
59
|
4. Push to the branch (`git push origin my-new-feature`)
|
data/apns-s3.gemspec
CHANGED
@@ -13,6 +13,8 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.homepage = "https://github.com/kaosf/apns-s3"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
|
+
spec.required_ruby_version = '>= 2.0.0'
|
17
|
+
|
16
18
|
spec.files = `git ls-files -z`.split("\x0")
|
17
19
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
20
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apns-s3
|
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
|
- ka
|
@@ -93,7 +93,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements:
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: 2.0.0
|
97
97
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
98
98
|
requirements:
|
99
99
|
- - ">="
|