apns_simple 3.0.0 → 3.1.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 +2 -1
- data/lib/apns_simple/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: e6313b98755eed42f965ef5c2401dbec4a9e3084
|
4
|
+
data.tar.gz: 277b3578a7e9540b94ba51803400dc5649be0e1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf1eb970063aea4e406f2b53b78677c6b0c370f5e157a89a4f38577e41b23adbc3759fe1b96500ef922fbcf2d463a80c3e7f1ab0cb0a20128cdb8ae450f8715b
|
7
|
+
data.tar.gz: 7b95bc02aff3e7ab70ccf053df61cc8386786b6695e25d9f8e23eeb00724f34ffc67e07b601cf5d9cbc37313d9448956ff767466fc2645f46d1f771c897123f7
|
data/lib/apns_simple/client.rb
CHANGED
@@ -12,6 +12,7 @@ module ApnsSimple
|
|
12
12
|
DEFAULT_GATEWAY_URI = 'apn://gateway.push.apple.com:2195'
|
13
13
|
ERROR_BYTES_COUNT = 6
|
14
14
|
COMMAND = 8
|
15
|
+
INVALID_TOKEN_CODE = 8
|
15
16
|
CODES = {
|
16
17
|
0 => 'No errors encountered',
|
17
18
|
1 => 'Processing error',
|
@@ -21,7 +22,7 @@ module ApnsSimple
|
|
21
22
|
5 => 'Invalid token size',
|
22
23
|
6 => 'Invalid topic size',
|
23
24
|
7 => 'Invalid payload size',
|
24
|
-
|
25
|
+
INVALID_TOKEN_CODE => 'Invalid token',
|
25
26
|
10 => 'Shutdown',
|
26
27
|
255 => 'Unknown error'
|
27
28
|
}
|
data/lib/apns_simple/version.rb
CHANGED
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: 3.
|
4
|
+
version: 3.1.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-12-
|
11
|
+
date: 2015-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|