Socket
Book a DemoInstallSign in
Socket

embulk-parser-none-bin

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

embulk-parser-none-bin

0.2.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

None parser plugin for Embulk

Embulk parser plugin not to parse at all for binary files

Install

$ embulk gem install embulk-parser-none-bin

Overview

  • Plugin type: parser
  • Guess supported: no

Configuration

  • column_name: A column name which this plugin outputs (string, default: "payload")

Example

in:
  type: file
  path_prefix: example.txt
  parser:
    type: none-bin
    column_name: payload

Assume the input file (example.txt) is as following:

foo bar baz
foo bar baz

then this plugin treats as:

+----------------+
| payload:string |
+----------------+
| foo bar baz    |
| foo bar baz    |
+----------------+

To recover a file, you may use embulk-formatter-single_value as:

out:
  type: file
  path_prefix: example.txt
  sequence_format: ""
  file_ext: .out
  formatter:
    type: single_value

or csv formatter as:

out:
  type: file
  path_prefix: example.txt
  sequence_format: ""
  file_ext: .out
  formatter:
    type: csv
    delimiter: 0
    quote_policy: NONE
    header_line: false

ChangeLOG

CHANGELOG.md

Development

Run example:

$ embulk gem install embulk-formatter-single_value
$ ./gradlew classpath
$ embulk run -I lib example.yml

Run test:

$ ./gradlew test

Release gem:

$ ./gradlew gemPush

FAQs

Package last updated on 23 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.