resque-aps 0.9.12 → 0.9.13
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY.md +4 -0
- data/lib/resque_aps/feedback.rb +2 -2
- data/lib/resque_aps/version.rb +1 -1
- metadata +2 -2
data/HISTORY.md
CHANGED
data/lib/resque_aps/feedback.rb
CHANGED
@@ -29,7 +29,7 @@ module Resque
|
|
29
29
|
{:application_name => application_name, :device_token => device_token, :received_at => received_at}
|
30
30
|
end
|
31
31
|
|
32
|
-
def self.read_feedback(ssl_socket, application_name
|
32
|
+
def self.read_feedback(ssl_socket, application_name)
|
33
33
|
data_str = ssl_socket.read(4)
|
34
34
|
return nil unless data_str
|
35
35
|
data_ary = data_str.unpack('N')
|
@@ -69,7 +69,7 @@ module Resque
|
|
69
69
|
timeout(5) do
|
70
70
|
until socket.eof?
|
71
71
|
app.before_aps_read
|
72
|
-
feedback = read_feedback(socket, app_name
|
72
|
+
feedback = read_feedback(socket, app_name)
|
73
73
|
if feedback
|
74
74
|
count += 1
|
75
75
|
app.after_aps_read(feedback)
|
data/lib/resque_aps/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque-aps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ashley Martens
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-
|
12
|
+
date: 2010-09-01 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|