amqp 1.6.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +4 -28
- data/ChangeLog.md +7 -1
- data/Gemfile +5 -5
- data/README.md +12 -27
- data/amqp.gemspec +1 -1
- data/lib/amqp/session.rb +6 -3
- data/lib/amqp/version.rb +1 -1
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a214105750dda3fd90f5d3258b2574d58e7e85bf
|
4
|
+
data.tar.gz: 48ca43153ca9a5bc9c62bc10191fd616e199bce0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9958976df058e1798082fb69d2fba8f2bed2564bbdebb41e98c86ba4db1f1aefa189f706d7cb288efaca5b707489b73eeb2cdb03cf543c84e289a167108b3e1d
|
7
|
+
data.tar.gz: f970fe4b28f97c7bc60a8181e1812db11c4bebfdcb5d66efe9b866b3a79562d1042f9cced7a62eaeb43c17f587f9ce7a2dd0e029af199889788c197702f20b6b
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.3
|
data/.travis.yml
CHANGED
@@ -5,12 +5,8 @@ script: "bundle exec rake spec:ci"
|
|
5
5
|
env:
|
6
6
|
- CI=true
|
7
7
|
rvm:
|
8
|
-
-
|
9
|
-
-
|
10
|
-
- 1.9.2
|
11
|
-
- 1.9.3
|
12
|
-
- 2.0.0
|
13
|
-
- 2.1.0
|
8
|
+
- 2.3.3
|
9
|
+
- 2.4.0
|
14
10
|
gemfile:
|
15
11
|
- Gemfile
|
16
12
|
- gemfiles/eventmachine-pre
|
@@ -20,30 +16,10 @@ notifications:
|
|
20
16
|
branches:
|
21
17
|
only:
|
22
18
|
- master
|
23
|
-
- 1.
|
24
|
-
- 1.1.x-stable
|
25
|
-
- 1.0.x-stable
|
19
|
+
- 1.5.x-stable
|
26
20
|
matrix:
|
27
21
|
allow_failures:
|
28
|
-
- rvm:
|
29
|
-
gemfile: gemfiles/eventmachine-pre
|
30
|
-
- rvm: 1.9.3
|
31
|
-
gemfile: gemfiles/eventmachine-pre
|
32
|
-
- rvm: jruby-19mode
|
33
|
-
gemfile: gemfiles/eventmachine-pre
|
34
|
-
- rvm: jruby-head
|
35
|
-
gemfile: gemfiles/eventmachine-pre
|
36
|
-
- rvm: jruby-head
|
37
|
-
gemfile: Gemfile
|
38
|
-
- rvm: rbx-19mode
|
39
|
-
gemfile: gemfiles/eventmachine-pre
|
40
|
-
- rvm: rbx-19mode
|
41
|
-
gemfile: Gemfile
|
42
|
-
- rvm: 1.9.2
|
43
|
-
gemfile: gemfiles/eventmachine-pre
|
44
|
-
- rvm: 1.9.2
|
45
|
-
gemfile: Gemfile
|
46
|
-
- rvm: 2.0.0
|
22
|
+
- rvm: jruby
|
47
23
|
gemfile: gemfiles/eventmachine-pre
|
48
24
|
|
49
25
|
services:
|
data/ChangeLog.md
CHANGED
data/Gemfile
CHANGED
@@ -14,8 +14,8 @@ def custom_gem(name, options = Hash.new)
|
|
14
14
|
end
|
15
15
|
end
|
16
16
|
|
17
|
-
custom_gem "eventmachine", "
|
18
|
-
custom_gem "amq-protocol", :git => "
|
17
|
+
custom_gem "eventmachine", "~> 1.2.1"
|
18
|
+
custom_gem "amq-protocol", :git => "https://github.com/ruby-amqp/amq-protocol.git", :branch => "master"
|
19
19
|
|
20
20
|
group :development do
|
21
21
|
gem "yard", ">= 0.7.2"
|
@@ -32,10 +32,10 @@ group :development do
|
|
32
32
|
end
|
33
33
|
|
34
34
|
group :test do
|
35
|
-
gem "rspec", "~> 2.
|
36
|
-
gem "rake", "~>
|
35
|
+
gem "rspec", "~> 2.14.1"
|
36
|
+
gem "rake", "~> 11.3.0"
|
37
37
|
|
38
|
-
custom_gem "evented-spec", :git => "
|
38
|
+
custom_gem "evented-spec", :git => "https://github.com/ruby-amqp/evented-spec.git", :branch => "master"
|
39
39
|
gem "effin_utf8"
|
40
40
|
|
41
41
|
gem "multi_json"
|
data/README.md
CHANGED
@@ -134,16 +134,18 @@ to learn more about RabbitMQ protocol principles & concepts.
|
|
134
134
|
|
135
135
|
## Supported Ruby Versions
|
136
136
|
|
137
|
-
|
137
|
+
amqp gem `1.6.x` series supports
|
138
138
|
|
139
|
+
* Ruby 2.3
|
140
|
+
* Ruby 2.2
|
139
141
|
* Ruby 2.1
|
140
142
|
* Ruby 2.0
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
* Ruby 1.9
|
145
|
-
|
146
|
-
|
143
|
+
|
144
|
+
amqp gem `1.5.x` series also supports
|
145
|
+
|
146
|
+
* Ruby 1.9
|
147
|
+
|
148
|
+
JRuby users should use [March Hare](http://rubymarchhare.info/).
|
147
149
|
|
148
150
|
|
149
151
|
|
@@ -234,32 +236,15 @@ amqp gem is licensed under the [Ruby License](http://www.ruby-lang.org/en/LICENS
|
|
234
236
|
* The Initial Developer of the Original Code is Aman Gupta.
|
235
237
|
* Copyright (c) 2008 - 2010 [Aman Gupta](http://github.com/tmm1).
|
236
238
|
* Contributions from [Jakub Stastny](http://github.com/botanicus) are Copyright (c) 2011-2012 VMware, Inc.
|
237
|
-
* Copyright (c) 2010 —
|
239
|
+
* Copyright (c) 2010 — 2016 [ruby-amqp](https://github.com/ruby-amqp) group members.
|
238
240
|
|
239
241
|
Currently maintained by [ruby-amqp](https://github.com/ruby-amqp) group members
|
240
242
|
Special thanks to Dmitriy Samovskiy, Ben Hood and Tony Garnock-Jones.
|
241
243
|
|
242
244
|
|
243
|
-
## How can I learn more about
|
245
|
+
## How can I learn more about RabbitMQ and messaging in general?
|
244
246
|
|
245
|
-
###
|
247
|
+
### Documentation Resources
|
246
248
|
|
247
249
|
* [AMQP 0.9.1 Model Explained](http://www.rabbitmq.com/tutorials/amqp-concepts.html)
|
248
250
|
* [RabbitMQ tutorials](http://www.rabbitmq.com/getstarted.html) that demonstrate interoperability
|
249
|
-
* [Wikipedia page on AMQP](http://en.wikipedia.org/wiki/Advanced_Message_Queuing_Protocol)
|
250
|
-
* [AMQP quick reference](http://www.rabbitmq.com/amqp-0-9-1-quickref.html)
|
251
|
-
* John O'Hara on the [history of AMQP](http://www.acmqueue.org/modules.php?name=Content&pa=showpage&pid=485)
|
252
|
-
|
253
|
-
### Messaging and distributed systems resources ###
|
254
|
-
|
255
|
-
* [Enterprise Integration Patterns](http://www.eaipatterns.com), a book about messaging and use of messaging in systems integration.
|
256
|
-
* [A Critique of the Remote Procedure Call Paradigm](http://www.cs.vu.nl/~ast/publications/euteco-1988.pdf)
|
257
|
-
* [A Note on Distributed Computing](http://research.sun.com/techrep/1994/smli_tr-94-29.pdf)
|
258
|
-
* [Convenience Over Correctness](http://steve.vinoski.net/pdf/IEEE-Convenience_Over_Correctness.pdf)
|
259
|
-
* Joe Armstrong on [Erlang messaging vs RPC](http://armstrongonsoftware.blogspot.com/2008/05/road-we-didnt-go-down.html)
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/ruby-amqp/amqp/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
|
265
|
-
|
data/amqp.gemspec
CHANGED
data/lib/amqp/session.rb
CHANGED
@@ -930,9 +930,12 @@ module AMQP
|
|
930
930
|
@frames[frame.channel] << frame
|
931
931
|
|
932
932
|
if frameset_complete?(@frames[frame.channel])
|
933
|
-
|
934
|
-
|
935
|
-
|
933
|
+
begin
|
934
|
+
receive_frameset(@frames[frame.channel])
|
935
|
+
ensure # Ensure that frames always will be cleared
|
936
|
+
# for channel.close, frame.channel will be nil. MK.
|
937
|
+
clear_frames_on(frame.channel) if @frames[frame.channel]
|
938
|
+
end
|
936
939
|
end
|
937
940
|
end
|
938
941
|
|
data/lib/amqp/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amqp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aman Gupta
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2017-02-02 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: eventmachine
|
@@ -32,14 +32,14 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - ">="
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 2.0
|
35
|
+
version: 2.1.0
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 2.0
|
42
|
+
version: 2.1.0
|
43
43
|
description: Mature EventMachine-based RabbitMQ client.
|
44
44
|
email:
|
45
45
|
- michael@novemberain.com
|
@@ -323,9 +323,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
323
323
|
version: '0'
|
324
324
|
requirements: []
|
325
325
|
rubyforge_project: amqp
|
326
|
-
rubygems_version: 2.
|
326
|
+
rubygems_version: 2.5.2
|
327
327
|
signing_key:
|
328
328
|
specification_version: 4
|
329
329
|
summary: Mature EventMachine-based RabbitMQ client
|
330
330
|
test_files: []
|
331
|
-
has_rdoc:
|