Skip to content

Releases: lyrasis/kiba-extend

string fallback_val for Replace::FieldValueWithStaticMapping

30 Nov 16:57
ebe96cd
Compare
Choose a tag to compare

Previously, if a string was given for fallback_val, the replaced field would be blank. Only :orig and :nil fallback_val values were handled.

Now, the replaced field will contain the fallback_val string if the static mapping does not contain the key being looked up.

add Explode::FieldValuesToNewRows

19 Nov 00:43
059d47f
Compare
Choose a tag to compare

New transformation added.

Merge::MultivalueConstant

04 Nov 15:57
51a0ab6
Compare
Choose a tag to compare

Add a specified constant value to a new multivalued field. Number of times the constant is added is based on number of values in specified field. Where specified field value is nil, blank, or equal to specified placeholder string, the placeholder string is added to new field instead.

Bugfix for Replace::FieldValueWithStaticMapping

02 Nov 23:11
a455f95
Compare
Choose a tag to compare

Does not croak when multivalue option is used and field value is nil

Replace::EmptyFieldValues

02 Nov 22:57
6206612
Compare
Choose a tag to compare

Adds new transform to replace nil or blank string values in specified field(s) with the given string.

Add options to existing transforms

02 Nov 19:08
1394a29
Compare
Choose a tag to compare

With this update,

  • Replace::FieldValueWithStaticMapping can handle multival fields
  • Clean::RegexpFindReplaceFieldVals can take :all as fields value to globally replace a value

Bugfix for CombineValues::FromFieldsWithDelimiter

20 Oct 21:24
7303932
Compare
Choose a tag to compare

This did not work properly when more than one source field value in a row was an empty string.

For example, two empty string fields combined with separator ' -- ' would be output as: ' -- '.

Now all empty string values are converted to nil and dropped before field values are combined.

Add :nulltonil CSV library converter

15 Oct 19:46
d3d9c26
Compare
Choose a tag to compare

Adds converter for Ruby standard CSV library that converts all cells with "NULL" to nil values.

Add casesensitive option to Deduplicate::Fields transform

29 Sep 16:17
Compare
Choose a tag to compare

Adds casesensitive option (defaulting to true)

Addition of transform: Deduplicate::Fields

29 Sep 15:54
Compare
Choose a tag to compare

Removes value(s) of source field from target field(s)