- Custom run_modes
- XlsxInput without headers
- Custom reset hook
- Increment counters by a given amount
WorkerTools::Errors::Invalid has being replaced with WorkerTools::Errors::Silent
The method non_failure_error? has being replaced with silent_error?
1.0.0 - 2022-05-20
Compared to 0.2.1
- Namespaced errors and non failure logic
- Support for status running and complete_with_warnings
- Benchmark wrapper
- Counters wrapper
- Notes instead of information field
- Filter for slack errors (
slack_error_notifiable) - Model attachments convention
- Complete specification of csv open arguments
Instead of writing the final csv or xlsx to a folder, the gem assumes that the model provides an add_attachment method.
Both csv and xlsx output modules use entry hashes for content (csv_output_entries, xlsx_output_entries). The mapper methods csv_output_row_values and xlsx_output_row_values do not need (in most cases) to be defined, there is a default now. See the complete examples in the README.
These methods were renamed
xlsx_output_values=>xlsx_output_row_valuesxlsx_insert_headers=>xlsx_output_insert_headersxlsx_insert_rows=>xlsx_output_insert_rowsxlsx_iterators=>xlsx_output_iteratorsxlsx_style_columns=>xlsx_output_style_columnsxlsx_write_sheet=>xlsx_output_write_sheet
These methods were removed
add_infoin favor ofadd_notecreate_model_if_not_available, a model is always created.format_log_message,format_info_messagein favor offormat_messagecsv_output_targetcvs_output_target_foldercsv_output_target_file_namecsv_ouput_ensure_target_foldercsv_output_write_targetxlsx_output_targetxlsx_output_target_folderxlsx_ensure_output_target_folderxlsx_write_output_target