jobs/transforms/date_diff_job.rb in remi-0.2.27 vs jobs/transforms/date_diff_job.rb in remi-0.2.28

- old
+ new

@@ -13,9 +13,9 @@ define_transform :main, sources: :source_data, targets: :target_data do Remi::SourceToTargetMap.apply(source_data.df, target_data.df) do map source(:date1, :date2) .target(:difference) .transform(->(d1,d2) { [Date.strptime(d1), Date.strptime(d2)] }) - .transform(Remi::Transform[:date_diff].(params[:measure])) + .transform(Remi::Transform::DateDiff.new(params[:measure])) end end end