kw_apn 0.5.3 → 0.5.4
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.
- data/README.rdoc +3 -1
- data/VERSION +1 -1
- data/lib/core.rb +1 -1
- data/lib/sender.rb +1 -1
- metadata +42 -22
data/README.rdoc
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.4
|
data/lib/core.rb
CHANGED
@@ -57,7 +57,7 @@ module KwAPN
|
|
57
57
|
|
58
58
|
# Converts to binary string wich can be writen directly into socket
|
59
59
|
# @return [String] binary string representation
|
60
|
-
def
|
60
|
+
def to_apple_payload
|
61
61
|
[1, @identifier, @timestamp, 32, @token, @payload.length, @payload].pack("CNNnH*na*")
|
62
62
|
end
|
63
63
|
|
data/lib/sender.rb
CHANGED
metadata
CHANGED
@@ -1,26 +1,35 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: kw_apn
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 3
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 5
|
9
|
+
- 4
|
10
|
+
version: 0.5.4
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Jonathan Cichon
|
9
14
|
- Andreas Gerauer
|
10
15
|
- Kupferwerk GmbH
|
11
16
|
autorequire:
|
12
17
|
bindir: bin
|
13
18
|
cert_chain: []
|
14
|
-
|
19
|
+
|
20
|
+
date: 2012-05-16 00:00:00 +02:00
|
21
|
+
default_executable:
|
15
22
|
dependencies: []
|
16
|
-
|
17
|
-
|
23
|
+
|
24
|
+
description: Apple Push Notification Library by Kupferwerk. Supports extended format with feedback.
|
18
25
|
email: cichon@kupferwerk.com
|
19
26
|
executables: []
|
27
|
+
|
20
28
|
extensions: []
|
21
|
-
|
29
|
+
|
30
|
+
extra_rdoc_files:
|
22
31
|
- README.rdoc
|
23
|
-
files:
|
32
|
+
files:
|
24
33
|
- lib/config.rb
|
25
34
|
- lib/connection.rb
|
26
35
|
- lib/core.rb
|
@@ -36,28 +45,39 @@ files:
|
|
36
45
|
- Rakefile
|
37
46
|
- README.rdoc
|
38
47
|
- VERSION
|
48
|
+
has_rdoc: true
|
39
49
|
homepage: http://github.com/kupferwerk/kw_apn
|
40
50
|
licenses: []
|
51
|
+
|
41
52
|
post_install_message:
|
42
53
|
rdoc_options: []
|
43
|
-
|
54
|
+
|
55
|
+
require_paths:
|
44
56
|
- lib
|
45
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
57
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
46
58
|
none: false
|
47
|
-
requirements:
|
48
|
-
- -
|
49
|
-
- !ruby/object:Gem::Version
|
50
|
-
|
51
|
-
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
hash: 3
|
63
|
+
segments:
|
64
|
+
- 0
|
65
|
+
version: "0"
|
66
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
52
67
|
none: false
|
53
|
-
requirements:
|
54
|
-
- -
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
|
68
|
+
requirements:
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
hash: 3
|
72
|
+
segments:
|
73
|
+
- 0
|
74
|
+
version: "0"
|
57
75
|
requirements: []
|
76
|
+
|
58
77
|
rubyforge_project:
|
59
|
-
rubygems_version: 1.
|
78
|
+
rubygems_version: 1.3.7
|
60
79
|
signing_key:
|
61
80
|
specification_version: 3
|
62
81
|
summary: APN Lib by Kupferwerk
|
63
82
|
test_files: []
|
83
|
+
|