embulk-input-s3 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +4 -0
- data/build.gradle +1 -1
- data/src/main/java/org/embulk/input/s3/S3FileInputPlugin.java +6 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd67a9aea3d1352358739b2c6917f3204301443e
|
4
|
+
data.tar.gz: b143676db2502a2e39d7cb430bd4bf8f67933a5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 08b84503dda64c6d4e3765d66a368070d47bf1214d96ac9f5ff77478cc888782c799fb193a0925ce508b8b0867ead0e2bde4185db2f92eb0433807c400cd18d6
|
7
|
+
data.tar.gz: b6541d55d9e4b7317267b3f57eaed9795c0b1ff7591f4de240890e2b5f0580575b39461e066fbf85bef5e894e54c201641721195899b9246f50f79756e703239
|
data/ChangeLog
CHANGED
data/build.gradle
CHANGED
@@ -102,7 +102,12 @@ public class S3FileInputPlugin
|
|
102
102
|
ConfigDiff configDiff = Exec.newConfigDiff();
|
103
103
|
|
104
104
|
// last_path
|
105
|
-
if (
|
105
|
+
if (task.getFiles().isEmpty()) {
|
106
|
+
// keep the last value
|
107
|
+
if (task.getLastPath().isPresent()) {
|
108
|
+
configDiff.set("last_path", task.getLastPath().get());
|
109
|
+
}
|
110
|
+
} else {
|
106
111
|
List<String> files = new ArrayList<String>(task.getFiles());
|
107
112
|
Collections.sort(files);
|
108
113
|
configDiff.set("last_path", files.get(files.size() - 1));
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-input-s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sadayuki Furuhashi
|
@@ -63,7 +63,7 @@ files:
|
|
63
63
|
- classpath/aws-java-sdk-s3-1.9.22.jar
|
64
64
|
- classpath/commons-codec-1.6.jar
|
65
65
|
- classpath/commons-logging-1.1.3.jar
|
66
|
-
- classpath/embulk-input-s3-0.1.
|
66
|
+
- classpath/embulk-input-s3-0.1.7.jar
|
67
67
|
- classpath/httpclient-4.3.4.jar
|
68
68
|
- classpath/httpcore-4.3.2.jar
|
69
69
|
homepage: https://github.com/embulk/embulk-input-s3
|