apns_simple 0.4.0 → 0.5.0

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: cfa78f03206acea7fa50b2777c05e9a676a8478d
4
- data.tar.gz: 848148b12dc251de15888bbd8d985929fd70416e
3
+ metadata.gz: fb195eb140e6855b25d09edcccd88286657471ee
4
+ data.tar.gz: 505a896558089c3669069f113d63ae7980f54722
5
5
  SHA512:
6
- metadata.gz: d5f85b69bfedd003e3f35e1c628504c8ad99c148111788de70ff9c2b2f95847cb7f0fad6d4d88e8d850cb6c62c0fb38dadf2f87bb1a28fe46091712a0ba9dd8a
7
- data.tar.gz: fc72e249bc8f5d842955a91c53545161edd40637b47dbeda1c6c75268ea0ea1723287c449a5dff0720b74866c05edac1632f5cf2034ac081ab95713e389aa9c9
6
+ metadata.gz: 4890e92148e9ebdd47f24bb72f4863668026c58e0b7172d24584d22a75704a621641220cd98fdb4fabef539944e733d440437e79b367b3ba8cbfff23b59955f8
7
+ data.tar.gz: 6c330fa2365275cf48de0a7e720a30a7eef5646badeddab9c19a83eaba5af28a8d91b45e71e918a292638b27c6291d4d39c0b32df0678fba54f7fb4bb07b68aa
@@ -30,8 +30,7 @@ module ApnsSimple
30
30
 
31
31
  def push(notification)
32
32
  begin
33
- ctx = OpenSSL::SSL::SSLContext.new
34
- ctx.ssl_version = :TLSv1_2
33
+ ctx = OpenSSL::SSL::SSLContext.new(:TLSv1)
35
34
  ctx.key = OpenSSL::PKey::RSA.new(certificate, passphrase)
36
35
  ctx.cert = OpenSSL::X509::Certificate.new(certificate)
37
36
 
@@ -1,3 +1,3 @@
1
1
  module ApnsSimple
2
- VERSION = '0.4.0'
2
+ VERSION = '0.5.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apns_simple
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Voronkov