Sha256: af5d28a895e4161dd83fa0b0228c4a2a94e38850966dda37aa905029244adce0

Contents?: true

Size: 1.29 KB

Versions: 2

Compression:

Stored size: 1.29 KB

Contents

3.8.0

* Change gemspec to allow Rack 2.

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

2 entries across 2 versions & 1 rubygems

Version Path
cuba-3.8.1 CHANGELOG
cuba-3.8.0 CHANGELOG