amqp 0.7.4 → 0.7.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/amqp/client.rb +4 -1
  2. data/lib/amqp/version.rb +1 -1
  3. metadata +4 -4
@@ -106,7 +106,10 @@ module AMQP
106
106
  def unbind
107
107
  log 'disconnected'
108
108
  @connected = false
109
- EM.next_tick { @on_disconnect.call; @tcp_connection_established = false }
109
+ EM.next_tick {
110
+ @on_disconnect.call if @on_disconnect
111
+ @tcp_connection_established = false
112
+ }
110
113
  end
111
114
 
112
115
  def add_channel(mq)
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module AMQP
4
- VERSION = '0.7.4'
4
+ VERSION = '0.7.5'
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amqp
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 4
10
- version: 0.7.4
9
+ - 5
10
+ version: 0.7.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Aman Gupta
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-07-25 00:00:00 +04:00
20
+ date: 2011-08-31 00:00:00 +04:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency