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.
@@ -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 [Exception]
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
@@ -315,23 +315,23 @@ module AMQ
315
315
  end
316
316
 
317
317
  def handle_delete_ok(method)
318
- self.exec_callback(:delete, method)
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.exec_callback(:consume, method)
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.exec_callback(:purge, method)
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.exec_callback(:bind)
330
+ self.exec_callback_once(:bind)
331
331
  end # handle_bind_ok(method)
332
332
 
333
333
  def handle_unbind_ok(method)
334
- self.exec_callback(:unbind)
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.exec_callback(:cancel, method)
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)
@@ -1,5 +1,5 @@
1
1
  module AMQ
2
2
  module Client
3
- VERSION = "0.7.0.alpha10"
3
+ VERSION = "0.7.0.alpha11"
4
4
  end
5
5
  end
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.alpha10
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: &2152494160 !ruby/object:Gem::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: *2152494160
28
+ version_requirements: *2152342960
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: amq-protocol
31
- requirement: &2152717940 !ruby/object:Gem::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: *2152717940
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