amqp 1.1.2 → 1.1.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 16209082d7ebfbe70191543ceaa2f07c5322f2e3
4
- data.tar.gz: 8be93f106d39d73c9032fb5449dbb7615eb7c4f7
3
+ metadata.gz: 8dbeb4724a2b0f7b8edeb830c9bfccedfc46a4e5
4
+ data.tar.gz: 71affff157e0f499e1c2cc34a55d198d4fc84592
5
5
  SHA512:
6
- metadata.gz: 4c3db24681953359b777b64e23943455be828215f9561782d518e938f270f9c420256c4f7982c5ad5a0ef3f5cdfa9574a87f70089120013aed5330f6a1a5ede1
7
- data.tar.gz: 0b62752391a1eb1237d64000a0abf9d282497012b0c5cd9905cc1efeffc429e2b1d3f2ddc1f08ba1f93f15c42cd5248b8f11dd7fe494eabd7df0778a955c6b27
6
+ metadata.gz: d69618a365c2bb56a9cd58e252e8037a09962148bb15ec7278969d7367a727e4a917728af1ddc35490173f90666a365bbc39eaa3112ac05d60979f4ac65ca877
7
+ data.tar.gz: 9502c2910f75b2a1bfb966a5204de41b75a9cc3cdbbd7f25662dfe2e20da85b3248a1e27a49b54105b382a46a64b0fdae6b300c6422453e9abd9becfd6dfc2c6
@@ -6,9 +6,8 @@ env:
6
6
  - CI=true
7
7
  rvm:
8
8
  - 1.8.7
9
- - rbx-19mode
9
+ - rbx
10
10
  - jruby-19mode
11
- - jruby-head
12
11
  - 1.9.2
13
12
  - 1.9.3
14
13
  - 2.0.0
@@ -1,8 +1,15 @@
1
- ## Changes Between 1.1.1 and 1.1.2
1
+ ## Changes Between 1.1.2 and 1.1.3
2
2
 
3
3
  No changes yet.
4
4
 
5
5
 
6
+ ## Changes Between 1.1.1 and 1.1.2
7
+
8
+ ### amq-protocol Update
9
+
10
+ Minimum `amq-protocol` version is now `1.9.0`.
11
+
12
+
6
13
  ## Changes Between 1.1.0 and 1.1.1
7
14
 
8
15
  ### Fixed Exception in AMQP::Exchange#handle_declare_ok
@@ -745,7 +745,6 @@ module AMQP
745
745
 
746
746
 
747
747
  def handle_declare_ok(method)
748
- @name = method.exchange
749
748
  @channel.register_exchange(self)
750
749
 
751
750
  self.exec_callback_once_yielding_self(:declare, method)
@@ -6,5 +6,5 @@ module AMQP
6
6
  #
7
7
  # @see AMQ::Protocol::VERSION
8
8
  # @return [String] AMQP gem version
9
- VERSION = '1.1.2'
9
+ VERSION = '1.1.3'
10
10
  end
@@ -10,6 +10,7 @@ describe AMQP::Channel do
10
10
 
11
11
  include EventedSpec::AMQPSpec
12
12
 
13
+ default_options AMQP_OPTS
13
14
  default_timeout 2
14
15
 
15
16
 
@@ -241,6 +242,20 @@ describe AMQP::Channel do
241
242
  end
242
243
  end # context
243
244
 
245
+ context "when exchange name is specified and :nowait is false" do
246
+ let(:name) { "new.fanout.exchange#{rand}" }
247
+
248
+ it "declares a new fanout exchange with that name" do
249
+ exchange = @channel.fanout(name, :nowait => false)
250
+
251
+ exchange.delete
252
+
253
+ done(0.5) {
254
+ exchange.name.should == name
255
+ }
256
+ end
257
+ end # context
258
+
244
259
  context "when exchange name is omitted" do
245
260
  it "uses amq.fanout" do
246
261
  exchange = @channel.fanout
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amqp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aman Gupta
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-11-21 00:00:00.000000000 Z
13
+ date: 2013-11-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: eventmachine
@@ -322,7 +322,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
322
322
  version: '0'
323
323
  requirements: []
324
324
  rubyforge_project: amqp
325
- rubygems_version: 2.1.6
325
+ rubygems_version: 2.1.9
326
326
  signing_key:
327
327
  specification_version: 4
328
328
  summary: Widely used, feature-rich asynchronous RabbitMQ client with batteries included