Dossier does its best to use semantic versioning.
- Support namespaces for report names (
cats/are/super_fun
=>Cats::Are::SuperRunReport
- Moved controller response formats into responder class
- Added renderer that contains logic for custom views, this has a pluggable engine depending on if the request is through the controller or through direct object access. If it is through the controller, the controller will be used as the rendering engine, otherwise a basic controller that only renders will be used.
- Added
formatted_dossier_report_path
helper method
- Support ability to combine reports into a macro report using the Dossier::MultiReport class
- Made
#report_class
a public method onDossier::ReportsController
for easier integration with authorization gems - Moved "Download CSV" link to top of default report view
- Formatting the header is now an instance method on the report class called
format_header
(thanks @rubysolo) - Rails 4 compatibility (thanks @rubysolo)
- Fixed bug when using class names in SQL queries, only lowercase symbols that are a-z will be replaced with the respective method call.
- Added view generator for Rails (thanks @wzcolon)
Removed view
method from report. Moved all logic for converting to and from report names from classes into Dossier module. Refactored spec support files. Fixed issue when rendering dossier template outside of Dossier::ReportsController
.
Support for XLS output, added by michelboaventura
Fixed bug: in production, CSV rendering should not contain a backtrace if there's an error.
Formatter methods will now be passed a hash of the row values if they accept a second argument. This allows formatting certain rows specially.
Switched away from classify
in determining report name to avoid singularization.
First public release (previously internal)