embulk-output-multi 0.4.1 → 0.5.0

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: 64f8c15886eeb3630457cc61b416f6be28979963
4
- data.tar.gz: 4a2645387594056c95b3112d23edbee8a9cc09cb
3
+ metadata.gz: d23fe45b21d16664727849db0d1af9015a180834
4
+ data.tar.gz: 5b3dbb7047049be9dd3784cafb93855e1288fc36
5
5
  SHA512:
6
- metadata.gz: 7b8143fcd5a6e298fd08ff56eade607b609354912b9491a0e4b6414d9a4d1519077de18b093fb762ea2e48ec3d761f078857f8227b647a98e02a28ee8b0f6d3e
7
- data.tar.gz: 87fb2a2a32838f0676a4939fab2ed1d255216eaddc7a80d7c818e4de001cbdccb418158622c2ef889149b45559b82e5432b3e9a69a33aba5e9e9df0402e31b31
6
+ metadata.gz: 0fe2a6a708a3602be1e8512eba3d2ab3d9e4fd789ce833a0f5872f7c9790adc4112463d0ed5f84e45224bff331ef2594c4cff9596288c91be8144e04ce7ad7a9
7
+ data.tar.gz: 6b66ca734eb9786edd92632ede8678c2152a22b4ffa668215ea12d3ebc9250364582c0399e30ab130ce7ab2ff8de4dd245b34b8b61e2c10ef30ed34656ece096
data/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  # Multi output plugin for Embulk
2
2
 
3
- This plugin can copies an output to multiple destinations.
3
+ This plugin copies an output to multiple destinations.
4
4
 
5
5
  ### Notes
6
6
  - It's still very experimental version, so might change its configuration names or styles without notification.
7
- - It might have performance issues or bugs when loading large records.
8
- - It might not working on other executors than LocalExecutor.
7
+ - As this plugin performs multiple output methods, it might have a performance issue with large records.
8
+ - It might not work on other executors than LocalExecutor.
9
9
  - I would appreciate it if you use this and give me reports/feedback!
10
10
 
11
11
  ## Overview
@@ -27,13 +27,13 @@ out:
27
27
  outputs:
28
28
  # Output to stdout
29
29
  - type: stdout
30
- # Output to file as CSV
30
+ # Output to files as CSV
31
31
  - type: file
32
32
  path_prefix: out_file_
33
33
  file_ext: csv
34
34
  formatter:
35
35
  type: csv
36
- # Output to file as TSV
36
+ # Output to files as TSV
37
37
  - type: file
38
38
  path_prefix: out_file_
39
39
  file_ext: tsv
@@ -17,8 +17,10 @@ configurations {
17
17
  }
18
18
 
19
19
  dependencies {
20
- testImplementation "org.embulk:embulk-standards:0.9.19"
21
- testImplementation "org.embulk:embulk-test:0.9.19"
20
+ testImplementation "org.embulk:embulk-deps-buffer:0.9.23"
21
+ testImplementation "org.embulk:embulk-deps-config:0.9.23"
22
+ testImplementation "org.embulk:embulk-standards:0.9.23"
23
+ testImplementation "org.embulk:embulk-test:0.9.23"
22
24
  testImplementation "com.github.kamatama41:embulk-test-helpers:0.7.4"
23
25
  testImplementation "org.junit.jupiter:junit-jupiter-api:5.3.2"
24
26
  testImplementation "org.junit.jupiter:junit-jupiter-engine:5.3.2"
@@ -29,7 +31,7 @@ test {
29
31
  }
30
32
 
31
33
  embulk {
32
- version = "0.9.19"
34
+ version = "0.9.23"
33
35
  category = "output"
34
36
  name = "multi"
35
37
  authors = ["Shinichi ISHIMURA"]
@@ -1 +1 @@
1
- version=0.4.1
1
+ version=0.5.0
@@ -12,19 +12,14 @@ com.fasterxml.jackson.module:jackson-module-guice:2.6.7
12
12
  com.google.guava:guava:18.0
13
13
  com.google.inject.extensions:guice-multibindings:4.0
14
14
  com.google.inject:guice:4.0
15
- com.ibm.icu:icu4j:54.1.1
16
15
  commons-beanutils:commons-beanutils-core:1.8.3
17
- io.airlift:slice:0.9
18
- io.netty:netty-buffer:4.0.44.Final
19
- io.netty:netty-common:4.0.44.Final
20
16
  javax.inject:javax.inject:1
21
17
  javax.validation:validation-api:1.1.0.Final
22
18
  joda-time:joda-time:2.9.2
23
19
  org.apache.bval:bval-core:0.5
24
20
  org.apache.bval:bval-jsr303:0.5
25
21
  org.apache.commons:commons-lang3:3.4
26
- org.embulk:embulk-core:0.9.19
22
+ org.embulk:embulk-core:0.9.23
27
23
  org.jruby:jruby-complete:9.1.15.0
28
24
  org.msgpack:msgpack-core:0.8.11
29
25
  org.slf4j:slf4j-api:1.7.12
30
- org.yaml:snakeyaml:1.18
@@ -13,7 +13,6 @@ com.github.kamatama41:embulk-test-helpers:0.7.4
13
13
  com.google.guava:guava:18.0
14
14
  com.google.inject.extensions:guice-multibindings:4.0
15
15
  com.google.inject:guice:4.0
16
- com.ibm.icu:icu4j:54.1.1
17
16
  commons-beanutils:commons-beanutils-core:1.8.3
18
17
  io.airlift:slice:0.9
19
18
  io.netty:netty-buffer:4.0.44.Final
@@ -27,9 +26,11 @@ org.apache.bval:bval-jsr303:0.5
27
26
  org.apache.commons:commons-compress:1.10
28
27
  org.apache.commons:commons-lang3:3.4
29
28
  org.apiguardian:apiguardian-api:1.0.0
30
- org.embulk:embulk-core:0.9.19
31
- org.embulk:embulk-standards:0.9.19
32
- org.embulk:embulk-test:0.9.19
29
+ org.embulk:embulk-core:0.9.23
30
+ org.embulk:embulk-deps-buffer:0.9.23
31
+ org.embulk:embulk-deps-config:0.9.23
32
+ org.embulk:embulk-standards:0.9.23
33
+ org.embulk:embulk-test:0.9.23
33
34
  org.hamcrest:hamcrest-core:1.3
34
35
  org.hamcrest:hamcrest-library:1.3
35
36
  org.jruby:jruby-complete:9.1.15.0
@@ -87,8 +87,7 @@ public class MultiTransactionalPageOutput implements TransactionalPageOutput {
87
87
 
88
88
  private static Page copyPage(Page original) {
89
89
  final Buffer originalBuffer = original.buffer();
90
- final Buffer copiedBuffer = Buffer.wrap(originalBuffer.array());
91
- copiedBuffer.offset(originalBuffer.offset());
90
+ final Buffer copiedBuffer = Buffer.wrap(originalBuffer.array(), originalBuffer.offset(), originalBuffer.capacity());
92
91
  copiedBuffer.limit(originalBuffer.limit());
93
92
 
94
93
  final Page copiedPage = Page.wrap(copiedBuffer);
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.1
4
+ version: 0.5.0
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-10-14 00:00:00.000000000 Z
11
+ date: 2021-01-31 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.1.jar
53
+ - classpath/embulk-output-multi-0.5.0.jar
54
54
  - gradle.properties
55
55
  - gradle/dependency-locks/compileClasspath.lockfile
56
56
  - gradle/dependency-locks/testCompileClasspath.lockfile