| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2015-06-18 | 1.0 kB | |
| v0.1.3.tar.gz | 2015-06-18 | 34.2 kB | |
| v0.1.3.zip | 2015-06-18 | 56.1 kB | |
| Totals: 3 Items | 91.3 kB | 0 | |
What's new:
- default routes for controllers - if Amethyst didn't find regular route, it will try to handle default one - /:controller/:action
- improve and optimize cookies support
- introduce params - all params(GET, POST, path) in one place
- params (also query_parameters, request_parameters and path_parameters)keys can be Symbol or String - it is no matter from now(params["id"] == params[:id])
- add has_keys?(Array) for parameters. If at least one key is missing, it will return false
- add HttpMethodNotAllowed and HttpNotImplemented Exceptions. In production mode, they will be turned to HttpNotFound error page.
- fix HttpException raising in controllers
- fix bug with empty values of parameters. Now, by default, all unsetted parameters will be empty string( for example, if controller invoked with path example.com?id=5&name=, params will be "", not nil , thanks to @bararchy
- fix scope bug when require "amethyst", thanks to @paa001
- improve and add more specs