pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/ruby-rack-contrib



Module Name:    pkgsrc
Committed By:   taca
Date:           Sun May 17 16:17:04 UTC 2020

Modified Files:
        pkgsrc/www/ruby-rack-contrib: Makefile PLIST distinfo

Log Message:
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!


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/www/ruby-rack-contrib/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/ruby-rack-contrib/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/www/ruby-rack-contrib/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-contrib/Makefile
diff -u pkgsrc/www/ruby-rack-contrib/Makefile:1.10 pkgsrc/www/ruby-rack-contrib/Makefile:1.11
--- pkgsrc/www/ruby-rack-contrib/Makefile:1.10  Sun Feb  3 15:57:27 2019
+++ pkgsrc/www/ruby-rack-contrib/Makefile       Sun May 17 16:17:04 2020
@@ -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

Index: pkgsrc/www/ruby-rack-contrib/PLIST
diff -u pkgsrc/www/ruby-rack-contrib/PLIST:1.4 pkgsrc/www/ruby-rack-contrib/PLIST:1.5
--- pkgsrc/www/ruby-rack-contrib/PLIST:1.4      Wed Mar 21 12:19:33 2018
+++ pkgsrc/www/ruby-rack-contrib/PLIST  Sun May 17 16:17:04 2020
@@ -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/evil.rb
 ${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

Index: pkgsrc/www/ruby-rack-contrib/distinfo
diff -u pkgsrc/www/ruby-rack-contrib/distinfo:1.7 pkgsrc/www/ruby-rack-contrib/distinfo:1.8
--- pkgsrc/www/ruby-rack-contrib/distinfo:1.7   Sun Feb  3 15:57:27 2019
+++ pkgsrc/www/ruby-rack-contrib/distinfo       Sun May 17 16:17:04 2020
@@ -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