All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Strings, Arrays and Hashes are now duplicated regardless of the ValueParser parameter
- Target parsed by ValueParser.parse_and_execute method no longer is duplicated
- This fixes a bug where active record relations would not properly function
- ValueParser.parse has now a third parameter, a boolean on whether to duplicate
- Reference to schema file
- Add "json_schemer" to gem dependencies
- Add template object
- Report types can opt in to parsing the data themselves
- Added "to_csv" method to report
- Added ">string" array function
- Added ">range" array function
- Added ">sum" array function
- Added "!nf" and "!ni" to convert a number to a float or integer
- Added "snippets"
- Added JSON Schema for report validation
- Preset report now takes in a "values" array, rather than a "data" array
- Refactor loader to be report loader
- "variables" have now been moved to be underneath the "metadata" tag.
- "metadata" is now passed to the Value parser instead of "variables"
- Re-ordered changelog to be latest change first
- Changelog now has KeepAChangelog info header
- The Method function now works with non-string targets
- Added parser for true, false and nil ("@true", "@false", "@nil")
- Escape parsed methods and values starting with a special character
- Added Report parser
- Added "!j" join function.
- Added [">"] array helper functions.
- Load from template method now parses the report through the Report parser.
- Plain strings in the model report method list return as a string rather than nil
- Arrays starting with a string containing only a hash attempt to use the second value as target
- Improved Loader's row splitting.
- Refactored Value parser, allowing for custom functions
- Method Parser no longer ignores empty and nil results.
- Model report no longer double-parses values.
- Move Base class to it's own file
- Now uses require_rel rather than require_all
- Initial release
- Value parser
- Method parser
- Preset report type
- Model report type
- Readme with report tutorial