Source-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/0d0578293283
branches:  trunk
changeset: 431937:0d0578293283
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun May 17 16:17:04 2020 +0000

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

Update to ruby-rack-contrib to 2.2.0.


2.2.0 (2020-03-31)

A healthy crop of fixes and new features in this release. Thanks to
everyone who contributed, and welcome to Andrew Konchin, as the newest
recipient of a commit bit.

* New middleware Rack::JSONBodyParser: a better-designed replacement for
  Rack::PostBodyContentTypeParser, with a more appropriate name (given that
  they both only handle JSON natively, having JSON in the name seems like a
  good idea), and with a better set of default behaviours and knobs.  It is
  also significantly faster than PostBodyContentTypeParser.

* Rack::PostBodyContentTypeParser: this middleware's interface is a bit of a
  mess, which makes it nearly impossible to improve in a
  backwards-compatible manner. As a result, its use has been deprecated, in
  favour of Rack::JSONBodyParser.

* Several middlewares that set Content-Length headers were fixed to use
  String#bytesize, instead of String#size, which makes multibyte characters
  much happier. (Chris Frank)

* Rack::ResponseCache: Make header detection case-insensitive. (Chris Frank)

* A lot of broken tests and deprecation warnings in the test suite were
  fixed. (Andrew Konchin)

* Rack::Locale: significant correctness fixes, including q=0 handling, case
  insensitivity where appropriate, and better handling of whitespace.
  (Andrew Konchin)

* Rack::StaticCache: several correctness fixes, such as setting a Date
  response header, use UTC in timestamps, and improving the robustness of
  the date rendering.

Share and enjoy!

diffstat:

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

diffs (44 lines):

diff -r 9668fa9acc9a -r 0d0578293283 www/ruby-rack-contrib/Makefile
--- a/www/ruby-rack-contrib/Makefile    Sun May 17 16:11:28 2020 +0000
+++ b/www/ruby-rack-contrib/Makefile    Sun May 17 16:17:04 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2019/02/03 15:57:27 taca Exp $
+# $NetBSD: Makefile,v 1.11 2020/05/17 16:17:04 taca Exp $
 
-DISTNAME=      rack-contrib-2.1.0
+DISTNAME=      rack-contrib-2.2.0
 CATEGORIES=    www
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r 9668fa9acc9a -r 0d0578293283 www/ruby-rack-contrib/PLIST
--- a/www/ruby-rack-contrib/PLIST       Sun May 17 16:11:28 2020 +0000
+++ b/www/ruby-rack-contrib/PLIST       Sun May 17 16:17:04 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2018/03/21 12:19:33 taca Exp $
+@comment $NetBSD: PLIST,v 1.5 2020/05/17 16:17:04 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/AUTHORS
 ${GEM_LIBDIR}/COPYING
@@ -18,6 +18,7 @@
 ${GEM_LIBDIR}/lib/rack/contrib/expectation_cascade.rb
 ${GEM_LIBDIR}/lib/rack/contrib/garbagecollector.rb
 ${GEM_LIBDIR}/lib/rack/contrib/host_meta.rb
+${GEM_LIBDIR}/lib/rack/contrib/json_body_parser.rb
 ${GEM_LIBDIR}/lib/rack/contrib/jsonp.rb
 ${GEM_LIBDIR}/lib/rack/contrib/lazy_conditional_get.rb
 ${GEM_LIBDIR}/lib/rack/contrib/lighttpd_script_name_fix.rb
diff -r 9668fa9acc9a -r 0d0578293283 www/ruby-rack-contrib/distinfo
--- a/www/ruby-rack-contrib/distinfo    Sun May 17 16:11:28 2020 +0000
+++ b/www/ruby-rack-contrib/distinfo    Sun May 17 16:17:04 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2019/02/03 15:57:27 taca Exp $
+$NetBSD: distinfo,v 1.8 2020/05/17 16:17:04 taca Exp $
 
-SHA1 (rack-contrib-2.1.0.gem) = 282adb3f6bab48c47d2ca96b22e91894a8ff0bc6
-RMD160 (rack-contrib-2.1.0.gem) = 07f3a962346babd770314ea207a5746b65d69643
-SHA512 (rack-contrib-2.1.0.gem) = 4ef2059617844c18c238f8a9c296ff4afeb6f4f78b48864be1580aff59fc6569ae18fa0f99574179634d74627bc00e694eb8f659b33c8ee5dd641546c6acb9fe
-Size (rack-contrib-2.1.0.gem) = 26624 bytes
+SHA1 (rack-contrib-2.2.0.gem) = 893be77609cfb56895cbd87b116df4383cf622be
+RMD160 (rack-contrib-2.2.0.gem) = d4126692d26bf68eb03232ae6fb5a4a95fcfbfa4
+SHA512 (rack-contrib-2.2.0.gem) = 468b1be2dcac2e259b8d7efc609bf2f8ca2ae535c34773f6dd4fed26513e330afa071e70fd470b21e3252e64fb2d5ee2bcfaa0cdf222cfe93267bab828e75192
+Size (rack-contrib-2.2.0.gem) = 28160 bytes



Home | Main Index | Thread Index | Old Index