bunny 2.5.0 → 2.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6f628f0ace95911e5d5ce48817389f79a3a68415
4
- data.tar.gz: a4f867d1fbe68457f311a0b3691a644c882cc1e4
3
+ metadata.gz: 8d4e4f01cf78b6c66e7f006768d58fd6a84e743e
4
+ data.tar.gz: 8bcd0912b2c1b010aacd3a2ba8484faadc6f4e76
5
5
  SHA512:
6
- metadata.gz: 792e2d8e367bca866fa48af83d640b75feb401da8a10711852df09d436ca614cdf0a7c52a72fe2a890cb627991639b771cd0ed6fa3b912bc235206c00da219ec
7
- data.tar.gz: 8a3fa96ab3e6103513f1df439c37f8d4ce6688c9dba2c40e7fadbec265bf1cf5e2abd438b16f7e954ff6c1479130ecc0253023c8e6d50248a199ce2a13ab8098
6
+ metadata.gz: 6c062301c5be89c101e9a03d98fd571870859e467f94c21cf54924b1c2555cb6a49824a1bacbf79ba23275b4ef960f3a0059f3c26466230484286be54e316402
7
+ data.tar.gz: b1b6fb96de9547bfdedbb02efb4c4b18c55642a26cc16f8a4c1b96599d45ee0f567ce828a4c835701033c3cb18c2c6ccf8c5da6052c7aff2690df52c8eb3c024
@@ -1,8 +1,52 @@
1
- ## Changes between Bunny 2.4.0 and 2.5.0 (unreleased)
1
+ ## Changes between Bunny 2.5.1 and 2.5.2 (unreleased)
2
2
 
3
3
  No changes yet.
4
4
 
5
5
 
6
+ ## Changes between Bunny 2.5.0 and 2.5.1 (August 15th, 2016)
7
+
8
+ ### More Defensive Consumer Work Pool
9
+
10
+ `Bunny::ConsumerWorkPool#join` and `Bunny::ConsumerWorkPool#pause`
11
+ no longer fails with a `NoMethodError` on nil when executed
12
+ on a work pool that doesn't have active threads (consumers).
13
+
14
+ This change is largely cosmetic and won't affect the majority
15
+ of of projects in any way.
16
+
17
+
18
+ ## Changes between Bunny 2.4.0 and 2.5.0 (July 20th, 2016)
19
+
20
+ ### Exchange Bindings are Now Correctly Recovered
21
+
22
+ GitHub issue: [#410](https://github.com/ruby-amqp/bunny/issues/410)
23
+
24
+ Contributed by Andrew Bruce.
25
+
26
+
27
+ ### `Bunny::Channel#wait_for_confirms` Awaits While There're Outstanding Unconfirmed Messages
28
+
29
+ GitHub issue: [#424](https://github.com/ruby-amqp/bunny/issues/424)
30
+
31
+ Contributed by Dimitar Dimitrov.
32
+
33
+
34
+ ### Queue Recovery Respects the `:no_declare` Option
35
+
36
+ Queue recovery now respects the `:no_declare` option.
37
+
38
+
39
+ ### `Bunny::Channel#wait_for_confirms` Throws Early
40
+
41
+ `Bunny::Channel#wait_for_confirms` now throws an exception
42
+ early when invoked on a closed channel.
43
+
44
+ GitHub issue: [#428](https://github.com/ruby-amqp/bunny/pull/428).
45
+
46
+ Contributed by Dimitar Dimitrov.
47
+
48
+
49
+
6
50
  ## Changes between Bunny 2.3.0 and 2.4.0 (June 11th, 2016)
7
51
 
8
52
  ### Unconfirmed Delivery Tag Set Reset on Network Recovery
@@ -64,7 +64,7 @@ module Bunny
64
64
  end
65
65
 
66
66
  def join(timeout = nil)
67
- @threads.each { |t| t.join(timeout) }
67
+ (@threads || []).each { |t| t.join(timeout) }
68
68
  end
69
69
 
70
70
  def pause
@@ -82,7 +82,7 @@ module Bunny
82
82
  def kill
83
83
  @running = false
84
84
 
85
- @threads.each { |t| t.kill }
85
+ (@threads || []).each { |t| t.kill }
86
86
  end
87
87
 
88
88
  protected
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Bunny
4
4
  # @return [String] Version of the library
5
- VERSION = "2.5.0"
5
+ VERSION = "2.5.1"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bunny
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Duncan
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2016-07-20 00:00:00.000000000 Z
15
+ date: 2016-08-15 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: amq-protocol