bunny 2.5.0 → 2.5.1
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.
- checksums.yaml +4 -4
- data/ChangeLog.md +45 -1
- data/lib/bunny/consumer_work_pool.rb +2 -2
- data/lib/bunny/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d4e4f01cf78b6c66e7f006768d58fd6a84e743e
|
4
|
+
data.tar.gz: 8bcd0912b2c1b010aacd3a2ba8484faadc6f4e76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c062301c5be89c101e9a03d98fd571870859e467f94c21cf54924b1c2555cb6a49824a1bacbf79ba23275b4ef960f3a0059f3c26466230484286be54e316402
|
7
|
+
data.tar.gz: b1b6fb96de9547bfdedbb02efb4c4b18c55642a26cc16f8a4c1b96599d45ee0f567ce828a4c835701033c3cb18c2c6ccf8c5da6052c7aff2690df52c8eb3c024
|
data/ChangeLog.md
CHANGED
@@ -1,8 +1,52 @@
|
|
1
|
-
## Changes between Bunny 2.
|
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
|
data/lib/bunny/version.rb
CHANGED
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.
|
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-
|
15
|
+
date: 2016-08-15 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: amq-protocol
|