amq-client 0.7.0.alpha12 → 0.7.0.alpha13

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,33 +9,7 @@ module AMQ
9
9
  class EventMachineClient < EM::Connection
10
10
  # @private
11
11
  class Deferrable
12
-
13
- #
14
- # Behaviors
15
- #
16
-
17
12
  include EventMachine::Deferrable
18
-
19
- #
20
- # API
21
- #
22
-
23
- # Same as EventMachine::Deferrable#callback but instead of prepending callback to callbacks list,
24
- # appends it.
25
- #
26
- # @return [self]
27
- # @api public
28
- def append_callback(&block)
29
- return unless block
30
- @deferred_status ||= :unknown
31
- if @deferred_status == :succeeded
32
- block.call(*@deferred_args)
33
- elsif @deferred_status != :failed
34
- @callbacks ||= []
35
- @callbacks.push(block)
36
- end
37
- self
38
- end
39
13
  end
40
14
 
41
15
  #
@@ -1,5 +1,5 @@
1
1
  module AMQ
2
2
  module Client
3
- VERSION = "0.7.0.alpha12"
3
+ VERSION = "0.7.0.alpha13"
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.alpha12
4
+ version: 0.7.0.alpha13
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: &2165200260 !ruby/object:Gem::Requirement
20
+ requirement: &2165032900 !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: *2165200260
28
+ version_requirements: *2165032900
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: amq-protocol
31
- requirement: &2165199840 !ruby/object:Gem::Requirement
31
+ requirement: &2165032440 !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: *2165199840
39
+ version_requirements: *2165032440
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