amq-client 0.7.0.alpha10 → 0.7.0.alpha11
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/amq/client/adapter.rb +1 -1
- data/lib/amq/client/queue.rb +6 -6
- data/lib/amq/client/version.rb +1 -1
- metadata +5 -5
data/lib/amq/client/adapter.rb
CHANGED
@@ -151,7 +151,7 @@ module AMQ
|
|
151
151
|
# Can be overriden by higher-level libraries like amqp gem or bunny.
|
152
152
|
# Defaults to AMQ::Client::TCPConnectionFailed.
|
153
153
|
#
|
154
|
-
# @return [
|
154
|
+
# @return [Class]
|
155
155
|
def tcp_connection_failure_exception_class
|
156
156
|
@tcp_connection_failure_exception_class ||= AMQ::Client::TCPConnectionFailed
|
157
157
|
end # tcp_connection_failure_exception_class
|
data/lib/amq/client/queue.rb
CHANGED
@@ -315,23 +315,23 @@ module AMQ
|
|
315
315
|
end
|
316
316
|
|
317
317
|
def handle_delete_ok(method)
|
318
|
-
self.
|
318
|
+
self.exec_callback_once(:delete, method)
|
319
319
|
end # handle_delete_ok(method)
|
320
320
|
|
321
321
|
def handle_consume_ok(method)
|
322
|
-
self.
|
322
|
+
self.exec_callback_once(:consume, method)
|
323
323
|
end # handle_consume_ok(method)
|
324
324
|
|
325
325
|
def handle_purge_ok(method)
|
326
|
-
self.
|
326
|
+
self.exec_callback_once(:purge, method)
|
327
327
|
end # handle_purge_ok(method)
|
328
328
|
|
329
329
|
def handle_bind_ok(method)
|
330
|
-
self.
|
330
|
+
self.exec_callback_once(:bind)
|
331
331
|
end # handle_bind_ok(method)
|
332
332
|
|
333
333
|
def handle_unbind_ok(method)
|
334
|
-
self.
|
334
|
+
self.exec_callback_once(:unbind)
|
335
335
|
end # handle_unbind_ok(method)
|
336
336
|
|
337
337
|
def handle_delivery(method, header, payload)
|
@@ -340,7 +340,7 @@ module AMQ
|
|
340
340
|
|
341
341
|
def handle_cancel_ok(method)
|
342
342
|
@consumer_tag = nil
|
343
|
-
self.
|
343
|
+
self.exec_callback_once(:cancel, method)
|
344
344
|
end # handle_cancel_ok(method)
|
345
345
|
|
346
346
|
def handle_get_ok(method, header, payload)
|
data/lib/amq/client/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amq-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.0.
|
4
|
+
version: 0.7.0.alpha11
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -17,7 +17,7 @@ default_executable:
|
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: eventmachine
|
20
|
-
requirement: &
|
20
|
+
requirement: &2152342960 !ruby/object:Gem::Requirement
|
21
21
|
none: false
|
22
22
|
requirements:
|
23
23
|
- - ! '>='
|
@@ -25,10 +25,10 @@ dependencies:
|
|
25
25
|
version: '0'
|
26
26
|
type: :runtime
|
27
27
|
prerelease: false
|
28
|
-
version_requirements: *
|
28
|
+
version_requirements: *2152342960
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: amq-protocol
|
31
|
-
requirement: &
|
31
|
+
requirement: &2152937180 !ruby/object:Gem::Requirement
|
32
32
|
none: false
|
33
33
|
requirements:
|
34
34
|
- - ! '>='
|
@@ -36,7 +36,7 @@ dependencies:
|
|
36
36
|
version: '0'
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
|
-
version_requirements: *
|
39
|
+
version_requirements: *2152937180
|
40
40
|
description: amq-client supports multiple networking adapters (EventMachine, TCP sockets,
|
41
41
|
cool.io) and supposed to back more opinionated AMQP clients (such as amqp gem, bunny,
|
42
42
|
et cetera) or be used directly in cases when access to more advanced AMQP 0.9.1
|