No commit activity in last 3 years
No release in over 3 years
Script Ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.10.6
>= 0.8.9
>= 10.0
 Project Readme

Script Ruby filter plugin for Embulk

TODO: Write short description here and embulk-filter-script_ruby.gemspec file.

Overview

  • Plugin type: filter

Configuration

  • script: script file (string, required)
  • class: class name (string, required)
  • columns: output columns (array, default: null)

Example

filters:
  - type: script_ruby
    script: filter_hoge
    class: FilterHoge
    columns:
      - {name: id, type: string}
      ...

filter_hoge.rb

class FilterHoge
  def initialize()
    ...
  end
  
  def filter(record)
    ...
    record
  end
end
$ embulk run -I lib config.yml

Build

$ rake