amqp-spec 0.2.6 → 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. data/HISTORY +4 -0
  2. data/VERSION +1 -1
  3. data/lib/amqp-spec/amqp.rb +2 -2
  4. metadata +3 -3
data/HISTORY CHANGED
@@ -77,3 +77,7 @@
77
77
  == 0.2.6 / 2010-11-04
78
78
 
79
79
  * Fixed subtly failing specs
80
+
81
+ == 0.2.7 / 2010-11-04
82
+
83
+ * Make AMQP.cleanup_state more thorough
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.6
1
+ 0.2.7
@@ -24,8 +24,8 @@ module AMQP
24
24
  # Cleans up AMQP state after AMQP connection closes
25
25
  def self.cleanup_state
26
26
  # MQ.reset ?
27
- Thread.current[:mq] = nil
28
- Thread.current[:mq_id] = nil
27
+ Thread.list.each {|thread| thread[:mq] = nil }
28
+ Thread.list.each {|thread| thread[:mq_id] = nil }
29
29
  @conn = nil
30
30
  @closing = false
31
31
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amqp-spec
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 6
10
- version: 0.2.6
9
+ - 7
10
+ version: 0.2.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Arvicco