Hello community, here is the log from the commit of package rubygem-bunny for openSUSE:Factory checked in at 2017-06-08 14:59:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-bunny (Old) and /work/SRC/openSUSE:Factory/.rubygem-bunny.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-bunny" Thu Jun 8 14:59:38 2017 rev:36 rq:497668 version:2.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-bunny/rubygem-bunny.changes 2017-04-20 20:58:11.362540911 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-bunny.new/rubygem-bunny.changes 2017-06-08 14:59:39.755310452 +0200 @@ -1,0 +2,6 @@ +Tue May 23 09:43:21 UTC 2017 - [email protected] + +- updated to version 2.7.0 + see installed ChangeLog.md + +------------------------------------------------------------------- Old: ---- bunny-2.6.5.gem New: ---- bunny-2.7.0.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-bunny.spec ++++++ --- /var/tmp/diff_new_pack.4OHEhi/_old 2017-06-08 14:59:40.727173290 +0200 +++ /var/tmp/diff_new_pack.4OHEhi/_new 2017-06-08 14:59:40.731172726 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-bunny -Version: 2.6.5 +Version: 2.7.0 Release: 0 %define mod_name bunny %define mod_full_name %{mod_name}-%{version} ++++++ bunny-2.6.5.gem -> bunny-2.7.0.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2017-04-15 21:38:44.000000000 +0200 +++ new/.travis.yml 2017-05-11 01:14:09.000000000 +0200 @@ -4,9 +4,10 @@ before_script: "./bin/ci/before_build" script: "bundle exec rake integration_without_recovery" rvm: - - "2.4.0" - - "2.3.3" - - "2.2" + - ruby-head + - "2.4.1" + - "2.3.4" + - "2.2.7" notifications: email: [email protected] services: @@ -16,4 +17,4 @@ - master - 2.6.x-stable env: - - CI=true \ No newline at end of file + - CI=true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ChangeLog.md new/ChangeLog.md --- old/ChangeLog.md 2017-04-15 21:38:44.000000000 +0200 +++ new/ChangeLog.md 2017-05-11 01:14:09.000000000 +0200 @@ -1,14 +1,15 @@ -## Changes between Bunny 2.6.4 and 2.6.5 (April 15th, 2017) +## Changes between Bunny 2.7.0 and 2.8.0 (unreleased) -### Absolute Windows File Paths are No Longer treated as Inline Certs +No changes yet. -Contributed by Jared Smartt. -GitHub issue: [#492](https://github.com/ruby-amqp/bunny/issues/492). +## Changes between Bunny 2.6.0 and 2.7.0 (May 11th, 2017) +### amq-protocol Update +Minimum `amq-protocol` version is now [`2.2.0`]](https://github.com/ruby-amqp/amq-protocol/blob/master/ChangeLog.md#changes-between-210-and-220-may-11th-2017) which includes +a change in [how timestamps are encoded](https://github.com/ruby-amqp/amq-protocol/issues/64). -## Changes between Bunny 2.6.3 and 2.6.4 (March 4th, 2017) ### `Bunny::ContinuationQueue#poll` Less Prone to Race Conditions @@ -16,6 +17,7 @@ GitHub issue: [#462](https://github.com/ruby-amqp/bunny/issues/462) + ### Recovery Attempt Counting Strategy Changed Previous behehavior is not unreasonable but is not what many users and @@ -32,6 +34,14 @@ GitHub issue: [#408](https://github.com/ruby-amqp/bunny/issues/408) + +### Absolute Windows File Paths are No Longer treated as Inline Certs + +Contributed by Jared Smartt. + +GitHub issue: [#492](https://github.com/ruby-amqp/bunny/issues/492). + + ### Opening a Channel on an Intentionally Closed Connection Immediately Raises an Exception Contributed by Alessandro Verlato. @@ -39,15 +49,20 @@ GitHub issue: [#465](https://github.com/ruby-amqp/bunny/issues/465) -## Changes between Bunny 2.6.2 and 2.6.3 (January 19th, 2016) +### Bunny::ConsumerWorkPool#shutdown Terminates Early When It's Safe to Do So + +`Bunny::ConsumerWorkPool#shutdown(true)` waited for consumer shutdown +even if the pool wasn't active (there were no consumers on its +channel). + +GitHub issue: [#438](https://github.com/ruby-amqp/bunny/issues/438). + ### Retry on new Ruby 2.1+ variations of `EAGAIN`, `EWOULDBLOCK` GitHub issue: [#456](https://github.com/ruby-amqp/bunny/issues/456) -## Changes between Bunny 2.6.1 and 2.6.2 (December 17th, 2016) - ### Do Not Modify Host Arrays Bunny now can work with frozen host arrays. @@ -56,18 +71,6 @@ -## Changes between Bunny 2.6.0 and 2.6.1 (October 23rd, 2016) - -### Bunny::ConsumerWorkPool#shutdown Terminates Early When It's Safe to Do So - -`Bunny::ConsumerWorkPool#shutdown(true)` waited for consumer shutdown -even if the pool wasn't active (there were no consumers on its -channel). - -GitHub issue: [#438](https://github.com/ruby-amqp/bunny/issues/438). - - - ## Changes between Bunny 2.5.0 and 2.6.0 (October 15th, 2016) ### Graceful Shutdown of Consumers diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2017-04-15 21:38:44.000000000 +0200 +++ new/README.md 2017-05-11 01:14:09.000000000 +0200 @@ -88,7 +88,7 @@ To use Bunny in a project managed with Bundler: ``` ruby -gem "bunny", ">= 2.6.4" +gem "bunny", ">= 2.6.5" ``` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bunny.gemspec new/bunny.gemspec --- old/bunny.gemspec 2017-04-15 21:38:45.000000000 +0200 +++ new/bunny.gemspec 2017-05-11 01:14:09.000000000 +0200 @@ -24,7 +24,7 @@ s.email = ["[email protected]"] # Dependencies - s.add_dependency "amq-protocol", ">= 2.1.0" + s.add_dependency "amq-protocol", ">= 2.2.0" # Files. s.has_rdoc = true Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/bunny/session.rb new/lib/bunny/session.rb --- old/lib/bunny/session.rb 2017-04-15 21:38:45.000000000 +0200 +++ new/lib/bunny/session.rb 2017-05-11 01:14:09.000000000 +0200 @@ -718,16 +718,14 @@ else @logger.debug "Not resetting recovery attempt counter after successful reconnection, as configured" end - reset_recovery_attempt_counter! recover_channels end rescue HostListDepleted reset_address_index retry - rescue TCPConnectionFailedForAllHosts, TCPConnectionFailed, AMQ::Protocol::EmptyResponseError => e + rescue TCPConnectionFailedForAllHosts, TCPConnectionFailed, AMQ::Protocol::EmptyResponseError, SystemCallError => e @logger.warn "TCP connection failed, reconnecting in #{@network_recovery_interval} seconds" - sleep @network_recovery_interval if should_retry_recovery? decrement_recovery_attemp_counter! if recoverable_network_failure?(e) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/bunny/version.rb new/lib/bunny/version.rb --- old/lib/bunny/version.rb 2017-04-15 21:38:45.000000000 +0200 +++ new/lib/bunny/version.rb 2017-05-11 01:14:09.000000000 +0200 @@ -2,5 +2,5 @@ module Bunny # @return [String] Version of the library - VERSION = "2.6.5" + VERSION = "2.7.0" end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/bunny.rb new/lib/bunny.rb --- old/lib/bunny.rb 2017-04-15 21:38:45.000000000 +0200 +++ new/lib/bunny.rb 2017-05-11 01:14:09.000000000 +0200 @@ -58,7 +58,7 @@ # @see http://rubybunny.info/articles/getting_started.html # @see http://rubybunny.info/articles/connecting.html # @api public - def self.new(connection_string_or_opts = ENV['RABBITMQ_URL'], opts = {}, &block) + def self.new(connection_string_or_opts = ENV['RABBITMQ_URL'], opts = {}) if connection_string_or_opts.respond_to?(:keys) && opts.empty? opts = connection_string_or_opts end @@ -73,6 +73,10 @@ def self.run(connection_string_or_opts = ENV['RABBITMQ_URL'], opts = {}, &block) raise ArgumentError, 'Bunny#run requires a block' unless block + if connection_string_or_opts.respond_to?(:keys) && opts.empty? + opts = connection_string_or_opts + end + client = Session.new(connection_string_or_opts, opts) begin diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2017-04-15 21:38:44.000000000 +0200 +++ new/metadata 2017-05-11 01:14:09.000000000 +0200 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: bunny version: !ruby/object:Gem::Version - version: 2.6.5 + version: 2.7.0 platform: ruby authors: - Chris Duncan @@ -12,7 +12,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2017-04-15 00:00:00.000000000 Z +date: 2017-05-10 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: amq-protocol @@ -20,14 +20,14 @@ requirements: - - ">=" - !ruby/object:Gem::Version - version: 2.1.0 + version: 2.2.0 type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version - version: 2.1.0 + version: 2.2.0 description: Easy to use, feature complete Ruby client for RabbitMQ 3.3 and later versions. email:
