./lib/houston/client.rb in houston-2.2.4 vs ./lib/houston/client.rb in houston-2.3.0
- old
+ new
@@ -48,13 +48,13 @@
notification.id = index
connection.write(notification.message)
notification.mark_as_sent!
- read_socket, write_socket = IO.select([ssl], [ssl], [ssl], nil)
+ read_socket, _write_socket = IO.select([ssl], [ssl], [ssl], nil)
if (read_socket && read_socket[0])
if error = connection.read(6)
- command, status, index = error.unpack('ccN')
+ _command, status, index = error.unpack('ccN')
notification.apns_error_code = status
notification.mark_as_unsent!
end
end
end