Sha256: 7b1497fdfa2da1f487c5fd3e7c75c59c160c42881d2a6074c7ba534978c487a3
Contents?: true
Size: 1.15 KB
Versions: 37
Compression:
Stored size: 1.15 KB
Contents
= New Features * An :explicit_cache option has been added to the render plugin. This is similar to the :cache=>false option, but instead of disabling caching completely, this disables caching by default but allows for explicit caching of templates by providing the :cache option to view/render. In development mode, Roda now defaults to :explicit_cache=>true instead of :cache=>false. * An :inherit_cache option has been added to the render plugin, making subclasses of that class start with a dup of the template cache, instead of starting with an empty template cache. This can result in less memory used. * Roda#error_email in the error_email plugin now accepts non-Exception arguments (such as strings). This can be useful in conditions that are errors you may want to notify about, where an exception hasn't been raised. * Roda#error_email_content has been added to the error_email plugin. This can be used to create the email message, which can be delivered via another mechanism, and may make testing easier. = Other Improvements * Roda.freeze in the static_routing plugin now returns self, fixing code such as Roda.freeze.app.
Version data entries
37 entries across 37 versions & 1 rubygems