Hello community, here is the log from the commit of package rubygem-rack for openSUSE:Factory checked in at 2018-07-18 22:50:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-rack (Old) and /work/SRC/openSUSE:Factory/.rubygem-rack.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rack" Wed Jul 18 22:50:47 2018 rev:12 rq:621024 version:2.0.5 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-rack/rubygem-rack.changes 2018-02-12 10:13:42.748753931 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-rack.new/rubygem-rack.changes 2018-07-18 22:52:04.367332387 +0200 @@ -1,0 +2,12 @@ +Mon Apr 23 18:18:04 UTC 2018 - [email protected] + +- updated to version 2.0.5 + see installed HISTORY.md + +------------------------------------------------------------------- +Mon Apr 16 15:47:33 UTC 2018 - [email protected] + +- Only build against ruby versions 2.3.x, 2.4.x, and 2.5.x +- Fix package build by removing the executable bit for 'test.gz' file in gem + +------------------------------------------------------------------- Old: ---- rack-2.0.4.gem New: ---- rack-2.0.5.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-rack.spec ++++++ --- /var/tmp/diff_new_pack.tEKpXV/_old 2018-07-18 22:52:05.695327984 +0200 +++ /var/tmp/diff_new_pack.tEKpXV/_new 2018-07-18 22:52:05.723327891 +0200 @@ -24,12 +24,17 @@ # Name: rubygem-rack -Version: 2.0.4 +Version: 2.0.5 Release: 0 %define mod_name rack %define mod_full_name %{mod_name}-%{version} # MANUAL BuildRequires: fdupes + +%if 0%{?suse_version} && 0%{?suse_version} < 1330 +%define rb_build_versions ruby23 ruby24 ruby25 +%define rb_build_ruby_abi ruby:2.3.0 ruby:2.4.0 ruby:2.5.0 +%endif # /MANUAL BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{ruby >= 2.2.2} @@ -64,6 +69,7 @@ -f # MANUAL %fdupes %{buildroot}%{_libdir}/ruby/gems/*/gems/%{mod_name}-%{version}/ +chmod 644 %{buildroot}%{_libdir}/ruby/gems/*/gems/%{mod_name}-%{version}/test/cgi/test.gz # /MANUAL %gem_packages ++++++ gem2rpm.yml ++++++ --- /var/tmp/diff_new_pack.tEKpXV/_old 2018-07-18 22:52:05.819327572 +0200 +++ /var/tmp/diff_new_pack.tEKpXV/_new 2018-07-18 22:52:05.823327560 +0200 @@ -76,8 +76,12 @@ :preamble: |- BuildRequires: fdupes -# %define rb_build_versions ruby22 ruby23 -# %define rb_default_ruby_abi ruby:2.2.0 ruby:2.3.0 + + %if 0%{?suse_version} && 0%{?suse_version} < 1330 + %define rb_build_versions ruby23 ruby24 ruby25 + %define rb_build_ruby_abi ruby:2.3.0 ruby:2.4.0 ruby:2.5.0 + %endif :post_install: |- %fdupes %{buildroot}%{_libdir}/ruby/gems/*/gems/%{mod_name}-%{version}/ + chmod 644 %{buildroot}%{_libdir}/ruby/gems/*/gems/%{mod_name}-%{version}/test/cgi/test.gz ++++++ rack-2.0.4.gem -> rack-2.0.5.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.rdoc new/README.rdoc --- old/README.rdoc 2018-01-31 19:16:49.000000000 +0100 +++ new/README.rdoc 2018-04-23 19:45:56.000000000 +0200 @@ -228,7 +228,7 @@ The Rack Core Team, consisting of -* Christian Neukirchen (chneukirchen[https://github.com/chneukirchen]) +* Leah Neukirchen (chneukirchen[https://github.com/chneukirchen]) * James Tucker (raggi[https://github.com/raggi]) * Josh Peek (josh[https://github.com/josh]) * José Valim (josevalim[https://github.com/josevalim]) @@ -300,5 +300,3 @@ Rack Bug Tracking:: <https://github.com/rack/rack/issues> rack-devel mailing list:: <https://groups.google.com/group/rack-devel> Rack's Rubyforge project:: <http://rubyforge.org/projects/rack> - -Christian Neukirchen:: <http://chneukirchen.org/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SPEC new/SPEC --- old/SPEC 2018-01-31 19:16:49.000000000 +0100 +++ new/SPEC 2018-04-23 19:45:56.000000000 +0200 @@ -60,8 +60,8 @@ the presence or absence of the appropriate HTTP header in the request. See - <a href="https://tools.ietf.org/html/rfc3875#section-4.1.18"> - RFC3875 section 4.1.18</a> for + {https://tools.ietf.org/html/rfc3875#section-4.1.18 + RFC3875 section 4.1.18} for specific behavior. In addition to this, the Rack environment must include these Rack-specific variables: @@ -98,13 +98,12 @@ Additional environment specifications have approved to standardized middleware APIs. None of these are required to be implemented by the server. -<tt>rack.session</tt>:: A hash like interface for storing - request session data. +<tt>rack.session</tt>:: A hash like interface for storing request session data. The store must implement: - store(key, value) (aliased as []=); - fetch(key, default = nil) (aliased as []); - delete(key); - clear; + store(key, value) (aliased as []=); + fetch(key, default = nil) (aliased as []); + delete(key); + clear; <tt>rack.logger</tt>:: A common object interface for logging messages. The object must implement: info(message, &block) Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rack/method_override.rb new/lib/rack/method_override.rb --- old/lib/rack/method_override.rb 2018-01-31 19:16:49.000000000 +0100 +++ new/lib/rack/method_override.rb 2018-04-23 19:45:56.000000000 +0200 @@ -26,7 +26,11 @@ req = Request.new(env) method = method_override_param(req) || env[HTTP_METHOD_OVERRIDE_HEADER] - method.to_s.upcase + begin + method.to_s.upcase + rescue ArgumentError + env[RACK_ERRORS].puts "Invalid string for method" + end end private diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rack.rb new/lib/rack.rb --- old/lib/rack.rb 2018-01-31 19:16:49.000000000 +0100 +++ new/lib/rack.rb 2018-04-23 19:45:56.000000000 +0200 @@ -18,7 +18,7 @@ VERSION.join(".") end - RELEASE = "2.0.4" + RELEASE = "2.0.5" # Return the Rack release as a dotted string. def self.release diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2018-01-31 19:16:49.000000000 +0100 +++ new/metadata 2018-04-23 19:45:56.000000000 +0200 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: rack version: !ruby/object:Gem::Version - version: 2.0.4 + version: 2.0.5 platform: ruby authors: -- Christian Neukirchen +- Leah Neukirchen autorequire: bindir: bin cert_chain: [] -date: 2018-01-31 00:00:00.000000000 Z +date: 2018-04-23 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: minitest @@ -60,7 +60,7 @@ middleware) into a single method call. Also see https://rack.github.io/. -email: [email protected] +email: [email protected] executables: - rackup extensions: [] @@ -275,59 +275,59 @@ version: '0' requirements: [] rubyforge_project: -rubygems_version: 2.7.3 +rubygems_version: 2.6.13 signing_key: specification_version: 4 summary: a modular Ruby webserver interface test_files: -- test/spec_multipart.rb +- test/spec_auth_basic.rb +- test/spec_auth_digest.rb +- test/spec_body_proxy.rb +- test/spec_builder.rb +- test/spec_cascade.rb +- test/spec_cgi.rb +- test/spec_chunked.rb +- test/spec_common_logger.rb +- test/spec_conditional_get.rb +- test/spec_config.rb +- test/spec_content_length.rb +- test/spec_content_type.rb - test/spec_deflater.rb -- test/spec_static.rb -- test/spec_session_cookie.rb -- test/spec_session_pool.rb +- test/spec_directory.rb - test/spec_etag.rb -- test/spec_version.rb +- test/spec_events.rb +- test/spec_fastcgi.rb +- test/spec_file.rb - test/spec_handler.rb -- test/spec_thin.rb -- test/spec_session_abstract_id.rb -- test/spec_mime.rb -- test/spec_recursive.rb -- test/spec_null_logger.rb +- test/spec_head.rb +- test/spec_lint.rb +- test/spec_lobster.rb +- test/spec_lock.rb +- test/spec_logger.rb - test/spec_media_type.rb -- test/spec_cgi.rb - test/spec_method_override.rb -- test/spec_content_type.rb -- test/spec_session_abstract_session_hash.rb +- test/spec_mime.rb +- test/spec_mock.rb +- test/spec_multipart.rb +- test/spec_null_logger.rb +- test/spec_recursive.rb - test/spec_request.rb -- test/spec_chunked.rb -- test/spec_show_exceptions.rb +- test/spec_response.rb +- test/spec_rewindable_input.rb - test/spec_runtime.rb -- test/spec_fastcgi.rb -- test/spec_common_logger.rb -- test/spec_builder.rb -- test/spec_config.rb -- test/spec_utils.rb - test/spec_sendfile.rb -- test/spec_lobster.rb -- test/spec_lint.rb -- test/spec_conditional_get.rb -- test/spec_tempfile_reaper.rb -- test/spec_mock.rb - test/spec_server.rb -- test/spec_directory.rb -- test/spec_webrick.rb -- test/spec_response.rb -- test/spec_file.rb +- test/spec_session_abstract_id.rb +- test/spec_session_abstract_session_hash.rb +- test/spec_session_cookie.rb +- test/spec_session_memcache.rb +- test/spec_session_pool.rb +- test/spec_show_exceptions.rb - test/spec_show_status.rb -- test/spec_body_proxy.rb -- test/spec_logger.rb -- test/spec_auth_digest.rb +- test/spec_static.rb +- test/spec_tempfile_reaper.rb +- test/spec_thin.rb - test/spec_urlmap.rb -- test/spec_events.rb -- test/spec_cascade.rb -- test/spec_auth_basic.rb -- test/spec_head.rb -- test/spec_lock.rb -- test/spec_rewindable_input.rb -- test/spec_session_memcache.rb -- test/spec_content_length.rb +- test/spec_utils.rb +- test/spec_version.rb +- test/spec_webrick.rb diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rack.gemspec new/rack.gemspec --- old/rack.gemspec 2018-01-31 19:16:50.000000000 +0100 +++ new/rack.gemspec 2018-04-23 19:45:56.000000000 +0200 @@ -23,8 +23,8 @@ s.extra_rdoc_files = ['README.rdoc', 'HISTORY.md'] s.test_files = Dir['test/spec_*.rb'] - s.author = 'Christian Neukirchen' - s.email = '[email protected]' + s.author = 'Leah Neukirchen' + s.email = '[email protected]' s.homepage = 'https://rack.github.io/' s.required_ruby_version = '>= 2.2.2' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/spec_method_override.rb new/test/spec_method_override.rb --- old/test/spec_method_override.rb 2018-01-31 19:16:50.000000000 +0100 +++ new/test/spec_method_override.rb 2018-04-23 19:45:57.000000000 +0200 @@ -17,6 +17,20 @@ env["REQUEST_METHOD"].must_equal "GET" end + it "sets rack.errors for invalid UTF8 _method values" do + errors = StringIO.new + env = Rack::MockRequest.env_for("/", + :method => "POST", + :input => "_method=\xBF".b, + Rack::RACK_ERRORS => errors) + + app.call env + + errors.rewind + errors.read.must_equal "Invalid string for method\n" + env["REQUEST_METHOD"].must_equal "POST" + end + it "modify REQUEST_METHOD for POST requests when _method parameter is set" do env = Rack::MockRequest.env_for("/", :method => "POST", :input => "_method=put") app.call env
