embulk-encoder-zip 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/build.gradle +1 -1
- data/src/main/java/org/embulk/encoder/zip/ZipEncoderPlugin.java +5 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44a0404b7eee91a5e9153a9965b764f44c4a8c08
|
4
|
+
data.tar.gz: 2a106340880e9f4c7dace00d5b8c66a749da4c1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28ce0c16dd5cda25f0eebb64e972cb4827cdd4b045a4cadc38994a31b42f484fec0c50f25b2e1a54fceb07b81f8bb70ec14e105a1d6b5bd3fd36e20919052a02
|
7
|
+
data.tar.gz: 4794dc06f08d65976b46a2a457ee21d03d25235c52d709e91ac49b8d70f2b66ba051b25cc4cb856a22c9010496978476cbf38b8c9b94f86fb1fef129cdd4618c
|
data/build.gradle
CHANGED
@@ -91,6 +91,7 @@ class ZipCompressArchiveProvider implements OutputStreamFileOutput.Provider {
|
|
91
91
|
zipOutputStream.write(tmpOut.toByteArray());
|
92
92
|
zipOutputStream.closeEntry();
|
93
93
|
zipOutputStream.finish();
|
94
|
+
output.finish();
|
94
95
|
} catch (ZipException e) {
|
95
96
|
throw new IOException(e);
|
96
97
|
}
|
@@ -99,12 +100,15 @@ class ZipCompressArchiveProvider implements OutputStreamFileOutput.Provider {
|
|
99
100
|
|
100
101
|
@Override
|
101
102
|
public void close() throws IOException {
|
102
|
-
finish();
|
103
103
|
if (zipOutputStream != null) {
|
104
104
|
zipOutputStream.close();
|
105
105
|
zipOutputStream = null;
|
106
106
|
}
|
107
107
|
|
108
|
+
if (output != null) {
|
109
|
+
output.close();
|
110
|
+
}
|
111
|
+
|
108
112
|
if (originalOutput != null) {
|
109
113
|
originalOutput.close();
|
110
114
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-encoder-zip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Floyd
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -48,7 +48,7 @@ files:
|
|
48
48
|
- ".gitignore"
|
49
49
|
- README.md
|
50
50
|
- build.gradle
|
51
|
-
- classpath/embulk-encoder-zip-0.0.
|
51
|
+
- classpath/embulk-encoder-zip-0.0.2.jar
|
52
52
|
- classpath/zip4j-1.3.2.jar
|
53
53
|
- gradle/wrapper/gradle-wrapper.jar
|
54
54
|
- gradle/wrapper/gradle-wrapper.properties
|