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 Stephen Paul Weber 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
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8f99e5c323ae95a95b69f7289937f996ef8349b commit d8f99e5c323ae95a95b69f7289937f996ef8349b Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2018-07-19 06:27:40 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2018-07-19 06:27:40 +0000 dev-ruby/sinatra: add 2.0.3 Drop keywords due to new mustermann dependency, bug 661564 Closes: https://bugs.gentoo.org/645364 Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-ruby/sinatra/Manifest | 1 + dev-ruby/sinatra/sinatra-2.0.3.ebuild | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+)
Thank you very much.