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 +4 -4
- data/lib/apns_simple/client.rb +1 -2
- data/lib/apns_simple/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb195eb140e6855b25d09edcccd88286657471ee
|
4
|
+
data.tar.gz: 505a896558089c3669069f113d63ae7980f54722
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4890e92148e9ebdd47f24bb72f4863668026c58e0b7172d24584d22a75704a621641220cd98fdb4fabef539944e733d440437e79b367b3ba8cbfff23b59955f8
|
7
|
+
data.tar.gz: 6c330fa2365275cf48de0a7e720a30a7eef5646badeddab9c19a83eaba5af28a8d91b45e71e918a292638b27c6291d4d39c0b32df0678fba54f7fb4bb07b68aa
|
data/lib/apns_simple/client.rb
CHANGED
@@ -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
|
|
data/lib/apns_simple/version.rb
CHANGED