embulk-output-multi 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0da2d60e10e0930e908e7fb4c261b07a6289c709
4
- data.tar.gz: da8a2b1cfcfb09969965c4c54d7ce2a3d57ea2f3
3
+ metadata.gz: 64f8c15886eeb3630457cc61b416f6be28979963
4
+ data.tar.gz: 4a2645387594056c95b3112d23edbee8a9cc09cb
5
5
  SHA512:
6
- metadata.gz: ad76fc7d3ba6dc6b6734c79b81a2cbe833e41de80bcdde9e6b07a4058fbef42743f77db6fb30c40ae21cf3addd1210fc2f327285e59dbeb63a65addc9439e995
7
- data.tar.gz: aa39b7f67554bcc4ab62e928e7356f80c2851b36d403c895dae84ace06c31ade7627bfa521279fcbedbc7ff67e0245989626820b0305000babd4d8fad780e773
6
+ metadata.gz: 7b8143fcd5a6e298fd08ff56eade607b609354912b9491a0e4b6414d9a4d1519077de18b093fb762ea2e48ec3d761f078857f8227b647a98e02a28ee8b0f6d3e
7
+ data.tar.gz: 87fb2a2a32838f0676a4939fab2ed1d255216eaddc7a80d7c818e4de001cbdccb418158622c2ef889149b45559b82e5432b3e9a69a33aba5e9e9df0402e31b31
@@ -1,5 +1,5 @@
1
1
  plugins {
2
- id "com.github.kamatama41.embulk" version "0.4.0"
2
+ id "com.github.kamatama41.embulk" version "0.5.2"
3
3
  id "net.researchgate.release" version "2.8.0"
4
4
  }
5
5
 
@@ -17,8 +17,8 @@ configurations {
17
17
  }
18
18
 
19
19
  dependencies {
20
- testImplementation "org.embulk:embulk-standards:0.9.15"
21
- testImplementation "org.embulk:embulk-test:0.9.15"
20
+ testImplementation "org.embulk:embulk-standards:0.9.19"
21
+ testImplementation "org.embulk:embulk-test:0.9.19"
22
22
  testImplementation "com.github.kamatama41:embulk-test-helpers:0.7.4"
23
23
  testImplementation "org.junit.jupiter:junit-jupiter-api:5.3.2"
24
24
  testImplementation "org.junit.jupiter:junit-jupiter-engine:5.3.2"
@@ -29,7 +29,7 @@ test {
29
29
  }
30
30
 
31
31
  embulk {
32
- version = "0.9.15"
32
+ version = "0.9.19"
33
33
  category = "output"
34
34
  name = "multi"
35
35
  authors = ["Shinichi ISHIMURA"]
@@ -1 +1 @@
1
- version=0.4.0
1
+ version=0.4.1
@@ -9,15 +9,11 @@ com.fasterxml.jackson.datatype:jackson-datatype-guava:2.6.7
9
9
  com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.6.7
10
10
  com.fasterxml.jackson.datatype:jackson-datatype-joda:2.6.7
11
11
  com.fasterxml.jackson.module:jackson-module-guice:2.6.7
12
- com.google.code.findbugs:annotations:3.0.0
13
12
  com.google.guava:guava:18.0
14
13
  com.google.inject.extensions:guice-multibindings:4.0
15
14
  com.google.inject:guice:4.0
16
15
  com.ibm.icu:icu4j:54.1.1
17
16
  commons-beanutils:commons-beanutils-core:1.8.3
18
- commons-cli:commons-cli:1.3.1
19
- commons-collections:commons-collections:3.2.1
20
- commons-lang:commons-lang:2.4
21
17
  io.airlift:slice:0.9
22
18
  io.netty:netty-buffer:4.0.44.Final
23
19
  io.netty:netty-common:4.0.44.Final
@@ -27,8 +23,7 @@ joda-time:joda-time:2.9.2
27
23
  org.apache.bval:bval-core:0.5
28
24
  org.apache.bval:bval-jsr303:0.5
29
25
  org.apache.commons:commons-lang3:3.4
30
- org.apache.velocity:velocity:1.7
31
- org.embulk:embulk-core:0.9.15
26
+ org.embulk:embulk-core:0.9.19
32
27
  org.jruby:jruby-complete:9.1.15.0
33
28
  org.msgpack:msgpack-core:0.8.11
34
29
  org.slf4j:slf4j-api:1.7.12
@@ -10,15 +10,11 @@ com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.6.7
10
10
  com.fasterxml.jackson.datatype:jackson-datatype-joda:2.6.7
11
11
  com.fasterxml.jackson.module:jackson-module-guice:2.6.7
12
12
  com.github.kamatama41:embulk-test-helpers:0.7.4
13
- com.google.code.findbugs:annotations:3.0.0
14
13
  com.google.guava:guava:18.0
15
14
  com.google.inject.extensions:guice-multibindings:4.0
16
15
  com.google.inject:guice:4.0
17
16
  com.ibm.icu:icu4j:54.1.1
18
17
  commons-beanutils:commons-beanutils-core:1.8.3
19
- commons-cli:commons-cli:1.3.1
20
- commons-collections:commons-collections:3.2.1
21
- commons-lang:commons-lang:2.4
22
18
  io.airlift:slice:0.9
23
19
  io.netty:netty-buffer:4.0.44.Final
24
20
  io.netty:netty-common:4.0.44.Final
@@ -30,11 +26,10 @@ org.apache.bval:bval-core:0.5
30
26
  org.apache.bval:bval-jsr303:0.5
31
27
  org.apache.commons:commons-compress:1.10
32
28
  org.apache.commons:commons-lang3:3.4
33
- org.apache.velocity:velocity:1.7
34
29
  org.apiguardian:apiguardian-api:1.0.0
35
- org.embulk:embulk-core:0.9.15
36
- org.embulk:embulk-standards:0.9.15
37
- org.embulk:embulk-test:0.9.15
30
+ org.embulk:embulk-core:0.9.19
31
+ org.embulk:embulk-standards:0.9.19
32
+ org.embulk:embulk-test:0.9.19
38
33
  org.hamcrest:hamcrest-core:1.3
39
34
  org.hamcrest:hamcrest-library:1.3
40
35
  org.jruby:jruby-complete:9.1.15.0
@@ -46,7 +46,7 @@ public class MultiOutputPlugin implements OutputPlugin {
46
46
  public ConfigDiff transaction(ConfigSource config, Schema schema, int taskCount, OutputPlugin.Control control) {
47
47
  final PluginTask task = config.loadConfig(PluginTask.class);
48
48
  if (task.getOutputConfigs().isEmpty()) {
49
- throw new ConfigException("'outputs' must have more than than or equals to 1 element.");
49
+ throw new ConfigException("'outputs' must have more than or equals to 1 element.");
50
50
  }
51
51
  final ExecSession session = Exec.session();
52
52
  final AsyncRunControl runControl = AsyncRunControl.start(task, control);
@@ -38,6 +38,7 @@ public class MultiTransactionalPageOutput implements TransactionalPageOutput {
38
38
  @Override
39
39
  public void add(Page page) {
40
40
  applyToAllPlugins(delegate -> delegate.add(copyPage(page)));
41
+ page.release();
41
42
  }
42
43
 
43
44
  @Override
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-output-multi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shinichi ISHIMURA
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-11 00:00:00.000000000 Z
11
+ date: 2019-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -50,7 +50,7 @@ files:
50
50
  - LICENSE
51
51
  - README.md
52
52
  - build.gradle
53
- - classpath/embulk-output-multi-0.4.0.jar
53
+ - classpath/embulk-output-multi-0.4.1.jar
54
54
  - gradle.properties
55
55
  - gradle/dependency-locks/compileClasspath.lockfile
56
56
  - gradle/dependency-locks/testCompileClasspath.lockfile
@@ -64,7 +64,6 @@ files:
64
64
  - src/main/java/org/embulk/output/multi/MultiOutputPlugin.java
65
65
  - src/main/java/org/embulk/output/multi/MultiTransactionalPageOutput.java
66
66
  - src/main/java/org/embulk/output/multi/OutputPluginDelegate.java
67
- - src/main/java/org/embulk/output/multi/PluginExecutionException.java
68
67
  - src/main/java/org/embulk/output/multi/TaskReports.java
69
68
  - src/test/java/org/embulk/output/multi/TestMultiOutputPlugin.java
70
69
  - src/test/resources/yaml/in_base.yml
@@ -1,15 +0,0 @@
1
- package org.embulk.output.multi;
2
-
3
- class PluginExecutionException extends RuntimeException {
4
-
5
- private final OutputPluginDelegate plugin;
6
-
7
- PluginExecutionException(OutputPluginDelegate plugin, Throwable cause) {
8
- super(cause);
9
- this.plugin = plugin;
10
- }
11
-
12
- OutputPluginDelegate getPlugin() {
13
- return plugin;
14
- }
15
- }