Download Latest Version v0.1.7.zip (41.3 kB)
Email in envelope

Get an email when there's a new version of Amethyst

Home / v0.1.3
Name Modified Size InfoDownloads / 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

Source: README.md, updated 2015-06-18