lead_zeppelin 0.1.9 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -66,10 +66,10 @@ module LeadZeppelin
66
66
 
67
67
  reconnect
68
68
 
69
- if @opts[:error_block].nil? || !@opts[:notification_error_block].respond_to?(:call)
69
+ if !@opts[:notification_error_block].respond_to?(:call)
70
70
  Logger.warn "You have not implemented an on_notification_error block. This could lead to your account being banned from APNS. See the APNS docs"
71
71
  else
72
- @opts[:error_block].call(error)
72
+ @opts[:notification_error_block].call(error)
73
73
  end
74
74
 
75
75
  rescue EOFError
@@ -1,3 +1,3 @@
1
1
  module LeadZeppelin
2
- VERSION = '0.1.9'
2
+ VERSION = '0.1.10'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lead_zeppelin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-12 00:00:00.000000000 Z
12
+ date: 2012-06-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_json