Up to [cvs.NetBSD.org] / pkgsrc / www / ruby-rack-contrib
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
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.
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!
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.
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! Deprecations * 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. Features * 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.
Update ruby-rack-contrib to 1.2.0. No exact changes are available.
Add ruby-rack-contrib package version 1.1.0. Contributed Rack Middleware and Utilities This package includes a variety of add-on components for Rack, a Ruby web server interfaces.