Sha256: 0973f3f84d11e4725e9e74cf6dcf47fe9bd5cd563f3307f060985e73452894e0

Contents?: true

Size: 1.19 KB

Versions: 1

Compression:

Stored size: 1.19 KB

Contents

3.6.0

* Set Strict-Transport-Security to a better default

3.5.0

* Add `not_found` hook for customizing the 404 error.

* Remove undocumented `header` matcher.

* Depend explicitly on Rack 1.6.x.

* Experimental feature: `param` now accepts a second parameter
  with a default value.

3.4.0

* Add `Cuba::Safe` plugin. This plugin contains security related
  defaults.

3.3.0

* Restrict when to add the default content type.

3.2.0

* Return 404 when status is not explicitly set and body is empty.

3.1.1

* Add support for custom default layouts.

3.1.0

* Do a deep clone of the settings object during inheritance.
* Start namespacing plugins (i.e. settings[:render]).
* Use rack/test when doing `require 'cuba/test'`.
* Capybara available via `require 'cuba/capybara'`.
* Use a default hash for the render plugin.
* Allow the use of custom Request and Response objects.

3.0.0

* Remove Cuba.build. Use subclassing instead.
* Remove warnings.
* Use Cuba::Response instead of Rack::Response.
* Integrate Cuba.plugin and Cuba.settings.
* Remove Cuba::VERSION.
* Rename _call to call! (inspired from Sinatra).
* Fix a memory leak with the caching used in Tilt.
* Adding syntax highlighting to the README Code blocks

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cuba-3.6.0 CHANGELOG