Hello community,

here is the log from the commit of package rubygem-puma for openSUSE:Factory 
checked in at 2015-08-05 19:14:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-puma (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-puma.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-puma"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-puma/rubygem-puma.changes        
2015-07-20 11:22:51.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-puma.new/rubygem-puma.changes   
2015-08-05 19:14:42.000000000 +0200
@@ -1,0 +2,27 @@
+Wed Aug  5 04:33:27 UTC 2015 - [email protected]
+
+- updated to version 2.12.3
+ see installed History.txt
+
+  === 2.12.3 / 2015-08-03
+  
+  * 8 minor bugs fixed:
+    * Fix Capistrano 'uninitialized constant Puma' error.
+    * Fix some ancient and incorrect error handling code
+    * Fix uninitialized constant error
+    * Remove toplevel rack interspection, require rack on load instead
+    * Skip empty parts when chunking
+    * Switch from inject to each in config_ru_binds iteration
+    * Wrap SSLv3 spec in version guard.
+    * ruby 1.8.7 compatibility patches
+  
+  * 4 PRs merged:
+    * Merge pull request #742 from deivid-rodriguez/fix_missing_require
+    * Merge pull request #743 from matthewd/skip-empty-chunks
+    * Merge pull request #749 from huacnlee/fix-cap-uninitialized-puma-error
+    * Merge pull request #751 from costi/compat_1_8_7
+  
+  * 1 test fix:
+    * Add 1.8.7, rbx-1 (allow failures) to Travis.
+
+-------------------------------------------------------------------

Old:
----
  puma-2.12.2.gem

New:
----
  puma-2.12.3.gem

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

Other differences:
------------------
++++++ rubygem-puma.spec ++++++
--- /var/tmp/diff_new_pack.7IAu89/_old  2015-08-05 19:14:43.000000000 +0200
+++ /var/tmp/diff_new_pack.7IAu89/_new  2015-08-05 19:14:43.000000000 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-puma
-Version:        2.12.2
+Version:        2.12.3
 Release:        0
 %define mod_name puma
 %define mod_full_name %{mod_name}-%{version}

++++++ puma-2.12.2.gem -> puma-2.12.3.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Gemfile new/Gemfile
--- old/Gemfile 2015-07-17 20:51:13.000000000 +0200
+++ new/Gemfile 2015-08-04 07:18:55.000000000 +0200
@@ -11,7 +11,3 @@
 gem 'minitest', '~> 4.0'
 
 gem "jruby-openssl", :platform => "jruby"
-
-platforms :rbx do
-  gem 'rubysl', '~> 2.0'
-end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/History.txt new/History.txt
--- old/History.txt     2015-07-17 20:51:13.000000000 +0200
+++ new/History.txt     2015-08-04 07:18:55.000000000 +0200
@@ -1,3 +1,24 @@
+=== 2.12.3 / 2015-08-03
+
+* 8 minor bugs fixed:
+  * Fix Capistrano 'uninitialized constant Puma' error.
+  * Fix some ancient and incorrect error handling code
+  * Fix uninitialized constant error
+  * Remove toplevel rack interspection, require rack on load instead
+  * Skip empty parts when chunking
+  * Switch from inject to each in config_ru_binds iteration
+  * Wrap SSLv3 spec in version guard.
+  * ruby 1.8.7 compatibility patches
+
+* 4 PRs merged:
+  * Merge pull request #742 from deivid-rodriguez/fix_missing_require
+  * Merge pull request #743 from matthewd/skip-empty-chunks
+  * Merge pull request #749 from huacnlee/fix-cap-uninitialized-puma-error
+  * Merge pull request #751 from costi/compat_1_8_7
+
+* 1 test fix:
+  * Add 1.8.7, rbx-1 (allow failures) to Travis.
+
 === 2.12.2 / 2015-07-17
 
 * 2 bug fix:
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/puma/capistrano.rb new/lib/puma/capistrano.rb
--- old/lib/puma/capistrano.rb  2015-07-17 20:51:13.000000000 +0200
+++ new/lib/puma/capistrano.rb  2015-08-04 07:18:55.000000000 +0200
@@ -82,6 +82,7 @@
   end
 
   def configuration
+    require 'puma'
     require 'puma/configuration'
 
     config = Puma::Configuration.new(:config_file => config_file)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/puma/configuration.rb 
new/lib/puma/configuration.rb
--- old/lib/puma/configuration.rb       2015-07-17 20:51:13.000000000 +0200
+++ new/lib/puma/configuration.rb       2015-08-04 07:18:55.000000000 +0200
@@ -104,8 +104,9 @@
       rack_app, rack_options = Puma::Rack::Builder.parse_file(rackup)
       @options.merge!(rack_options)
 
-      config_ru_binds = rack_options.each_with_object([]) do |(k, v), b|
-        b << v if k.to_s.start_with?("bind")
+      config_ru_binds = []
+      rack_options.each do |k, v|
+        config_ru_binds << v if k.to_s.start_with?("bind")
       end
       @options[:binds] = config_ru_binds unless config_ru_binds.empty?
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/puma/const.rb new/lib/puma/const.rb
--- old/lib/puma/const.rb       2015-07-17 20:51:13.000000000 +0200
+++ new/lib/puma/const.rb       2015-08-04 07:18:55.000000000 +0200
@@ -99,7 +99,7 @@
   # too taxing on performance.
   module Const
 
-    PUMA_VERSION = VERSION = "2.12.2".freeze
+    PUMA_VERSION = VERSION = "2.12.3".freeze
     CODE_NAME = "Plutonian Photo Shoot".freeze
 
     FAST_TRACK_KA_TIMEOUT = 0.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/puma/rack/builder.rb new/lib/puma/rack/builder.rb
--- old/lib/puma/rack/builder.rb        2015-07-17 20:51:13.000000000 +0200
+++ new/lib/puma/rack/builder.rb        2015-08-04 07:18:55.000000000 +0200
@@ -1,16 +1,3 @@
-module PumaRackCompat
-  BINDING = binding
-
-  def self.const_missing(cm)
-    if cm == :Rack
-      require 'rack'
-      Rack
-    else
-      raise NameError, "constant undefined: #{cm}"
-    end
-  end
-end
-
 module Puma::Rack
   class Options
     def parse!(args)
@@ -181,11 +168,19 @@
 
     def self.new_from_string(builder_script, file="(rackup)")
       eval "Puma::Rack::Builder.new {\n" + builder_script + "\n}.to_app",
-        PumaRackCompat::BINDING, file, 0
+        TOPLEVEL_BINDING, file, 0
     end
 
     def initialize(default_app = nil,&block)
       @use, @map, @run, @warmup = [], nil, default_app, nil
+
+      # Conditionally load rack now, so that any rack middlewares,
+      # etc are available.
+      begin
+        require 'rack'
+      rescue LoadError
+      end
+
       instance_eval(&block) if block_given?
     end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/puma/reactor.rb new/lib/puma/reactor.rb
--- old/lib/puma/reactor.rb     2015-07-17 20:51:13.000000000 +0200
+++ new/lib/puma/reactor.rb     2015-08-04 07:18:55.000000000 +0200
@@ -1,4 +1,5 @@
 require 'puma/util'
+require 'puma/minissl'
 
 module Puma
   class Reactor
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/puma/server.rb new/lib/puma/server.rb
--- old/lib/puma/server.rb      2015-07-17 20:51:13.000000000 +0200
+++ new/lib/puma/server.rb      2015-08-04 07:18:55.000000000 +0200
@@ -189,12 +189,13 @@
                     pool << client
                   end
                 rescue SystemCallError
+                  # nothing
+                rescue Errno::ECONNABORTED
+                  # client closed the socket even before accept
+                  io.close rescue nil
                 end
               end
             end
-          rescue Errno::ECONNABORTED
-            # client closed the socket even before accept
-            client.close rescue nil
           rescue Object => e
             @events.unknown_error self, e, "Listen loop"
           end
@@ -320,12 +321,13 @@
                     pool.wait_until_not_full unless queue_requests
                   end
                 rescue SystemCallError
+                  # nothing
+                rescue Errno::ECONNABORTED
+                  # client closed the socket even before accept
+                  io.close rescue nil
                 end
               end
             end
-          rescue Errno::ECONNABORTED
-            # client closed the socket even before accept
-            client.close rescue nil
           rescue Object => e
             @events.unknown_error self, e, "Listen loop"
           end
@@ -663,6 +665,7 @@
         begin
           res_body.each do |part|
             if chunked
+              next if part.bytesize.zero?
               fast_write client, part.bytesize.to_s(16)
               fast_write client, line_ending
               fast_write client, part
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2015-07-17 20:51:13.000000000 +0200
+++ new/metadata        2015-08-04 07:18:55.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: puma
 version: !ruby/object:Gem::Version
-  version: 2.12.2
+  version: 2.12.3
 platform: ruby
 authors:
 - Evan Phoenix
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2015-07-17 00:00:00.000000000 Z
+date: 2015-08-04 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: rdoc


Reply via email to