pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ruby-rack-contrib www/ruby-rack-contrib: update to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5fa99e599b61
branches:  trunk
changeset: 377685:5fa99e599b61
user:      taca <taca%pkgsrc.org@localhost>
date:      Wed Mar 21 12:19:33 2018 +0000

description:
www/ruby-rack-contrib: update to 2.0.1

2.0.1                                           2017/12/08

Multibytes bytes again!

This is a bugfix release, which fixes a Rack 2 incompatibility in
Rack::NotFound, where the wrong value for the Content-Length response
header was calculated (#143).

Thanks to Kazuhiro NISHIYAMA (@znz) for the bug report, and Joe Francis
(@lostapathy) for the fix.

2.0.0                                           2017/11/30
 2f3840e

Rack 2.x Support Is HERE!

Thanks to the hard work of Skye Shaw, amongst others, this release of
rack-contrib supports Rack 2.x. Unfortunately, it only supports Rack
2.x; if your application is using Rack 1.x, you should continue to use
rack-contrib 1.x.

The non-backwards-compatible, user-visible changes are:

* Drop support for Ruby versions less than 2.2. Rack 2 does not support these
  older releases, so there's no benefit in our doing so.

* Rack::NestedParams: switch to using Rack::Utils.parse_nested_query to parse
  request bodies, which handles repeated element keys differently.  See #92.

* Rack::Sendfile: removed completely. Rack core provides a middleware of the
  same name that is much better, and more actively maintained, and you should
  use that instead.

* Rack::AcceptFormat: removed completely, because it is terribad.

diffstat:

 www/ruby-rack-contrib/Makefile |   4 ++--
 www/ruby-rack-contrib/PLIST    |   4 +---
 www/ruby-rack-contrib/distinfo |  10 +++++-----
 3 files changed, 8 insertions(+), 10 deletions(-)

diffs (50 lines):

diff -r 1ccbf5aeabd8 -r 5fa99e599b61 www/ruby-rack-contrib/Makefile
--- a/www/ruby-rack-contrib/Makefile    Wed Mar 21 12:15:53 2018 +0000
+++ b/www/ruby-rack-contrib/Makefile    Wed Mar 21 12:19:33 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2017/09/19 16:36:07 taca Exp $
+# $NetBSD: Makefile,v 1.8 2018/03/21 12:19:33 taca Exp $
 
-DISTNAME=      rack-contrib-1.6.0
+DISTNAME=      rack-contrib-2.0.1
 CATEGORIES=    www
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r 1ccbf5aeabd8 -r 5fa99e599b61 www/ruby-rack-contrib/PLIST
--- a/www/ruby-rack-contrib/PLIST       Wed Mar 21 12:15:53 2018 +0000
+++ b/www/ruby-rack-contrib/PLIST       Wed Mar 21 12:19:33 2018 +0000
@@ -1,10 +1,9 @@
-@comment $NetBSD: PLIST,v 1.3 2015/09/13 15:39:37 taca Exp $
+@comment $NetBSD: PLIST,v 1.4 2018/03/21 12:19:33 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/AUTHORS
 ${GEM_LIBDIR}/COPYING
 ${GEM_LIBDIR}/README.md
 ${GEM_LIBDIR}/lib/rack/contrib.rb
-${GEM_LIBDIR}/lib/rack/contrib/accept_format.rb
 ${GEM_LIBDIR}/lib/rack/contrib/access.rb
 ${GEM_LIBDIR}/lib/rack/contrib/backstage.rb
 ${GEM_LIBDIR}/lib/rack/contrib/bounce_favicon.rb
@@ -35,7 +34,6 @@
 ${GEM_LIBDIR}/lib/rack/contrib/response_headers.rb
 ${GEM_LIBDIR}/lib/rack/contrib/route_exceptions.rb
 ${GEM_LIBDIR}/lib/rack/contrib/runtime.rb
-${GEM_LIBDIR}/lib/rack/contrib/sendfile.rb
 ${GEM_LIBDIR}/lib/rack/contrib/signals.rb
 ${GEM_LIBDIR}/lib/rack/contrib/simple_endpoint.rb
 ${GEM_LIBDIR}/lib/rack/contrib/static_cache.rb
diff -r 1ccbf5aeabd8 -r 5fa99e599b61 www/ruby-rack-contrib/distinfo
--- a/www/ruby-rack-contrib/distinfo    Wed Mar 21 12:15:53 2018 +0000
+++ b/www/ruby-rack-contrib/distinfo    Wed Mar 21 12:19:33 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2017/09/11 15:43:46 taca Exp $
+$NetBSD: distinfo,v 1.6 2018/03/21 12:19:33 taca Exp $
 
-SHA1 (rack-contrib-1.6.0.gem) = 21ba8f8fc9defbef43509947bbbbfddfc805c331
-RMD160 (rack-contrib-1.6.0.gem) = 8ba71c0e2e1711e25ba8e8d9dfc89f3891ce7a86
-SHA512 (rack-contrib-1.6.0.gem) = 92e2f53ac8da52c5bb9ea8de5be65e41a1a0ff110fff3aeb6079c87338206139e1d24bbd60409ffaf045b83ab928ebba1ca2c2b2b26ca803dc1772f2b32cfed6
-Size (rack-contrib-1.6.0.gem) = 29696 bytes
+SHA1 (rack-contrib-2.0.1.gem) = 2b6c86117fb17a551a27670889cb4b3301f46923
+RMD160 (rack-contrib-2.0.1.gem) = d2b1062a894bd48c67a2f48b8fef0a8139e5737e
+SHA512 (rack-contrib-2.0.1.gem) = b7392824b4a7d25cdbf210f9c12c33169b683d907de41ff523df1d71d2d7b6b0a3e6a3ca9abd70f19a2b727fcc088fe5d6efc56d00b2b2615571b7e99552ca70
+Size (rack-contrib-2.0.1.gem) = 26624 bytes



Home | Main Index | Thread Index | Old Index