apnd 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/apnd/daemon.rb +2 -0
- data/lib/apnd/version.rb +1 -1
- metadata +3 -3
data/lib/apnd/daemon.rb
CHANGED
@@ -54,6 +54,7 @@ module APND
|
|
54
54
|
count = @queue.size
|
55
55
|
if count > 0
|
56
56
|
ohai "Queue has #{count} item#{count == 1 ? '' : 's'}"
|
57
|
+
@apple.connect!
|
57
58
|
count.times do
|
58
59
|
@queue.pop do |notification|
|
59
60
|
begin
|
@@ -68,6 +69,7 @@ module APND
|
|
68
69
|
end
|
69
70
|
end
|
70
71
|
end
|
72
|
+
@apple.disconnect!
|
71
73
|
end
|
72
74
|
end
|
73
75
|
|
data/lib/apnd/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 3
|
9
|
+
version: 0.1.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Joshua Priddle
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-12-08 00:00:00 -05:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|