0.4.0
The README.md has been updated to describe these changes in detail.
Ruby library changes
New Enumerator class which adds new features:
- iteration over results with
#each
, which yields value, parent, index and normalized path for each match - deletion of matched values with
#delete
- all
Enumerable
module methods: #map, #select, #reject, #filter_map, #find, #find_all, etc.
Breaking change:
- Janeway.find_all method is renamed to #search and moved to the Enumerator class (method name #find_all is already used by the Enumerable module)
Janeway command-line tool changes
New features:
- new option to print the entire input with the matched values deleted
- allow query to be provided for parsing, without requiring input