Sha256: b4efcb9f4d6be0d05154044acd671b69014c20b13e79da91ab777d1c7c29b2e2

Contents?: true

Size: 489 Bytes

Versions: 15

Compression:

Stored size: 489 Bytes

Contents

require_relative 'all_jobs_shared'

class CsvFileTargetJob
  include AllJobsShared

  define_target :some_csv_file, Remi::DataTarget::CsvFile,
    path: "#{Remi::Settings.work_dir}/some_file.csv",
    csv_options: {
      col_sep: '|'
    }

  define_transform :main do
    some_csv_file.df = Daru::DataFrame.new({
      col3: Faker::Hipster.words(10),
      col1: Faker::Hipster.words(10),
      col2: ["uh, \"oh"] + Faker::Hipster.words(9)
    }, order: [:col3, :col1, :col2])
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
remi-0.2.42 jobs/csv_file_target_job.rb
remi-0.2.41 jobs/csv_file_target_job.rb
remi-0.2.40 jobs/csv_file_target_job.rb
remi-0.2.39 jobs/csv_file_target_job.rb
remi-0.2.38 jobs/csv_file_target_job.rb
remi-0.2.37 jobs/csv_file_target_job.rb
remi-0.2.36 jobs/csv_file_target_job.rb
remi-0.2.35 jobs/csv_file_target_job.rb
remi-0.2.34 jobs/csv_file_target_job.rb
remi-0.2.33 jobs/csv_file_target_job.rb
remi-0.2.32 jobs/csv_file_target_job.rb
remi-0.2.31 jobs/csv_file_target_job.rb
remi-0.2.30 jobs/csv_file_target_job.rb
remi-0.2.29 jobs/csv_file_target_job.rb
remi-0.2.28 jobs/csv_file_target_job.rb