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

Rename to none-bin

parent fe929a1c
# 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
```
$ embulk gem install embulk-parser-none
$ embulk gem install embulk-parser-none-bin
```
## Overview
......@@ -24,7 +24,7 @@ in:
type: file
path_prefix: example.txt
parser:
type: none
type: none-bin
column_name: payload
```
......
......@@ -56,12 +56,12 @@ task gemspec {
Gem::Specification.new do |spec|
spec.name = "${project.name}"
spec.version = "${project.version}"
spec.authors = ["Naotoshi Seo"]
spec.summary = %[None parser plugin for Embulk]
spec.authors = ["Klaus Woelfel"]
spec.summary = %[None bin parser plugin for Embulk]
spec.description = %[Embulk parser plugin not to parse at all.]
spec.email = ["sonots@gmail.com"]
spec.email = ["klaus@nexedi.com"]
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.test_files = spec.files.grep(%r"^(test|spec)/")
......
Embulk::JavaPlugin.register_parser(
"none", "org.embulk.parser.NoneParserPlugin",
"none-bin", "org.embulk.parser.NoneBinParserPlugin",
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;
import org.slf4j.Logger;
public class NoneParserPlugin
public class NoneBinParserPlugin
implements ParserPlugin
{
static int MAX_NAME_LENGTH = 255;
......@@ -41,9 +41,9 @@ public class NoneParserPlugin
private final Logger log;
public NoneParserPlugin()
public NoneBinParserPlugin()
{
this.log = Exec.getLogger(NoneParserPlugin.class);
this.log = Exec.getLogger(NoneBinParserPlugin.class);
}
@Override
......
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