bunny 1.1.8 → 1.1.9

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: b5470f52754b5f2c08668870f6694233967b6840
4
- data.tar.gz: 5aca1ad44f43e08cadc2ca79d4f123e553a2fdc9
3
+ metadata.gz: 599abad9bdef5adbd29c5c54876d168c8a26ed54
4
+ data.tar.gz: 6eb7cb3ac38f41b63e413b9c48ad0f61f9329d8a
5
5
  SHA512:
6
- metadata.gz: 53a9ed275c8a59a5e573ea5fa240a5ff68f48f58fbb65f093159c1dd10e85bda74831b25873fa72fcb40d056bbbce5571723b93ac2ce132bf277e56f9db2d468
7
- data.tar.gz: 9fe3172cae2c0de6f88d8369075096345f10a363000e1a56d65479f52c8b40956172e93e0593f4dd08a5127b771ce04909203bcdf5f71db195ddc7a03bbc7ebe
6
+ metadata.gz: b660ece369b534e871a94e3e38373e1e3c203e29779086f6d7164d373b0540561382e9024823718f4be9e777ea117d0ade3cfa05885df3b0bdd09452cba82f1b
7
+ data.tar.gz: 20f8107b871686b62e16495344605c85b4864d1d4cfbe131bb3ec16df0ac2af48d32dba0ec420b675ca7b0200274e8798b0f1d0500341131f0ea84fc4afdd504
@@ -1,8 +1,22 @@
1
+ ## Changes between Bunny 1.1.8 and 1.1.9
2
+
3
+ ### :key Supported in Bunny::Channel#queue_bind
4
+
5
+ It is now possible to use `:key` (which Bunny versions prior to 0.9 used)
6
+ as well as `:routing_key` as an argument to `Bunny::Queue#bind`.
7
+
8
+ ### System Exceptions Not Rescued by the Library
9
+
10
+ Bunny now rescues `StandardError` instead of `Exception` where
11
+ it automatically does so (e.g. when dispatching deliveries to consumers).
12
+
13
+ Contributed by Alex Young.
14
+
1
15
  ## Changes between Bunny 1.1.7 and 1.1.8
2
16
 
3
- ### Initial Socket Connection Again Raises Bunny::TCPConnectionFailed
17
+ ### Initial Socket Connection Timeout Again Raises Bunny::TCPConnectionFailed
4
18
 
5
- Initial socket connection again raises `Bunny::TCPConnectionFailed`
19
+ Initial socket connection timeout again raises `Bunny::TCPConnectionFailed`
6
20
  on the connection origin thread.
7
21
 
8
22
  ## Changes between Bunny 1.1.6 and 1.1.7
@@ -1043,7 +1043,7 @@ module Bunny
1043
1043
  @connection.send_frame(AMQ::Protocol::Queue::Bind.encode(@id,
1044
1044
  name,
1045
1045
  exchange_name,
1046
- opts[:routing_key],
1046
+ (opts[:routing_key] || opts[:key]),
1047
1047
  false,
1048
1048
  opts[:arguments]))
1049
1049
  Bunny::Timeout.timeout(read_write_timeout, ClientTimeout) do
@@ -82,7 +82,7 @@ module Bunny
82
82
 
83
83
  begin
84
84
  callable.call
85
- rescue ::Exception => e
85
+ rescue ::StandardError => e
86
86
  # TODO: use connection logger
87
87
  $stderr.puts e.class.name
88
88
  $stderr.puts e.message
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Bunny
4
4
  # @return [String] Version of the library
5
- VERSION = "1.1.8"
5
+ VERSION = "1.1.9"
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: 1.1.8
4
+ version: 1.1.9
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: 2014-03-27 00:00:00.000000000 Z
15
+ date: 2014-04-09 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: amq-protocol