embulk-output-ftp 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/build.gradle +1 -1
- data/src/main/java/org/embulk/output/ftp/FtpFileOutputPlugin.java +5 -4
- 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: d539811ab9fb0834335441acb19059c44b6f9798
|
4
|
+
data.tar.gz: 0e1d1bc346502a870a1798d68614db96befefafc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff7b39c69d18446c7265fbc14946191271aa940e84ec45386281c6f78ee3bc7673bb9f4859538f88971539516eff122c367d97ee00415cbffcf5093cffce4af2
|
7
|
+
data.tar.gz: 1bb5d128d5b92a9fd3149ffa5c5a4b70eb2836e1162a63f5deebc8e9384601460cbfc2c3034ce0945cb76eb40a635fa1e6c57e04ef48ac6c78f7681fd53ebd2b
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
## 0.2.2 - 2019-07-16
|
2
|
+
* [maintenance] Fix unclosed resource to prevent temp file deletion failure on Windows [#24](https://github.com/embulk/embulk-output-ftp/pull/24)
|
3
|
+
|
1
4
|
## 0.2.1 - 2018-12-14
|
2
5
|
* [maintenance] Update Embulk version v0.8.9 to v0.9.11 and refactor code for Java8 support [#21](https://github.com/embulk/embulk-output-ftp/pull/21)
|
3
6
|
## 0.2.0 - 2018-07-04
|
data/build.gradle
CHANGED
@@ -261,10 +261,11 @@ public class FtpFileOutputPlugin implements FileOutputPlugin
|
|
261
261
|
}
|
262
262
|
}
|
263
263
|
}
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
264
|
+
try (BufferedInputStream in = new BufferedInputStream(new FileInputStream(file))) {
|
265
|
+
client.upload(filePath, in, 0L, 0L,
|
266
|
+
new LoggingTransferListener(file.getAbsolutePath(), filePath, log, TRANSFER_NOTICE_BYTES)
|
267
|
+
);
|
268
|
+
}
|
268
269
|
if (!file.delete()) {
|
269
270
|
throw new ConfigException("Couldn't delete local file " + file.getAbsolutePath());
|
270
271
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-output-ftp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Satoshi Akama
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,7 +72,7 @@ files:
|
|
72
72
|
- classpath/bcprov-jdk15on-1.52.jar
|
73
73
|
- classpath/ftp4j-1.7.2.jar
|
74
74
|
- classpath/embulk-util-ftp-0.1.6.jar
|
75
|
-
- classpath/embulk-output-ftp-0.2.
|
75
|
+
- classpath/embulk-output-ftp-0.2.2.jar
|
76
76
|
homepage: https://github.com/embulk/embulk-output-ftp
|
77
77
|
licenses:
|
78
78
|
- Apache 2.0
|