amq-client 0.9.11 → 0.9.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/amq-client.gemspec
CHANGED
@@ -369,6 +369,8 @@ module AMQ
|
|
369
369
|
# @private
|
370
370
|
# @api plugin
|
371
371
|
def handle_connection_interruption
|
372
|
+
self.cancel_heartbeat_sender
|
373
|
+
|
372
374
|
@channels.each { |n, c| c.handle_connection_interruption }
|
373
375
|
self.exec_callback_yielding_self(:after_connection_interruption)
|
374
376
|
end # handle_connection_interruption
|
@@ -353,7 +353,7 @@ module AMQ
|
|
353
353
|
def handle_skipped_hearbeats
|
354
354
|
if !@handling_skipped_hearbeats && @tcp_connection_established && !@intentionally_closing_connection
|
355
355
|
@handling_skipped_hearbeats = true
|
356
|
-
|
356
|
+
self.cancel_heartbeat_sender
|
357
357
|
|
358
358
|
self.run_skipped_heartbeats_callbacks
|
359
359
|
end
|
@@ -365,6 +365,11 @@ module AMQ
|
|
365
365
|
@heartbeats_timer = EventMachine::PeriodicTimer.new(self.heartbeat_interval, &method(:send_heartbeat))
|
366
366
|
end
|
367
367
|
|
368
|
+
# @private
|
369
|
+
def cancel_heartbeat_sender
|
370
|
+
@heartbeats_timer.cancel if @heartbeats_timer
|
371
|
+
end
|
372
|
+
|
368
373
|
|
369
374
|
|
370
375
|
self.handle(Protocol::Connection::Start) do |connection, frame|
|
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.9.
|
4
|
+
version: 0.9.12
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -12,20 +12,20 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2013-
|
15
|
+
date: 2013-02-21 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: eventmachine
|
19
19
|
version_requirements: !ruby/object:Gem::Requirement
|
20
20
|
requirements:
|
21
|
-
- -
|
21
|
+
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
23
|
version: !binary |-
|
24
24
|
MA==
|
25
25
|
none: false
|
26
26
|
requirement: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
|
-
- -
|
28
|
+
- - ">="
|
29
29
|
- !ruby/object:Gem::Version
|
30
30
|
version: !binary |-
|
31
31
|
MA==
|
@@ -36,15 +36,15 @@ dependencies:
|
|
36
36
|
name: amq-protocol
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- -
|
39
|
+
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 1.0
|
41
|
+
version: 1.2.0
|
42
42
|
none: false
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.0
|
47
|
+
version: 1.2.0
|
48
48
|
none: false
|
49
49
|
prerelease: false
|
50
50
|
type: :runtime
|
@@ -58,11 +58,11 @@ extensions: []
|
|
58
58
|
extra_rdoc_files:
|
59
59
|
- README.textile
|
60
60
|
files:
|
61
|
-
- .gitignore
|
62
|
-
- .gitmodules
|
63
|
-
- .rspec
|
64
|
-
- .travis.yml
|
65
|
-
- .yardopts
|
61
|
+
- ".gitignore"
|
62
|
+
- ".gitmodules"
|
63
|
+
- ".rspec"
|
64
|
+
- ".travis.yml"
|
65
|
+
- ".yardopts"
|
66
66
|
- Gemfile
|
67
67
|
- LICENSE
|
68
68
|
- README.textile
|
@@ -230,14 +230,14 @@ require_paths:
|
|
230
230
|
- lib
|
231
231
|
required_ruby_version: !ruby/object:Gem::Requirement
|
232
232
|
requirements:
|
233
|
-
- -
|
233
|
+
- - ">="
|
234
234
|
- !ruby/object:Gem::Version
|
235
235
|
version: !binary |-
|
236
236
|
MA==
|
237
237
|
none: false
|
238
238
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
239
239
|
requirements:
|
240
|
-
- -
|
240
|
+
- - ">="
|
241
241
|
- !ruby/object:Gem::Version
|
242
242
|
version: !binary |-
|
243
243
|
MA==
|