Commit 6c4d4c56 authored by Klaus Wölfel's avatar Klaus Wölfel

Rename to none-bin

parent fe929a1c
# None parser plugin for Embulk # None parser plugin for Embulk
Embulk parser plugin not to parse at all Embulk parser plugin not to parse at all for binary files
## Install ## Install
``` ```
$ embulk gem install embulk-parser-none $ embulk gem install embulk-parser-none-bin
``` ```
## Overview ## Overview
...@@ -24,7 +24,7 @@ in: ...@@ -24,7 +24,7 @@ in:
type: file type: file
path_prefix: example.txt path_prefix: example.txt
parser: parser:
type: none type: none-bin
column_name: payload column_name: payload
``` ```
......
...@@ -56,12 +56,12 @@ task gemspec { ...@@ -56,12 +56,12 @@ task gemspec {
Gem::Specification.new do |spec| Gem::Specification.new do |spec|
spec.name = "${project.name}" spec.name = "${project.name}"
spec.version = "${project.version}" spec.version = "${project.version}"
spec.authors = ["Naotoshi Seo"] spec.authors = ["Klaus Woelfel"]
spec.summary = %[None parser plugin for Embulk] spec.summary = %[None bin parser plugin for Embulk]
spec.description = %[Embulk parser plugin not to parse at all.] spec.description = %[Embulk parser plugin not to parse at all.]
spec.email = ["sonots@gmail.com"] spec.email = ["klaus@nexedi.com"]
spec.licenses = ["MIT"] spec.licenses = ["MIT"]
spec.homepage = "https://github.com/sonots/embulk-parser-none" spec.homepage = "https://lab.nexedi.com/klaus/embulk-parser-none-bin"
spec.files = `git ls-files`.split("\n") + Dir["classpath/*.jar"] spec.files = `git ls-files`.split("\n") + Dir["classpath/*.jar"]
spec.test_files = spec.files.grep(%r"^(test|spec)/") spec.test_files = spec.files.grep(%r"^(test|spec)/")
......
Embulk::JavaPlugin.register_parser( Embulk::JavaPlugin.register_parser(
"none", "org.embulk.parser.NoneParserPlugin", "none-bin", "org.embulk.parser.NoneBinParserPlugin",
File.expand_path('../../../../classpath', __FILE__)) File.expand_path('../../../../classpath', __FILE__))
rootProject.name = 'embulk-parser-none' rootProject.name = 'embulk-parser-none-bin'
...@@ -26,7 +26,7 @@ import static org.embulk.spi.type.Types.STRING; ...@@ -26,7 +26,7 @@ import static org.embulk.spi.type.Types.STRING;
import org.slf4j.Logger; import org.slf4j.Logger;
public class NoneParserPlugin public class NoneBinParserPlugin
implements ParserPlugin implements ParserPlugin
{ {
static int MAX_NAME_LENGTH = 255; static int MAX_NAME_LENGTH = 255;
...@@ -41,9 +41,9 @@ public class NoneParserPlugin ...@@ -41,9 +41,9 @@ public class NoneParserPlugin
private final Logger log; private final Logger log;
public NoneParserPlugin() public NoneBinParserPlugin()
{ {
this.log = Exec.getLogger(NoneParserPlugin.class); this.log = Exec.getLogger(NoneBinParserPlugin.class);
} }
@Override @Override
......
package org.embulk.parser; package org.embulk.parser;
public class TestNoneParserPlugin public class TestNoneBinParserPlugin
{ {
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment