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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/apns-s3.gemspec +2 -0
  4. data/lib/version.rb +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d63ea91a22d6f69812d67be24332b3b881c73653
4
- data.tar.gz: 896a6cd43b253b874e6e564ff06567adf0bc1cd5
3
+ metadata.gz: a427fea69c616bb7677275d79884df722557075e
4
+ data.tar.gz: 370bcc627284c6ac98987ae1bec2b5581882f14a
5
5
  SHA512:
6
- metadata.gz: c67950d429f8afd8fe55603d25eda458da2b3716cfd18ff907dc977fbe27b08d7b6a9990f5729609d5b491ed3e7198c195425bc0728204862d7d05f0371fb3bc
7
- data.tar.gz: bab41cabc2a5b7d649ea782b57a3e03ac6a4daa09311c09e03c380652397f9ab0da1c223a21e3df8a2a764e73bbf1269757e80281320333425bfce9560e28cd0
6
+ metadata.gz: d6de0452aa467b6dbd8fce917e1cefb43ce1b9ff90d159080011bb70d35080ece3ab07794722dc0e3f65b0942f55469ef496624cf48e75d112637946da6b2214
7
+ data.tar.gz: 82b640672fe6dd8288c3f95a631f4785bbfd5dc513cc4470ef7b79f8e555e50806319697a6c50a626b7e432b77a41cb38852a7fe4a0497d60e59f45d0cd1b10d
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Apns::S3
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 including PEM file',
32
- filename: 'PEM filename'
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/[my-github-username]/apns-s3/fork )
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
@@ -1,3 +1,3 @@
1
1
  module ApnsS3
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
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: '0'
96
+ version: 2.0.0
97
97
  required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  requirements:
99
99
  - - ">="