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 +4 -4
- data/ChangeLog.md +7 -0
- data/lib/amqp/consumer.rb +4 -2
- data/lib/amqp/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 267b1716e07b10b22f92f052effe272fbda8dbd2
|
4
|
+
data.tar.gz: 069d7cdfe0c89fd217126830e143784c4af6fca1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e02724c06f83fb0c0aa838dfbf9fa2467d73aad5e0a7d0730eda1b75613cac46d5ec5d2577d3d5ba9bb0aecd6b727b121180739f543a673041d5f8142c02660
|
7
|
+
data.tar.gz: 1c23fbdf81a72a4ec3ca11b79093087869891538fe78da8ed995eab2dd83693e92f8adb9d2aa62bed8e356f67b0bae7a041771cb2216e3a543cb44abcf35cd91
|
data/ChangeLog.md
CHANGED
data/lib/amqp/consumer.rb
CHANGED
@@ -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
|
-
|
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
|
data/lib/amqp/version.rb
CHANGED
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.
|
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-
|
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:
|