Sha256: 055105591641bea17d2a5e696a799fb3e1eeb50eaeee01b919001281af3559e7

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 KB

Contents

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.5.0 CHANGELOG