Commit graph

14 commits

Author SHA1 Message Date
taca
3573706486 www/ruby-sinatra: update to 2.0.4 with ruby-sinatra-contrib
## 2.0.4 / 2018-09-15

* Don't blow up when passing frozen string to `send_file` disposition [#1137](https://github.com/sinatra/sinatra/pull/1137) by Andrew Selder

* Fix ubygems LoadError [#1436](https://github.com/sinatra/sinatra/pull/1436) by Pavel Rosick«ò

* Unescape regex captures [#1446](https://github.com/sinatra/sinatra/pull/1446) by Jordan Owens

* Slight performance improvements for IndifferentHash [#1427](https://github.com/sinatra/sinatra/pull/1427) by Mike Pastore

* Improve development support and documentation and source code by Will Yang, Jake Craige, Grey Baker and Guilherme Goettems Schneider

## 2.0.3 / 2018-06-09

* Fix the backports gem regression [#1442](https://github.com/sinatra/sinatra/issues/1442) by Marc-Andr«± Lafortune

## 2.0.2 / 2018-06-05

* Escape invalid query parameters [#1432](https://github.com/sinatra/sinatra/issues/1432) by Kunpei Sakai
  * The patch fixes [CVE-2018-11627](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-11627).

* Fix undefined method error for `Sinatra::RequiredParams` with hash key [#1431](https://github.com/sinatra/sinatra/issues/1431) by Arpit Chauhan

* Add xml content-types to valid html_types for Rack::Protection [#1413](https://github.com/sinatra/sinatra/issues/1413) by Reenan Arbitrario

* Encode route parameters using :default_encoding setting [#1412](https://github.com/sinatra/sinatra/issues/1412) by Brian m. Carlson

* Fix unpredictable behaviour from Sinatra::ConfigFile [#1244](https://github.com/sinatra/sinatra/issues/1244) by John Hope

* Add Sinatra::IndifferentHash#slice [#1405](https://github.com/sinatra/sinatra/issues/1405) by Shota Iguchi

* Remove status code 205 from drop body response [#1398](https://github.com/sinatra/sinatra/issues/1398) by Shota Iguchi

* Ignore empty captures from params [#1390](https://github.com/sinatra/sinatra/issues/1390) by Shota Iguchi

* Improve development support and documentation and source code by Zp Yuan, Andreas Finger, Olle Jonsson, Shota Iguchi, Nikita Bulai and Joshua O'Brien
2018-09-23 17:08:01 +00:00
taca
7289e55fd7 www/ruby-sinatra-contrib: update to 2.0.1
2.0.1						2018/02/17

* avoid prefix duplication
* get rid of unnecessary assignment expression
  the `base` does not respond to `conditions` permanently.
* documentation improvement
2018-03-17 15:59:55 +00:00
taca
30d71e6f0f pkgsrc: allow ruby25
Allow build with ruby25-base.
2018-01-08 14:34:41 +00:00
taca
c136fff011 Add 24 to RUBY_VERSIONS_ACCEPTED. 2017-06-18 13:48:53 +00:00
taca
ddb63d0693 Restrict ruby's version to 22 and 23. 2017-06-05 03:29:38 +00:00
taca
3cd73f87fa Update ruby-sinatra and ruby-sinatra-contrib to 2.0.0.
## 2.0.0 / 2017-04-10

 * Use Mustermann for patterns #1086 by Konstantin Haase

 * Server now provides `-q` flag for quiet mode, which disables start/stop messages #1153 by Vasiliy.

 * Session middleware can now be specified with `:session_store` setting #1161 by Jordan Owens.

 * `APP_ENV` is now preferred and recommended over `RACK_ENV` for setting environment #984 by Damien Mathieu.

 * Add Reel support #793 by Patricio Mac Adden.

 * Make route params available during error handling #895 by Jeremy Evans.

 * Unify `not_found` and `error` 404 behavior #896 by Jeremy Evans.

 * Enable Ruby 2.3 `frozen_string_literal` feature #1076 by Vladimir Kochnev.

 * Add Sinatra::ShowExceptions::TEMPLATE and patched Rack::ShowExceptions to prefer Sinatra template by Zachary Scott.

 * Sinatra::Runner is used internally for integration tests #840 by Nick Sutterer.

 * Fix case-sensitivity issue in `uri` method #889 by rennex.

 * Use `Rack::Utils.status_code` to allow `status` helper to use symbol as well as numeric codes #968 by Tobias H. Michaelsen.

 * Improved error handling for invalid params through Rack #1070 by Jordan Owens.

 * Ensure template is cached only once #1021 by Patrik Rak.

 * Rack middleware is initialized at server runtime rather than after receiving first request #1205 by Itamar Turner-Trauring.

 * Improve Session Secret documentation to encourage better security practices #1218 by Glenn Rempe

 * Exposed global and per-route options for Mustermann route parsing #1233 by Mike Pastore

 * Use same `session_secret` for classic and modular apps in development #1245 by Marcus Stollsteimer

 * Make authenticity token length a fixed value of 32 #1181 by Jordan Owens

 * Modernize Rack::Protection::ContentSecurityPolicy with CSP Level 2 and 3 Directives #1202 by Glenn Rempe

 * Adds preload option to Rack:Protection:StrictTransport #1209 by Ed Robinson

 * Improve BadRequest logic. Raise and handle exceptions if status is 400 #1212 by Mike Pastore

 * Make Rack::Test a development dependency #1232 by Mike Pastore

 * Capture exception messages of raised NotFound and BadRequest #1210 by Mike Pastore

 * Add explicit set method to contrib/cookies to override cookie settings #1240 by Andrew Allen

 * Avoid executing filters even if prefix matches with other namespace #1253 by namusyaka

 * Make `#has_key?` also indifferent in access, can accept String or Symbol #1262 by John Hope

 * Add `allow_if` option to bypass json csrf protection #1265 by Jordan Owens

 * rack-protection: Bundle StrictTransport, CookieTossing, and CSP #1267 by Mike Pastore

 * Add `:strict_paths` option for managing trailing slashes #1273 by namusyaka

 * Add full IndifferentHash implementation to params #1279 by Mike Pastore
2017-06-04 15:30:10 +00:00
taca
1d8ca548df Update ruby-sinatra-contrib to 1.4.7.
* Fix ERB typo in documentation.
* Use Mutex#synchronize instead of Thread.exclusive to prevent deprecation
  warning
2016-10-18 16:27:05 +00:00
agc
b9b754e081 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-11-04 02:46:46 +00:00
taca
6b4630bd70 Update sinatra-contrib to 1.4.6.
* only assign kcode if ruby version is < 1.9.0
* Fix typo in test description [skip ci]
* Modify deploy task's git details
* lock libv8 to 3.16.14.7 for 1.8.7
2015-09-13 15:49:08 +00:00
taca
dd29dbdb07 Update ruby-sinatra-contrib to 1.4.4.
Changes are not available except commit log:
<https://github.com/sinatra/sinatra-contrib/commits/master>.
2015-06-11 17:14:56 +00:00
taca
024b38e4f9 Update ruby-sinatra-contrib to 14.2.
* Add utf-8 magic comment.
* Describe enabling the reloader in non-development environments.
2014-03-14 19:30:07 +00:00
obache
10ee6e7a4f Update ruby-sinatra-contrib to 1.4.1.
bug fixes
2013-08-26 10:19:23 +00:00
obache
b5e2480927 Update ruby-sinatra-contrib to 1.4.0.
for sinatra-1.4.x
2013-06-16 09:21:38 +00:00
taca
feb6824143 Add ruby-sinatra-contrib package version 1.3.2.
Collection of common Sinatra extensions, semi-officially supported.

# Goals

* For every future Sinatra release, have at least one fully compatible release
* High code quality, high test coverage
* Include plugins people usually ask for a lot
2013-02-11 13:17:18 +00:00