amqp 0.9.2 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +1 -3
- data/amqp.gemspec +1 -1
- data/lib/amqp/channel.rb +10 -4
- data/lib/amqp/version.rb +1 -1
- metadata +8 -8
data/.travis.yml
CHANGED
data/amqp.gemspec
CHANGED
data/lib/amqp/channel.rb
CHANGED
@@ -930,8 +930,7 @@ module AMQP
|
|
930
930
|
# @api public
|
931
931
|
def close(reply_code = 200, reply_text = DEFAULT_REPLY_TEXT, class_id = 0, method_id = 0, &block)
|
932
932
|
r = super(reply_code, reply_text, class_id, method_id, &block)
|
933
|
-
|
934
|
-
|
933
|
+
|
935
934
|
r
|
936
935
|
end
|
937
936
|
|
@@ -1114,8 +1113,15 @@ module AMQP
|
|
1114
1113
|
|
1115
1114
|
self.class.error(method.reply_text)
|
1116
1115
|
end
|
1117
|
-
|
1118
|
-
|
1116
|
+
|
1117
|
+
# Overrides AMQ::Client::Channel version to also release the channel id
|
1118
|
+
#
|
1119
|
+
# @private
|
1120
|
+
# @api private
|
1121
|
+
def handle_close_ok(method)
|
1122
|
+
super(method)
|
1123
|
+
self.class.release_channel_id(@id)
|
1124
|
+
end
|
1119
1125
|
# Resets channel state (for example, list of registered queue objects and so on).
|
1120
1126
|
#
|
1121
1127
|
# Most of the time, this method is not
|
data/lib/amqp/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amqp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 61
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
9
|
+
- 3
|
10
|
+
version: 0.9.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Aman Gupta
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2012-
|
20
|
+
date: 2012-02-09 00:00:00 Z
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
23
|
name: eventmachine
|
@@ -41,12 +41,12 @@ dependencies:
|
|
41
41
|
requirements:
|
42
42
|
- - ~>
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
hash:
|
44
|
+
hash: 63
|
45
45
|
segments:
|
46
46
|
- 0
|
47
47
|
- 9
|
48
|
-
-
|
49
|
-
version: 0.9.
|
48
|
+
- 2
|
49
|
+
version: 0.9.2
|
50
50
|
type: :runtime
|
51
51
|
version_requirements: *id002
|
52
52
|
- !ruby/object:Gem::Dependency
|
@@ -337,7 +337,7 @@ files:
|
|
337
337
|
homepage: http://github.com/ruby-amqp/amqp
|
338
338
|
licenses: []
|
339
339
|
|
340
|
-
post_install_message:
|
340
|
+
post_install_message: ""
|
341
341
|
rdoc_options:
|
342
342
|
- --include=examples --main README.md
|
343
343
|
require_paths:
|