commit rubygem-rack-2.2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-rack-2.2 for openSUSE:Factory checked in at 2024-03-25 21:12:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-rack-2.2 (Old) and /work/SRC/openSUSE:Factory/.rubygem-rack-2.2.new.1905 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rubygem-rack-2.2" Mon Mar 25 21:12:21 2024 rev:8 rq:1161337 version:2.2.9 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-rack-2.2/rubygem-rack-2.2.changes 2024-02-27 22:50:18.170767536 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-rack-2.2.new.1905/rubygem-rack-2.2.changes 2024-03-25 21:19:23.054068317 +0100 @@ -1,0 +2,6 @@ +Fri Mar 22 13:57:05 UTC 2024 - Eduardo Navarro <enavarro@suse.com> + +- update to version 2.2.9 + * Return empty when parsing a multi-part POST with only one end delimiter. (https://github.com/rack/rack/pull/2104) + +------------------------------------------------------------------- Old: ---- rack-2.2.8.1.gem New: ---- rack-2.2.9.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-rack-2.2.spec ++++++ --- /var/tmp/diff_new_pack.sPACuJ/_old 2024-03-25 21:19:23.542086265 +0100 +++ /var/tmp/diff_new_pack.sPACuJ/_new 2024-03-25 21:19:23.546086412 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-rack-2.2 -Version: 2.2.8.1 +Version: 2.2.9 Release: 0 %define mod_name rack %define mod_full_name %{mod_name}-%{version} ++++++ rack-2.2.8.1.gem -> rack-2.2.9.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md 2024-02-21 20:22:59.000000000 +0100 +++ new/CHANGELOG.md 2024-03-21 02:18:27.000000000 +0100 @@ -2,6 +2,18 @@ All notable changes to this project will be documented in this file. For info on how to format all future additions to this file please reference [Keep A Changelog](https://keepachangelog.com/en/1.0.0/). +## Unreleased + +## [2.2.9] - 2023-03-21 + +- Return empty when parsing a multi-part POST with only one end delimiter. ([#2104](https://github.com/rack/rack/pull/2104), [@alpaca-tc]) + +## [2.2.8] - 2023-07-31 + +- Regenerate SPEC ([#2102](https://github.com/rack/rack/pull/2102), [@skipkayhil](https://github.com/skipkayhil)) +- Limit file extension length of multipart tempfiles ([#2015](https://github.com/rack/rack/pull/2015), [@dentarg](https://github.com/dentarg)) +- Fix "undefined method DelegateClass for Rack::Session::Cookie:Class" ([#2092](https://github.com/rack/rack/pull/2092), [@onigra](https://github.com/onigra) [@dchandekstark](https://github.com/dchandekstark)) + ## [2.2.7] - 2023-03-13 - Correct the year number in the changelog ([#2015](https://github.com/rack/rack/pull/2015), [@kimulab](https://github.com/kimulab)) 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/multipart/parser.rb new/lib/rack/multipart/parser.rb --- old/lib/rack/multipart/parser.rb 2024-02-21 20:22:59.000000000 +0100 +++ new/lib/rack/multipart/parser.rb 2024-03-21 02:18:27.000000000 +0100 @@ -191,6 +191,7 @@ @sbuf = StringScanner.new("".dup) @body_regex = /(?:#{EOL})?#{Regexp.quote(@boundary)}(?:#{EOL}|--)/m + @end_boundary_size = boundary.bytesize + 6 # (-- at start, -- at finish, EOL at end) @rx_max_size = EOL.size + @boundary.bytesize + [EOL.size, '--'.size].max @head_regex = /(.*?#{EOL})#{EOL}/m end @@ -231,7 +232,12 @@ end def handle_fast_forward - if consume_boundary + tok = consume_boundary + + if tok == :END_BOUNDARY && @sbuf.pos == @end_boundary_size && @sbuf.eos? + # stop parsing a buffer if a buffer is only an end boundary. + @state = :DONE + elsif tok @state = :MIME_HEAD else raise EOFError, "bad content body" if @sbuf.rest_size >= @bufsize diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rack/version.rb new/lib/rack/version.rb --- old/lib/rack/version.rb 2024-02-21 20:22:59.000000000 +0100 +++ new/lib/rack/version.rb 2024-03-21 02:18:27.000000000 +0100 @@ -20,7 +20,7 @@ VERSION.join(".") end - RELEASE = "2.2.8.1" + RELEASE = "2.2.9" # 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 2024-02-21 20:22:59.000000000 +0100 +++ new/metadata 2024-03-21 02:18:27.000000000 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: rack version: !ruby/object:Gem::Version - version: 2.2.8.1 + version: 2.2.9 platform: ruby authors: - Leah Neukirchen autorequire: bindir: bin cert_chain: [] -date: 2024-02-21 00:00:00.000000000 Z +date: 2024-03-21 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: minitest @@ -184,7 +184,7 @@ - !ruby/object:Gem::Version version: '0' requirements: [] -rubygems_version: 3.4.10 +rubygems_version: 3.5.3 signing_key: specification_version: 4 summary: A modular Ruby webserver interface.
participants (1)
-
Source-Sync