./www/ruby-sinatra-contrib, Collection of useful Sinatra extensions

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


Branch: CURRENT, Version: 2.0.5nb1, Package name: ruby24-sinatra-contrib-2.0.5nb1, Maintainer: pkgsrc-users

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


Required to run:
[www/ruby-sinatra] [textproc/ruby-multi_json] [devel/ruby-backports] [lang/ruby24-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 8fe10893df1a5c753fadb1e642d23225ec054a36
RMD160: 283e7bdbbca27c76002b42c5b50170ede38a1aef
Filesize: 33 KB

Version history: (Expand)


CVS history: (Expand)


   2019-03-03 18:36:06 by Takahiro Kambe | Files touched by this commit (1) | Package updated
Log message:
www/ruby-sinatra-contrib: drop dependency to activesupport

Drop dependency to ruby-activesupport.

Bump PKGREVISION.
   2019-02-06 15:55:55 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
www/ruby-sinatra-contrib: update to 2.0.5

### sinatra-contrib

* Add `flush` option to `content_for` \ 
[#1225](https://github.com/sinatra/sinatra/pull/1225) by Shota Iguchi

* Drop activesupport dependency from sinatra-contrib \ 
[#1448](https://github.com/sinatra/sinatra/pull/1448)

* Update `yield_content` to append default to ERB template buffer \ 
[#1500](https://github.com/sinatra/sinatra/pull/1500) by Jordan Owens
   2018-03-17 16:59:55 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
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-01-08 15:34:41 by Takahiro Kambe | Files touched by this commit (3)
Log message:
pkgsrc: allow ruby25

Allow build with ruby25-base.
   2017-06-18 15:48:55 by Takahiro Kambe | Files touched by this commit (18)
Log message:
Add 24 to RUBY_VERSIONS_ACCEPTED.
   2017-06-05 05:29:38 by Takahiro Kambe | Files touched by this commit (6)
Log message:
Restrict ruby's version to 22 and 23.
   2017-06-04 17:30:11 by Takahiro Kambe | Files touched by this commit (6) | Package updated
Log message:
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
   2016-10-18 18:27:05 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-sinatra-contrib to 1.4.7.

* Fix ERB typo in documentation.
* Use Mutex#synchronize instead of Thread.exclusive to prevent deprecation
  warning