embulk-input-s3 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ChangeLog +4 -0
- data/build.gradle +1 -1
- data/classpath/embulk-input-s3-0.1.6.jar +0 -0
- data/src/main/java/org/embulk/input/s3/S3FileInputPlugin.java +11 -4
- metadata +3 -3
- data/classpath/embulk-input-s3-0.1.5.jar +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06c02be327f1734a2c41df71905dd683b9f738b5
|
4
|
+
data.tar.gz: 9fd23ed14e6ba75160a2a466f2c3a6bbd872dc1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20875da7b628dbe9a4edccee8c6fabb0399d56c555516850c2874aa9d9ae18db1e4212e3009b1d83bc9492c99e0b4f3ca79752a574ee5a92c55fc442188c9085
|
7
|
+
data.tar.gz: 6ae95c49d22caf8e34b9e468c4c6f11473584ffccf3bfb4d63d07e55b5b56a416475754d94d41b515ccc2efe30c76bc59cff1288d686e35968edcf17c5a5ea41
|
data/ChangeLog
CHANGED
data/build.gradle
CHANGED
Binary file
|
@@ -98,10 +98,17 @@ public class S3FileInputPlugin
|
|
98
98
|
|
99
99
|
control.run(taskSource, taskCount);
|
100
100
|
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
101
|
+
// build next config
|
102
|
+
ConfigDiff configDiff = Exec.newConfigDiff();
|
103
|
+
|
104
|
+
// last_path
|
105
|
+
if (!task.getFiles().isEmpty()) {
|
106
|
+
List<String> files = new ArrayList<String>(task.getFiles());
|
107
|
+
Collections.sort(files);
|
108
|
+
configDiff.set("last_path", files.get(files.size() - 1));
|
109
|
+
}
|
110
|
+
|
111
|
+
return configDiff;
|
105
112
|
}
|
106
113
|
|
107
114
|
@Override
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sadayuki Furuhashi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -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.6.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
|
Binary file
|