apns_simple 0.3.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 31c4793763c62619a6172cc71753e817ff5587e7
4
- data.tar.gz: 1446300098aa1b5b67d15fea827148d08f804414
3
+ metadata.gz: cfa78f03206acea7fa50b2777c05e9a676a8478d
4
+ data.tar.gz: 848148b12dc251de15888bbd8d985929fd70416e
5
5
  SHA512:
6
- metadata.gz: baaf00721c5974490be29f178ba92d176a805aced9d6cdedeb961e7b25aac528406da160921ba83104824d45f755e669456e9ebe43314df2385cae48b6013695
7
- data.tar.gz: 7257e1a31137e00f7b9ec7ceb407322404a24aa7a341d201dee25124f9ed5faced36b7bdf14a497d34f30d6ff45ce8fdb270258d876915b8d342cdca6036bd0b
6
+ metadata.gz: d5f85b69bfedd003e3f35e1c628504c8ad99c148111788de70ff9c2b2f95847cb7f0fad6d4d88e8d850cb6c62c0fb38dadf2f87bb1a28fe46091712a0ba9dd8a
7
+ data.tar.gz: fc72e249bc8f5d842955a91c53545161edd40637b47dbeda1c6c75268ea0ea1723287c449a5dff0720b74866c05edac1632f5cf2034ac081ab95713e389aa9c9
data/README.md CHANGED
@@ -20,19 +20,9 @@ Or install it yourself as:
20
20
 
21
21
  $ gem install apns_simple
22
22
 
23
- ## Usage
24
-
25
- TODO: Write usage instructions here
26
-
27
- ## Development
28
-
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
30
-
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
-
33
23
  ## Contributing
34
24
 
35
- 1. Fork it ( https://github.com/[my-github-username]/apns_simple/fork )
25
+ 1. Fork it ( https://github.com/Antiarchitect/apns_simple/fork )
36
26
  2. Create your feature branch (`git checkout -b my-new-feature`)
37
27
  3. Commit your changes (`git commit -am 'Add some feature'`)
38
28
  4. Push to the branch (`git push origin my-new-feature`)
@@ -31,6 +31,7 @@ module ApnsSimple
31
31
  def push(notification)
32
32
  begin
33
33
  ctx = OpenSSL::SSL::SSLContext.new
34
+ ctx.ssl_version = :TLSv1_2
34
35
  ctx.key = OpenSSL::PKey::RSA.new(certificate, passphrase)
35
36
  ctx.cert = OpenSSL::X509::Certificate.new(certificate)
36
37
 
@@ -1,3 +1,3 @@
1
1
  module ApnsSimple
2
- VERSION = "0.3.1"
2
+ VERSION = '0.4.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apns_simple
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Voronkov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-10-27 00:00:00.000000000 Z
11
+ date: 2015-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler