Sha256: 6b23a3ad8936277f35d28d756cf3fd9ab92e43fc119e6ee4d909d480652061ae

Contents?: true

Size: 1.25 KB

Versions: 1

Compression:

Stored size: 1.25 KB

Contents

3.7.0

* Add syntactic sugar for matching all HTTP methods.

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