Releases: lyrasis/kiba-extend
Releases · lyrasis/kiba-extend
More flexible job creator definition options in registry
v2.7.1
v2.6.0
Bugfix for specifying `fields: :all`
Bug was introduced in 2.5.2
Wrap `fields` parameter to transforms in Array
Fix bug where CSV write fails if a non-existent initial_header is specified
It is common in the development of a project to want to see a column
near the front of a CSV, but to later remove that column.
Previously, if you didn't remove that column from the
initial_headers specification, you'd get an ugly CSV write error
that would lead you down the wrong debugging path.
Now, you get a warning that should encourage you to update your output
file specifications, but the CSV will be written ignoring the missing column.
Closes #32
adds JsonArray destination, Ruby 3.0 compatibility
- Adds
Kiba::Extend::Destinations::JsonArray
destination - Add support for new JsonArray destination in jobs (fiddling with how arguments/file options get assigned to different source and destination classes, etc)
- Fixes arguments so everything doesn't blow up under Ruby 3.0
- Removes TestingJob as a real class, as tests using that class all blew up with I messed with the argument stuff. The spec Helpers module now contains a TestJob class to support testing of transformations. Downside: this does not provide support for testing project-specific transforms in projects using kiba-extend. However, the more I thought about that, the more I wanted to be able to just run some automated tests on the real output of my project-specific processes, which would be a completely different testing process anyway.
Runnable jobs listing tasks
Running thor jobs:tagged
, thor jobs:tagged_and
, or thor jobs:tagged_or
with the run option set to true will now run the retrieved tasks.
Use Thor for CLI task interface
Use Thor instead of Rake, since it supports passing in parameters less awkwardly