pkgsrc/www/ruby-rack-contrib/distinfo
taca 75c20c5c4f 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!
2020-05-17 16:17:04 +00:00

6 lines
411 B
Text

$NetBSD: distinfo,v 1.8 2020/05/17 16:17:04 taca Exp $
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