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

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

Branch: CURRENT, Version: 2.0.1, Package name: ruby24-rack-contrib-2.0.1, 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/ruby24-base]

Required to build:

Master sites:

SHA1: 2b6c86117fb17a551a27670889cb4b3301f46923
RMD160: d2b1062a894bd48c67a2f48b8fef0a8139e5737e
Filesize: 26 KB

Version history: (Expand)

CVS history: (Expand)

   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

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.
   2017-09-19 18:36:07 by Takahiro Kambe | Files touched by this commit (11)
Log message:
cleanup: remove unnecessary RUBY_VERSIONS_ACCEPTED

Remove unnecessary RUBY_VERSIONS_ACCEPTED since ruby21 removed.
   2017-09-11 17:43:46 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-rack-contrib to 1.6.0.

1.6.0 (2017/09/01)

* Rack::PostBodyContentTypeParser: if the middleware is told a POST body is
  JSON, but it doesn't parse as JSON, then... it's not really JSON, and the
  request is now rejected with a 400 response. Thanks to Yukihiko SAWANOBORI
  (@sawanoboly) for the fix.

1.5.0 (2017/07/19)

After an extended hiatus, rack-contrib maintenance is back on track. This
is a tidy-up release, merging things that have sat around for far too long.

* git-version-bump has now been moved to being a development dependency,
  thanks to Tobias Haagen Michaelsen.

* Rack::AcceptLocale can be restricted to a set of enforced locales, thanks to
  Paco Guzman.

* Rack::NotFound's path argument is now optional, thanks to Ed Morley.

* Rack::BounceFavicon now has a description and tests, thanks to Steven

* The automated Travis CI suite now tests all supported Ruby versions up to
  2.4, which necessitated a few small changes.
   2017-06-18 15:48:55 by Takahiro Kambe | Files touched by this commit (18)
Log message:
   2017-06-06 13:12:05 by Jonathan Perkin | Files touched by this commit (6)
Log message:
Set RUBY_VERSIONS_ACCEPTED correctly to fix scan failures.
   2015-11-04 03:47:43 by Alistair G. Crooks | Files touched by this commit (758)
Log message:
Add SHA512 digests for distfiles for www category

Problems found locating distfiles:
	Package haskell-cgi: missing distfile haskell-cgi-20001206.tar.gz
	Package nginx: missing distfile array-var-nginx-module-0.04.tar.gz
	Package nginx: missing distfile encrypted-session-nginx-module-0.04.tar.gz
	Package nginx: missing distfile headers-more-nginx-module-0.261.tar.gz
	Package nginx: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package nginx-devel: missing distfile echo-nginx-module-0.58.tar.gz
	Package nginx-devel: missing distfile form-input-nginx-module-0.11.tar.gz
	Package nginx-devel: missing distfile lua-nginx-module-0.9.16.tar.gz
	Package nginx-devel: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx-devel: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package php-owncloud: missing distfile owncloud-8.2.0.tar.bz2

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-09-13 17:39:37 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-rack-contrib to 1.4.0.

v1.4.0: Features, Features Everywhere, and not a bug to fix

There's a bumper crop of new features this month. Share and enjoy!


* Rack::AcceptFormat is slated for removal in rack-contrib 2.0.0 (due on or
  after 1 January, 2016. Using this middleware will now result in a
  deprecation warning being printed to stderr. If you use this middleware, now
  would be a good time to start doing things properly.


* Rack::LazyConditionalGet: new middleware, by Mig. This middleware tracks
  when the last POST/PUT/DELETE request was made, and returns 304 responses to
  requests which include a Last-Modified entity request header which is
  greater than or equal to that time.

* Rack::StaticCache: You can now specify a custom "version" regex for your
  cache invalidation, if the default doesn't do it for you. Initial patch
  provided by Eric Boehs.

* Rack::Profiler: You can now run a single request through the profiler
  multiple times, by adding the profiler_runs query parameter to the
  URL. Patch provided by Bryce McDonnell.