pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/ruby-rack
Module Name: pkgsrc
Committed By: taca
Date: Wed Jan 4 15:23:35 UTC 2023
Modified Files:
pkgsrc/www/ruby-rack: Makefile PLIST distinfo
Removed Files:
pkgsrc/www/ruby-rack: ALTERNATIVES
Log Message:
www/ruby-rack: update to 3.0.3
3.0.3 (2022-12-26)
* Fix Regexp deprecated third argument with Regexp::NOENCODING (#1998)
3.0.2 (2022-12-05)
Fixed
* Utils.build_nested_query URL-encodes nested field names including the
square brackets.
* Allow Rack::Response to pass through streaming bodies. (#1993, @ioquatix)
3.0.1 (2022-11-18)
Fixed
* MethodOverride does not look for an override if a request does not include
form/parseable data.
* Rack::Lint::Wrapper correctly handles respond_to? with to_ary, each, call
and to_path, forwarding to the body. (#1981, @ioquatix)
3.0.0 (2022-09-06)
* No changes
3.0.0.rc1 (2022-09-04)
SPEC Changes
* Stream argument must implement << #1959
* close may be called on rack.input #1956
* rack.response_finished may be used for executing code after the response
has been finished #1952
3.0.0.beta1 (2022-08-08)
Security
* Do not use semicolon as GET parameter separator. (#1733, @jeremyevans)
SPEC Changes
* Response array must now be non-frozen.
* Response status must now be an integer greater than or equal to 100.
* Response headers must now be an unfrozen hash.
* Response header keys can no longer include uppercase characters.
* Response header values can be an Array to handle multiple values (and no
longer supports \n encoded headers).
* Response body can now respond to #call (streaming body) instead of #each
(enumerable body), for the equivalent of response hijacking in previous
versions.
* Middleware must no longer call #each on the body, but they can call
#to_ary on the body if it responds to #to_ary.
* rack.input is no longer required to be rewindable.
* rack.multithread/rack.multiprocess/rack.run_once/rack.version are no
longer required environment keys.
* SERVER_PROTOCOL is now a required environment key, matching the HTTP
protocol used in the request.
* rack.hijack? (partial hijack) and rack.hijack (full hijack) are now
independently optional.
* rack.hijack_io has been removed completely.
* rack.response_finished is an optional environment key which contains an
array of callable objects that must accept #call(env, status, headers,
error) and are invoked after the response is finished (either successfully
or unsuccessfully).
* It is okay to call #close on rack.input to indicate that you no longer
need or care about the input.
* The stream argument supplied to the streaming body and hijack must support
#<< for writing output.
Removed
* Remove rack.multithread/rack.multiprocess/rack.run_once. These variables
generally come too late to be useful. (#1720, @ioquatix, @jeremyevans))
* Remove deprecated Rack::Request::SCHEME_WHITELIST. (@jeremyevans)
* Remove internal cookie deletion using pattern matching, there are very few
practical cases where it would be useful and browsers handle it correctly
without us doing anything special. (#1844, @ioquatix)
* Remove rack.version as it comes too late to be useful. (#1938, @ioquatix)
* Extract rackup command, Rack::Server, Rack::Handler, Rack::Lobster and
related code into a separate gem. (#1937, @ioquatix)
Added
* Rack::Headers added to support lower-case header keys. (@jeremyevans)
* Rack::Utils#set_cookie_header now supports escape_key: false to avoid key
escaping. (@jeremyevans)
* Rack::RewindableInput supports size. (@ahorek)
* Rack::RewindableInput::Middleware added for making rack.input
rewindable. (@jeremyevans)
* The RFC 7239 Forwarded header is now supported and considered by default
when looking for information on forwarding, falling back to the
X-Forwarded-* headers. Rack::Request.forwarded_priority accessor has been
added for configuring the priority of which header to check. (#1423,
@jeremyevans)
* Allow response headers to contain array of values. (#1598, @ioquatix)
* Support callable body for explicit streaming support and clarify streaming
response body behaviour. (#1745, @ioquatix, #1748, @wjordan)
* Allow Rack::Builder#run to take a block instead of an argument. (#1942,
@ioquatix)
* Add rack.response_finished to Rack::Lint. (#1802, @BlakeWilliams, #1952,
@ioquatix)
* The stream argument must implement #<<. (#1959, @ioquatix)
Changed
* BREAKING CHANGE: Require status to be an Integer. (#1662, @olleolleolle)
* BREAKING CHANGE: Query parsing now treats parameters without = as having
the empty string value instead of nil value, to conform to the URL
spec. (#1696, @jeremyevans)
* Relax validations around Rack::Request#host and
Rack::Request#hostname. (#1606, @pvande)
* Removed antiquated handlers: FCGI, LSWS, SCGI, Thin. (#1658, @ioquatix)
* Removed options from Rack::Builder.parse_file and
Rack::Builder.load_file. (#1663, @ioquatix)
* Rack::HTTP_VERSION has been removed and the HTTP_VERSION env setting is no
longer set in the CGI and Webrick handlers. (#970, @jeremyevans)
* Rack::Request#[] and #[]= now warn even in non-verbose mode. (#1277,
@jeremyevans)
* Decrease default allowed parameter recursion level from 100 to 32. (#1640,
@jeremyevans)
* Attempting to parse a multipart response with an empty body now raises
Rack::Multipart::EmptyContentError. (#1603, @jeremyevans)
* Rack::Utils.secure_compare uses OpenSSL's faster implementation if
available. (#1711, @bdewater)
* Rack::Request#POST now caches an empty hash if input content type is not
parseable. (#749, @jeremyevans)
* BREAKING CHANGE: Updated trusted_proxy? to match full 127.0.0.0/8
network. (#1781, @snbloch)
* Explicitly deprecate Rack::File which was an alias for
Rack::Files. (#1811, @ioquatix).
* Moved Rack::Session into separate gem. (#1805, @ioquatix)
* rackup -D option to daemonizes no longer changes the working directory to
the root. (#1813, @jeremyevans)
* The x-forwarded-proto header is now considered before the
x-forwarded-scheme header for determining the forwarded
protocol. Rack::Request.x_forwarded_proto_priority accessor has been added
for configuring the priority of which header to check. (#1809,
@jeremyevans)
* Rack::Request.forwarded_authority (and methods that call it, such as host)
now returns the last authority in the forwarded header, instead of the
first, as earlier forwarded authorities can be forged by clients. This
restores the Rack 2.1 behavior. (#1829, @jeremyevans)
* Use lower case cookie attributes when creating cookies, and fold cookie
attributes to lower case when reading cookies (specifically impacting
secure and httponly attributes). (#1849, @ioquatix)
* The response array must now be mutable (non-frozen) so middleware can
modify it without allocating a new Array,therefore reducing object
allocations. (#1887, #1927, @amatsuda, @ioquatix)
* rack.hijack? (partial hijack) and rack.hijack (full hijack) are now
independently optional. rack.hijack_io is no longer
required/specified. (#1939, @ioquatix)
* Allow calling close on rack.input. (#1956, @ioquatix)
Fixed
* Make Rack::MockResponse handle non-hash headers. (#1629, @jeremyevans)
* TempfileReaper now deletes temp files if application raises an
exception. (#1679, @jeremyevans)
* Handle cookies with values that end in '=' (#1645, @lukaso)
* Make Rack::NullLogger respond to #fatal! @jeremyevans)
* Fix multipart filename generation for filenames that contain
spaces. Encode spaces as "%20" instead of "+" which will be decoded
properly by the multipart parser. (#1736, @muirdm)
* Rack::Request#scheme returns ws or wss when one of the X-Forwarded-Scheme
/ X-Forwarded-Proto headers is set to ws or wss, respectively. (#1730,
@erwanst)
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r0 pkgsrc/www/ruby-rack/ALTERNATIVES
cvs rdiff -u -r1.31 -r1.32 pkgsrc/www/ruby-rack/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/www/ruby-rack/PLIST
cvs rdiff -u -r1.29 -r1.30 pkgsrc/www/ruby-rack/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/ruby-rack/Makefile
diff -u pkgsrc/www/ruby-rack/Makefile:1.31 pkgsrc/www/ruby-rack/Makefile:1.32
--- pkgsrc/www/ruby-rack/Makefile:1.31 Wed Aug 31 15:50:11 2022
+++ pkgsrc/www/ruby-rack/Makefile Wed Jan 4 15:23:35 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.31 2022/08/31 15:50:11 taca Exp $
+# $NetBSD: Makefile,v 1.32 2023/01/04 15:23:35 taca Exp $
-DISTNAME= rack-2.2.4
+DISTNAME= rack-3.0.3
CATEGORIES= www
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -10,15 +10,5 @@ LICENSE= mit
USE_LANGUAGES= # none
-OVERRIDE_GEMSPEC= :executables rackup=rackup22 \
- :files bin/rackup=bin/rackup22
-RUBYGEM_OPTIONS+= --format-executable
-
-pre-configure:
- ${FIND} ${WRKSRC} -type f -exec ${CHMOD} g-w {} \;
- ${FIND} ${WRKSRC}/bin -type f -exec ${CHMOD} ${BINMODE} {} \;
- ${TEST} -f ${WRKSRC}/bin/rackup22 || \
- ${MV} ${WRKSRC}/bin/rackup ${WRKSRC}/bin/rackup22
-
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/ruby-rack/PLIST
diff -u pkgsrc/www/ruby-rack/PLIST:1.20 pkgsrc/www/ruby-rack/PLIST:1.21
--- pkgsrc/www/ruby-rack/PLIST:1.20 Wed Aug 31 15:50:11 2022
+++ pkgsrc/www/ruby-rack/PLIST Wed Jan 4 15:23:35 2023
@@ -1,24 +1,15 @@
-@comment $NetBSD: PLIST,v 1.20 2022/08/31 15:50:11 taca Exp $
-bin/rackup22${RUBY_SUFFIX}
+@comment $NetBSD: PLIST,v 1.21 2023/01/04 15:23:35 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/CHANGELOG.md
${GEM_LIBDIR}/CONTRIBUTING.md
${GEM_LIBDIR}/MIT-LICENSE
-${GEM_LIBDIR}/README.rdoc
-${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/README.md
${GEM_LIBDIR}/SPEC.rdoc
-${GEM_LIBDIR}/bin/rackup22
-${GEM_LIBDIR}/contrib/rack.png
-${GEM_LIBDIR}/contrib/rack.svg
-${GEM_LIBDIR}/contrib/rack_logo.svg
-${GEM_LIBDIR}/contrib/rdoc.css
-${GEM_LIBDIR}/example/lobster.ru
-${GEM_LIBDIR}/example/protectedlobster.rb
-${GEM_LIBDIR}/example/protectedlobster.ru
${GEM_LIBDIR}/lib/rack.rb
${GEM_LIBDIR}/lib/rack/auth/abstract/handler.rb
${GEM_LIBDIR}/lib/rack/auth/abstract/request.rb
${GEM_LIBDIR}/lib/rack/auth/basic.rb
+${GEM_LIBDIR}/lib/rack/auth/digest.rb
${GEM_LIBDIR}/lib/rack/auth/digest/md5.rb
${GEM_LIBDIR}/lib/rack/auth/digest/nonce.rb
${GEM_LIBDIR}/lib/rack/auth/digest/params.rb
@@ -30,31 +21,26 @@ ${GEM_LIBDIR}/lib/rack/chunked.rb
${GEM_LIBDIR}/lib/rack/common_logger.rb
${GEM_LIBDIR}/lib/rack/conditional_get.rb
${GEM_LIBDIR}/lib/rack/config.rb
+${GEM_LIBDIR}/lib/rack/constants.rb
${GEM_LIBDIR}/lib/rack/content_length.rb
${GEM_LIBDIR}/lib/rack/content_type.rb
-${GEM_LIBDIR}/lib/rack/core_ext/regexp.rb
${GEM_LIBDIR}/lib/rack/deflater.rb
${GEM_LIBDIR}/lib/rack/directory.rb
${GEM_LIBDIR}/lib/rack/etag.rb
${GEM_LIBDIR}/lib/rack/events.rb
${GEM_LIBDIR}/lib/rack/file.rb
${GEM_LIBDIR}/lib/rack/files.rb
-${GEM_LIBDIR}/lib/rack/handler.rb
-${GEM_LIBDIR}/lib/rack/handler/cgi.rb
-${GEM_LIBDIR}/lib/rack/handler/fastcgi.rb
-${GEM_LIBDIR}/lib/rack/handler/lsws.rb
-${GEM_LIBDIR}/lib/rack/handler/scgi.rb
-${GEM_LIBDIR}/lib/rack/handler/thin.rb
-${GEM_LIBDIR}/lib/rack/handler/webrick.rb
${GEM_LIBDIR}/lib/rack/head.rb
+${GEM_LIBDIR}/lib/rack/headers.rb
${GEM_LIBDIR}/lib/rack/lint.rb
-${GEM_LIBDIR}/lib/rack/lobster.rb
${GEM_LIBDIR}/lib/rack/lock.rb
${GEM_LIBDIR}/lib/rack/logger.rb
${GEM_LIBDIR}/lib/rack/media_type.rb
${GEM_LIBDIR}/lib/rack/method_override.rb
${GEM_LIBDIR}/lib/rack/mime.rb
${GEM_LIBDIR}/lib/rack/mock.rb
+${GEM_LIBDIR}/lib/rack/mock_request.rb
+${GEM_LIBDIR}/lib/rack/mock_response.rb
${GEM_LIBDIR}/lib/rack/multipart.rb
${GEM_LIBDIR}/lib/rack/multipart/generator.rb
${GEM_LIBDIR}/lib/rack/multipart/parser.rb
@@ -68,11 +54,6 @@ ${GEM_LIBDIR}/lib/rack/response.rb
${GEM_LIBDIR}/lib/rack/rewindable_input.rb
${GEM_LIBDIR}/lib/rack/runtime.rb
${GEM_LIBDIR}/lib/rack/sendfile.rb
-${GEM_LIBDIR}/lib/rack/server.rb
-${GEM_LIBDIR}/lib/rack/session/abstract/id.rb
-${GEM_LIBDIR}/lib/rack/session/cookie.rb
-${GEM_LIBDIR}/lib/rack/session/memcache.rb
-${GEM_LIBDIR}/lib/rack/session/pool.rb
${GEM_LIBDIR}/lib/rack/show_exceptions.rb
${GEM_LIBDIR}/lib/rack/show_status.rb
${GEM_LIBDIR}/lib/rack/static.rb
@@ -80,5 +61,4 @@ ${GEM_LIBDIR}/lib/rack/tempfile_reaper.r
${GEM_LIBDIR}/lib/rack/urlmap.rb
${GEM_LIBDIR}/lib/rack/utils.rb
${GEM_LIBDIR}/lib/rack/version.rb
-${GEM_LIBDIR}/rack.gemspec
${GEM_HOME}/specifications/${GEM_NAME}.gemspec
Index: pkgsrc/www/ruby-rack/distinfo
diff -u pkgsrc/www/ruby-rack/distinfo:1.29 pkgsrc/www/ruby-rack/distinfo:1.30
--- pkgsrc/www/ruby-rack/distinfo:1.29 Wed Aug 31 15:50:11 2022
+++ pkgsrc/www/ruby-rack/distinfo Wed Jan 4 15:23:35 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.29 2022/08/31 15:50:11 taca Exp $
+$NetBSD: distinfo,v 1.30 2023/01/04 15:23:35 taca Exp $
-BLAKE2s (rack-2.2.4.gem) = fb96082629b473d61ddfcff4a004f23657cf45f9c4a6d99b4366bc7531c2e6ba
-SHA512 (rack-2.2.4.gem) = 7e7cd4f0e44e0cd7d26f35ca946a2b6fcee8ad73425583694a7ea9662816b39681325879ad84a2c0d31dbcc2ded1165b0a37d9278bf3d0b0f2bc4615b66b1ca2
-Size (rack-2.2.4.gem) = 151552 bytes
+BLAKE2s (rack-3.0.3.gem) = d57051ba255f47337f40a91b91e04a7fbbabb164d5ef77cc3e44e7b51bdc4570
+SHA512 (rack-3.0.3.gem) = 5496211fb154936ebd61f0bcecdc546d2cdba435fc3062e12906c6f86a156eb3cca0f48532e0a3a32fb97482750ca17795d6eeca798a523485746a6da74626b3
+Size (rack-3.0.3.gem) = 107520 bytes
Home |
Main Index |
Thread Index |
Old Index