amqp 1.6.0 → 1.7.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 295580888e256dddab5dd149bc16b54f367922cd
4
- data.tar.gz: 25c9292b53dac56faf7f23d3ca225c3d22f31a64
3
+ metadata.gz: a214105750dda3fd90f5d3258b2574d58e7e85bf
4
+ data.tar.gz: 48ca43153ca9a5bc9c62bc10191fd616e199bce0
5
5
  SHA512:
6
- metadata.gz: 02da49654ab2a957b28a3a14a613615aa41e7a1863af3c4d37d0c3743b0821d14c85b33ceef5dd4b597ac9d63dffc76a0379d5d5733dd8c0bd5cb3c3f4ecc88d
7
- data.tar.gz: 829533a07552a181e202d782f442d7356a83e106c095f2a14a41279017f9db72940904df340d9ed9a5e559c2a8e7fe941e8b09256aa09b6515c35f8ecf2f1f61
6
+ metadata.gz: 9958976df058e1798082fb69d2fba8f2bed2564bbdebb41e98c86ba4db1f1aefa189f706d7cb288efaca5b707489b73eeb2cdb03cf543c84e289a167108b3e1d
7
+ data.tar.gz: f970fe4b28f97c7bc60a8181e1812db11c4bebfdcb5d66efe9b866b3a79562d1042f9cced7a62eaeb43c17f587f9ce7a2dd0e029af199889788c197702f20b6b
@@ -1 +1 @@
1
- 2.2
1
+ 2.3
@@ -5,12 +5,8 @@ script: "bundle exec rake spec:ci"
5
5
  env:
6
6
  - CI=true
7
7
  rvm:
8
- - 1.8.7
9
- - jruby-19mode
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.2.x-stable
24
- - 1.1.x-stable
25
- - 1.0.x-stable
19
+ - 1.5.x-stable
26
20
  matrix:
27
21
  allow_failures:
28
- - rvm: 1.8.7
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:
@@ -1,4 +1,10 @@
1
- ## Changes Between 1.5.x and 1.6.0 (Apr 4th, 2016)
1
+ ## Changes Between 1.6.0 and 1.7.0 (unreleased)
2
+
3
+ None to date.
4
+
5
+
6
+
7
+ ## Changes Between 1.5.0 and 1.6.0 (Apr 4th, 2016)
2
8
 
3
9
  ### amq-protocol Update
4
10
 
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", ">= 1.0.0"
18
- custom_gem "amq-protocol", :git => "git://github.com/ruby-amqp/amq-protocol.git", :branch => "master"
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.6.0"
36
- gem "rake", "~> 10.0.0"
35
+ gem "rspec", "~> 2.14.1"
36
+ gem "rake", "~> 11.3.0"
37
37
 
38
- custom_gem "evented-spec", :git => "git://github.com/ruby-amqp/evented-spec.git", :branch => "master"
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
- This library works with
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
- * Ruby 1.9.3
142
- * [JRuby](http://jruby.org)
143
- * [Rubinius](http://rubini.us)
144
- * Ruby 1.9.2
145
- * Ruby 1.8.7
146
- * [REE](http://www.rubyenterpriseedition.com),
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 — 2014 [ruby-amqp](https://github.com/ruby-amqp) group members.
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 AMQP and messaging in general? ##
245
+ ## How can I learn more about RabbitMQ and messaging in general?
244
246
 
245
- ### AMQP resources ###
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
-
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
23
23
 
24
24
  # Dependencies
25
25
  s.add_dependency "eventmachine"
26
- s.add_dependency "amq-protocol", ">= 2.0.1"
26
+ s.add_dependency "amq-protocol", ">= 2.1.0"
27
27
 
28
28
  s.rubyforge_project = "amqp"
29
29
  end
@@ -930,9 +930,12 @@ module AMQP
930
930
  @frames[frame.channel] << frame
931
931
 
932
932
  if frameset_complete?(@frames[frame.channel])
933
- receive_frameset(@frames[frame.channel])
934
- # for channel.close, frame.channel will be nil. MK.
935
- clear_frames_on(frame.channel) if @frames[frame.channel]
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
 
@@ -6,5 +6,5 @@ module AMQP
6
6
  #
7
7
  # @see AMQ::Protocol::VERSION
8
8
  # @return [String] AMQP gem version
9
- VERSION = '1.6.0'
9
+ VERSION = '1.7.0'
10
10
  end
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.6.0
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: 2016-04-04 00:00:00.000000000 Z
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.1
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.1
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.4.8
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: