./www/ruby-rack-contrib, Contributed Rack Middleware and Utilities

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.5.0, Package name: ruby32-rack-contrib-2.5.0, Maintainer: pkgsrc-users

Contributed Rack Middleware and Utilities

This package includes a variety of add-on components for Rack, a Ruby
web server interfaces.


Required to run:
[www/ruby-rack] [lang/ruby26-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 27 KB

Version history: (Expand)


CVS history: (Expand)


   2023-12-17 17:34:46 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
www/ruby-rack-contrib: update to 2.4.0

2.4.0 (2023-10-14)

* Refer to github, not Rubyforge [ci skip]
* Support Rack 3 (#187)
* Rack::JSONBodyParser: rescue all parser exceptions (#184)
* Prefer to use version constant for release management.
* Don't bother testing on Ruby 2.2 as it's failing and way EOL.
   2021-10-26 13:31:15 by Nia Alarie | Files touched by this commit (1030)
Log message:
www: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Not committed (merge conflicts):
www/nghttp2/distinfo

Unfetchable distfiles (almost certainly fetched conditionally...):
./www/nginx-devel/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx-devel/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx-devel/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx-devel/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx-devel/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx-devel/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx-devel/distinfo naxsi-1.3.tar.gz
./www/nginx-devel/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx-devel/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx-devel/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx-devel/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx-devel/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx-devel/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx-devel/distinfo njs-0.5.0.tar.gz
./www/nginx-devel/distinfo set-misc-nginx-module-0.32.tar.gz
./www/nginx/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx/distinfo naxsi-1.3.tar.gz
./www/nginx/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx/distinfo njs-0.5.0.tar.gz
./www/nginx/distinfo set-misc-nginx-module-0.32.tar.gz
   2021-10-07 17:09:00 by Nia Alarie | Files touched by this commit (1033)
Log message:
www: Remove SHA1 hashes for distfiles
   2021-01-16 14:12:12 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
www/ruby-rack-contrib: update to 2.3.0

2.3.0 (2020-11-30)

The list of changes in this release is long, and should serve as a warning
to me to make releases more often, as it cuts down on typing.  Thanks to
everyone who made PRs, checked PRs, merged PRs, and... renewed PRs.
Special thanks to Andrew Konchin (@andrykonchin) who is responsible for
over half the changes in this monster release, and who has come on board
as a maintainer.

This release removes the Rack::Runtime and Rack::Config middleware.
This may seem like a foolhardy thing to do in a minor release, but rack
itself ships with functionally identical versions.  Compatibility has been
maintained by having require "rack/contrib/<thing>" still work, \ 
but that
should be changed to require "rack/<thing>" instead.

* A #close method was added to the body that is returned by Rack::Signals.
* A stub CHANGELOG.md, pointing to the canonical source of release notes,
  has been added.
* Thread safety issues in Rack::Access, Rack::CommonCookies, and
  Rack::Deflect have been fixed. Additionally, the need for a thread-safe
  external cache object in Rack::LazyConditionalGet has been documented.
* A SPEC violation in Rack::CSSHTTPRequest has been fixed.
* Case-sensitive header problems in a whole bunch of middlewares have been
  fixed.
* Rack::JSONBodyParser now only rescues JSON::ParserError if it is raised
  within the middleware's own code. Exceptions raised by the application
  itself will now be left alone to be handled elsewhere.
* All string literals are now frozen.
* Residual ye olde Ruby compatibility checks were removed from
  Rack::Backstage, Rack::MailExceptions and Rack::NestedParams.
* The length calculation in Rack::JSONP has been made simpler.
   2020-05-17 18:17:04 by Takahiro Kambe | Files touched by this commit (3) | Package updated
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!
   2019-02-03 16:57:27 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
www/ruby-rack-contrib: update to 2.1.0

* pkgsrc change: add "USE_LANGAUGES= # none" line.

2.1.0 (2018-10-04)

Spring has sprung so let's make a new release

New features:

* Rack::PostBodyContentTypeParser -- you can now pass a block to the
  middleware to override the default "parse me some JSON" behaviour.
  Thanks to Kris Dekeyser (@Kris-LEBIS) for the patch.

* Ruby 2.5 support -- we're now running the test suite through Ruby 2.5.1, as
  well as the latest patch releases of all other Ruby releases supported by
  rack-contrib (back to 2.2, the same as Rack itself). The only \ 
"interesting"
  change here is that some Rack::Profiler printers no longer work, which is
  not our fault, but rather a problem with ruby-prof.

Bug fixes:

* Remove a deprecation warning about has_rdoc. Thanks to Luciano Sousa
  (@lucianosousa) for the patch.
   2018-03-21 13:20:58 by Takahiro Kambe | Files touched by this commit (1)
Log message:
www/ruby-rack-contrib: fix dependency

Fix dependency: depends on www/ruby-rack.
   2018-03-21 13:19:33 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
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.