Hello community,

here is the log from the commit of package rubygem-amqp for openSUSE:Factory 
checked in at 2014-10-13 16:11:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-amqp (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-amqp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-amqp"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-amqp/rubygem-amqp.changes        
2014-07-15 08:01:02.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-amqp.new/rubygem-amqp.changes   
2014-10-13 16:11:40.000000000 +0200
@@ -1,0 +2,11 @@
+Mon Oct 13 07:25:24 UTC 2014 - co...@suse.com
+
+- updated to version 1.5.0
+   ### Only Await basic.consume-ok If nowait is false
+
+-------------------------------------------------------------------
+Mon Oct 13 07:24:59 UTC 2014 - co...@suse.com
+
+- adapt to new rubygem packaging
+
+-------------------------------------------------------------------

Old:
----
  amqp-1.4.1.gem

New:
----
  amqp-1.5.0.gem
  gem2rpm.yml

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-amqp.spec ++++++
--- /var/tmp/diff_new_pack.f7Pqab/_old  2014-10-13 16:11:41.000000000 +0200
+++ /var/tmp/diff_new_pack.f7Pqab/_new  2014-10-13 16:11:41.000000000 +0200
@@ -17,69 +17,35 @@
 
 
 Name:           rubygem-amqp
-Version:        1.4.1
+Version:        1.5.0
 Release:        0
 %define mod_name amqp
 %define mod_full_name %{mod_name}-%{version}
-
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros >= 3
-BuildRequires:  rubygem(rdoc) > 3.10
+BuildRequires:  %{rubygem gem2rpm}
+BuildRequires:  %{rubygem rdoc > 3.10}
+BuildRequires:  %{ruby}
+BuildRequires:  ruby-macros >= 5
 Url:            http://rubyamqp.info
 Source:         http://rubygems.org/gems/%{mod_full_name}.gem
+Source1:        gem2rpm.yml
 Summary:        Widely used, feature-rich asynchronous RabbitMQ client with
 License:        BSD-2-Clause or Ruby
 Group:          Development/Languages/Ruby
-# MANUAL License
 
 %description
 Widely used, feature-rich asynchronous RabbitMQ client with batteries
 included.
 
-%package doc
-Summary:        RDoc documentation for %{mod_name}
-Group:          Development/Languages/Ruby
-Requires:       %{name} = %{version}
-
-%description doc
-Documentation generated at gem installation time.
-Usually in RDoc and RI formats.
-
-%package testsuite
-Summary:        Test suite for %{mod_name}
-Group:          Development/Languages/Ruby
-Requires:       %{name} = %{version}
-
-%description testsuite
-Test::Unit or RSpec files, useful for developers.
-
 %prep
-#gem_unpack
-#if you need patches, apply them here and replace the # with a % sign in the 
surrounding lines
-#gem_build
 
 %build
 
 %install
-%gem_install -f
-mkdir -p %{buildroot}%{_docdir}/%{name}
-ln -s %{gem_base}/gems/%{mod_full_name}/ChangeLog.md 
%buildroot/%{_docdir}/%{name}/ChangeLog.md
-ln -s %{gem_base}/gems/%{mod_full_name}/README.md 
%buildroot/%{_docdir}/%{name}/README.md
-
-%files
-%defattr(-,root,root,-)
-%{_docdir}/%{name}
-%{gem_base}/cache/%{mod_full_name}.gem
-%{gem_base}/gems/%{mod_full_name}/
-%exclude %{gem_base}/gems/%{mod_full_name}/spec
-%{gem_base}/specifications/%{mod_full_name}.gemspec
-
-%files doc
-%defattr(-,root,root,-)
-%doc %{gem_base}/doc
-
-%files testsuite
-%defattr(-,root,root,-)
-%{gem_base}/gems/%{mod_full_name}/spec
+%gem_install \
+  --doc-files="ChangeLog.md README.md" \
+  -f
+
+%gem_packages
 
 %changelog

++++++ amqp-1.4.1.gem -> amqp-1.5.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ChangeLog.md new/ChangeLog.md
--- old/ChangeLog.md    2014-07-09 10:19:50.000000000 +0200
+++ new/ChangeLog.md    2014-08-13 08:05:34.000000000 +0200
@@ -1,4 +1,8 @@
-## Changes Between 1.4.0 and 1.4.1
+## Changes Between 1.4.x and 1.5.0
+
+### Only Await basic.consume-ok If nowait is false
+
+Contributed by Rian McGuire.
 
 ### Server-Named Queue Recovery Fix
 
@@ -7,13 +11,26 @@
 Contributed by Jack C Hong.
 
 
-
 ## Changes Between 1.3.x and 1.4.0
 
 ### connection.blocked Support
 
 [connection.blocked](https://www.rabbitmq.com/connection-blocked.html) 
notifications
-are now correctly supported by the library.
+are now correctly supported by the library:
+
+``` ruby
+EventMachine.run do
+  connection = AMQP.connect(:host => '127.0.0.1')
+
+  connection.on_blocked do |conn, conn_blocked|
+    puts "Connection blocked, reason: #{conn_blocked.reason}"
+  end
+
+  connection.on_unblocked do |conn, _|
+    puts "Connection unblocked"
+  end
+end
+```
 
 
 ## Changes Between 1.2.x and 1.3.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md       2014-07-09 10:19:50.000000000 +0200
+++ new/README.md       2014-08-13 08:05:34.000000000 +0200
@@ -196,7 +196,7 @@
 
 ## Community
 
- * Join also [RabbitMQ mailing 
list](https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss) 
(the AMQP community epicenter).
+ * Join also [RabbitMQ mailing 
list](https://groups.google.com/forum/#!forum/rabbitmq-users) (the AMQP 
community epicenter).
  * Join [Ruby AMQP mailing list](http://groups.google.com/group/ruby-amqp)
  * Follow [@rubyamqp](https://twitter.com/rubyamqp) on Twitter for Ruby AMQP 
ecosystem updates.
  * Stop by #rabbitmq on irc.freenode.net. You can use [Web IRC 
client](http://webchat.freenode.net?channels=rabbitmq) if you don't have IRC 
client installed.
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/docs/AMQP091ModelExplained.textile 
new/docs/AMQP091ModelExplained.textile
--- old/docs/AMQP091ModelExplained.textile      2014-07-09 10:19:50.000000000 
+0200
+++ new/docs/AMQP091ModelExplained.textile      2014-08-13 08:05:34.000000000 
+0200
@@ -313,7 +313,7 @@
 h2. Wrapping up
 
 This is the end of the AMQP 0.9.1 Model tutorial. Congratulations! Armed with 
this knowledge, you will find it easier to follow the rest of
-the amqp gem documentation as well as the rabbitmq.com documentation and the 
"rabbitmq-discuss mailing list":http://groups.google.com/group/rabbitmq-discuss
+the amqp gem documentation as well as the rabbitmq.com documentation and the 
"rabbitmq-discuss mailing 
list":https://groups.google.com/forum/#!forum/rabbitmq-users
 
 To stay up to date with amqp gem development, "follow @rubyamqp on 
Twitter":http://twitter.com/rubyamqp and "join our mailing 
list":http://groups.google.com/group/ruby-amqp.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/amqp/consumer.rb new/lib/amqp/consumer.rb
--- old/lib/amqp/consumer.rb    2014-07-09 10:19:51.000000000 +0200
+++ new/lib/amqp/consumer.rb    2014-08-13 08:05:34.000000000 +0200
@@ -77,9 +77,11 @@
       @channel.once_open do
         @queue.once_declared do
           
@connection.send_frame(AMQ::Protocol::Basic::Consume.encode(@channel.id, 
@queue.name, @consumer_tag, @no_local, @no_ack, @exclusive, nowait, @arguments))
-          self.redefine_callback(:consume, &block)
 
-          @channel.consumers_awaiting_consume_ok.push(self)
+          if !nowait
+            self.redefine_callback(:consume, &block)
+            @channel.consumers_awaiting_consume_ok.push(self)
+          end
 
           self
         end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/amqp/version.rb new/lib/amqp/version.rb
--- old/lib/amqp/version.rb     2014-07-09 10:19:51.000000000 +0200
+++ new/lib/amqp/version.rb     2014-08-13 08:05:34.000000000 +0200
@@ -6,5 +6,5 @@
   #
   # @see AMQ::Protocol::VERSION
   # @return [String] AMQP gem version
-  VERSION = '1.4.1'
+  VERSION = '1.5.0'
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2014-07-09 10:19:50.000000000 +0200
+++ new/metadata        2014-08-13 08:05:34.000000000 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: amqp
 version: !ruby/object:Gem::Version
-  version: 1.4.1
+  version: 1.5.0
 platform: ruby
 authors:
 - Aman Gupta
@@ -10,7 +10,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2014-07-09 00:00:00.000000000 Z
+date: 2014-08-13 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: eventmachine
@@ -329,4 +329,3 @@
 specification_version: 4
 summary: Widely used, feature-rich asynchronous RabbitMQ client with batteries 
included
 test_files: []
-has_rdoc: 

++++++ gem2rpm.yml ++++++
# ---
# ## used by gem2rpm
# :summary: this is a custom summary
# ## used by gem2rpm
# :description: |-
#   this is a custom description
#
#   it can be multiline
# ## used by gem2rpm
:license: BSD-2-Clause or Ruby
# ## used by gem2rpm and gem_packages
# :version_suffix: -x_y
# ## used by gem2rpm and gem_packages
# :disable_docs: true
# ## used by gem2rpm
# :disable_automatic_rdoc_dep: true
# ## used by gem2rpm
# :preamble: |-
#   BuildRequires: foobar
#   Requires: foobar
# ## used by gem2rpm
# :patches:
#   foo.patch: -p1
#   bar.patch: 
# ## used by gem2rpm
# :sources:
# - foo.desktop
# - bar.desktop
# :gem_install_args: '....'
# ## used by gem2rpm
# :pre_install: |-
#   %if 0%{?use_system_libev}
#   export USE_VENDORED_LIBEV="no"
#   %endif
# ## used by gem2rpm
# :post_install: |-
#   # delete custom files here or do other fancy stuff
#   install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse
# ## used by gem2rpm
# :testsuite_command: |-
#   (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test)
# ## used by gem2rpm
# :filelist: |-
#   /usr/bin/gem2rpm-opensuse
# ## used by gem2rpm
# :scripts:
#   :post: |-
#     /bin/echo foo
# ## used by gem_packages
# :main:
#   :preamble: |-
#     Requires: util-linux
#     Recommends: pwgen
#   :filelist: |-
#     /usr/bin/gem2rpm-opensuse
# ## used by gem_packages
# :custom:
#   apache:
#     :preamble: |-
#       Requires: .....
#     :filelist: |-
#       /etc/apache2/conf.d/passenger.conf
#     :summary: Custom summary is optional
#     :description: |-
#       Custom description is optional
#
#       bar
#     :post: |-
#       /bin/echo foo
#
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to