amqp 1.4.1 → 1.4.2

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: 505c99ff4d142a7284d3b96a17efa6d284d1dcf0
4
- data.tar.gz: c9c53b83f8a3aaac97723fdcb259da861843712a
3
+ metadata.gz: 267b1716e07b10b22f92f052effe272fbda8dbd2
4
+ data.tar.gz: 069d7cdfe0c89fd217126830e143784c4af6fca1
5
5
  SHA512:
6
- metadata.gz: c739321a577b28bebaac53a7ae8f62926247113195b3af9be44f44df2a97e5f43e3ec9ef55faa398726d18664d918fbef73c214d75799b93e91f686eb1b77943
7
- data.tar.gz: af3a458405c5961af2d974e46148d0ef86e7d396b467bc0a74de6fbd19fbc684cf4e75853888a5d0c1c3af50ae0b7a8b479c53a73867b0dbe25789e34d5e284c
6
+ metadata.gz: 3e02724c06f83fb0c0aa838dfbf9fa2467d73aad5e0a7d0730eda1b75613cac46d5ec5d2577d3d5ba9bb0aecd6b727b121180739f543a673041d5f8142c02660
7
+ data.tar.gz: 1c23fbdf81a72a4ec3ca11b79093087869891538fe78da8ed995eab2dd83693e92f8adb9d2aa62bed8e356f67b0bae7a041771cb2216e3a543cb44abcf35cd91
@@ -1,3 +1,10 @@
1
+ ## Changes Between 1.4.1 and 1.4.2
2
+
3
+ ### Only Await basic.consume-ok If nowait is false
4
+
5
+ Contributed by Rian McGuire.
6
+
7
+
1
8
  ## Changes Between 1.4.0 and 1.4.1
2
9
 
3
10
  ### Server-Named Queue Recovery Fix
@@ -77,9 +77,11 @@ module AMQP
77
77
  @channel.once_open do
78
78
  @queue.once_declared do
79
79
  @connection.send_frame(AMQ::Protocol::Basic::Consume.encode(@channel.id, @queue.name, @consumer_tag, @no_local, @no_ack, @exclusive, nowait, @arguments))
80
- self.redefine_callback(:consume, &block)
81
80
 
82
- @channel.consumers_awaiting_consume_ok.push(self)
81
+ if !nowait
82
+ self.redefine_callback(:consume, &block)
83
+ @channel.consumers_awaiting_consume_ok.push(self)
84
+ end
83
85
 
84
86
  self
85
87
  end
@@ -6,5 +6,5 @@ module AMQP
6
6
  #
7
7
  # @see AMQ::Protocol::VERSION
8
8
  # @return [String] AMQP gem version
9
- VERSION = '1.4.1'
9
+ VERSION = '1.4.2'
10
10
  end
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.4.1
4
+ version: 1.4.2
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: 2014-07-09 00:00:00.000000000 Z
13
+ date: 2014-08-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: eventmachine
@@ -329,4 +329,3 @@ signing_key:
329
329
  specification_version: 4
330
330
  summary: Widely used, feature-rich asynchronous RabbitMQ client with batteries included
331
331
  test_files: []
332
- has_rdoc: