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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8deda36c16dcb9ad3c41e424a1287ff60eb8a697
4
- data.tar.gz: c97fb5afd36ac51258a296e92db15fe892f3ef95
3
+ metadata.gz: e6313b98755eed42f965ef5c2401dbec4a9e3084
4
+ data.tar.gz: 277b3578a7e9540b94ba51803400dc5649be0e1c
5
5
  SHA512:
6
- metadata.gz: 74e50f9fc9ec6318efba324e28cb91b516328afc705919fba338ccc53caf8bf87e9654ccf9e9fb9cbb8e13cc483412956646edced509ede5729ef465bb33dd54
7
- data.tar.gz: 744fa284a241194ae723b5540088dfbdda41e385dd38fb23447141e1c6aee312e7a9b10aec47ff548234b9636264b242f0cf0bf495c35a01ce74eacfd7db0102
6
+ metadata.gz: bf1eb970063aea4e406f2b53b78677c6b0c370f5e157a89a4f38577e41b23adbc3759fe1b96500ef922fbcf2d463a80c3e7f1ab0cb0a20128cdb8ae450f8715b
7
+ data.tar.gz: 7b95bc02aff3e7ab70ccf053df61cc8386786b6695e25d9f8e23eeb00724f34ffc67e07b601cf5d9cbc37313d9448956ff767466fc2645f46d1f771c897123f7
@@ -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
- 8 => 'Invalid token',
25
+ INVALID_TOKEN_CODE => 'Invalid token',
25
26
  10 => 'Shutdown',
26
27
  255 => 'Unknown error'
27
28
  }
@@ -1,3 +1,3 @@
1
1
  module ApnsSimple
2
- VERSION = '3.0.0'
2
+ VERSION = '3.1.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: 3.0.0
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-01 00:00:00.000000000 Z
11
+ date: 2015-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler