Skip to content

Releases: lyrasis/kiba-extend

Add `Merge::CompareFieldsFlag` transform

01 Jun 16:52
ad2c48b
Compare
Choose a tag to compare

Enters "same" into target if the value in all fields specified is the same. Otherwise, enters "diff" into target.

downcase true converts all values to lowercase before comparing. strip true removes leading/trailing spaces. Neither option changes the values in fields

ignore_blank true would result in "same" if 2 field values were the same but 1 was empty. ignore_blank false would report "diff" in this situation.

Bugfix for Merge::MultiRowLookup

26 May 20:41
e39b72c
Compare
Choose a tag to compare

if there was no key (nothing to look up/match on), crashed because you can't split on nil

Adds `multikey` parameter to `Merge::MultiRowLookup` transform

26 May 20:10
9a23a4f
Compare
Choose a tag to compare

Adds multikey parameter to Merge::MultiRowLookup transform.

This is set to false by default to make the change non-breaking. If keycolumn value is 'a|b', will merge in values for rows with lookup key 'a|b'.

If set to true (and delim = '|'), will merge in values for rows with lookup key 'a', followed by those with lookup key 'b'

`Append::NilFields` transform class added

21 May 22:23
1abc820
Compare
Choose a tag to compare
Merge pull request #15 from lyrasis/append-fields

add Append::NilFields transform class

Support for %NULLVALUE% handling in Clean transforms

20 May 20:02
d408d43
Compare
Choose a tag to compare

Adds the use_nullvalue transform initialization parameter to Clean::EmptyFieldGroups and Clean::DelimiterOnlyFields

This causes %NULLVALUE% to be treated as a blank value for the purposes of these transforms.

Update CSV gem version

13 May 16:39
4e990d1
Compare
Choose a tag to compare

Updates CSV gem to ~> 3.0

MsAccess::ScientificNotationToNumberString tranform

23 Apr 23:08
aa5f75b
Compare
Choose a tag to compare

add MsAccess::ScientificNotationToNumberString tranform -- mdbtools converts Number fields to Doubles which come out as scientific notation when you use mdb-export. This allows you to convert those values to the expected number strings

Upgrade Kiba; actual README

29 Mar 16:50
Compare
Choose a tag to compare
  • Use Kiba version 4.0.0
  • Add a real README

Improvements to CSV converters and Clean::ClearFields

19 Mar 22:53
Compare
Choose a tag to compare
  • stripplus CSV converter strips leading/trailing %LINEBREAK% and %CRLF%
  • cells = NULL are transformed to nil by both csv converter
  • add optional if_equals argument to Clean::ClearFields

Append::ToFieldValue

04 Dec 22:36
a350ebe
Compare
Choose a tag to compare

Adds constant value to end of field value if field is not nil or empty.