Releases: thbar/kiba-common
Releases · thbar/kiba-common
v1.5.0
v1.1.0
- Support for Ruby 2.7+ (affects CSV source and destination)
- Breaking:
show_me!
is now compatible with bothawesome_print
and its modern replacementamazing_print
. You will have torequire
the one you want to use in your code from now on. - Breaking:
SourceTransformAdapter
has been removed due to complexities with Ruby 2.7+ keyword arguments. The suggested replacement is to useEnumerator
andEnumerableExploder
like this:
# before
transform SourceTransformAdapter
# after
transform do |klass, args|
Enumerator.new do |y|
# NOTE: you may have to use double-splat (**) here instead
# if you provide keyword arguments, or other variants
klass.new(*args).each do |r|
y << r
end
end
end
transform Kiba::Common::Transforms::EnumerableExploder