embulk-input-s3 0.2.5 → 0.2.6
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee2494b43bcc58768baa64772d07f73c521b87f4
|
4
|
+
data.tar.gz: e12a159f3ad9e6e3cf012bcdc2e779be3242580a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cf67d08d7f4b11b0c4c35e2b15e2537e9bf984f3a9a77adc0ecd30222c958d493b28817c273045d8bcbfd99bde327ed79760e8fd5118f1dc8c466b93b6f74de
|
7
|
+
data.tar.gz: 36f4ee1d0bcddd46a5945865b9d2f2f41e997b562d15783b96f94b2389e3037acdc104ebe967108110550eeaed12ebf5a1a961c3826358f247c8b06f21fa1e0c
|
Binary file
|
@@ -119,11 +119,22 @@ public class TestS3FileInputPlugin
|
|
119
119
|
public void usePathMatchPattern()
|
120
120
|
throws Exception
|
121
121
|
{
|
122
|
-
|
123
|
-
|
122
|
+
{ // match pattern
|
123
|
+
ConfigSource config = this.config.deepCopy().set("path_match_pattern", "/sample_01");
|
124
|
+
ConfigDiff configDiff = runner.transaction(config, new Control(runner, output));
|
124
125
|
|
125
|
-
|
126
|
-
|
126
|
+
assertEquals(EMBULK_S3_TEST_PATH_PREFIX + "/sample_01.csv", configDiff.get(String.class, "last_path"));
|
127
|
+
assertRecords(config, output);
|
128
|
+
}
|
129
|
+
|
130
|
+
output = new MockPageOutput();
|
131
|
+
{ // not match pattern
|
132
|
+
ConfigSource config = this.config.deepCopy().set("path_match_pattern", "/match/");
|
133
|
+
ConfigDiff configDiff = runner.transaction(config, new Control(runner, output));
|
134
|
+
|
135
|
+
assertNull(configDiff.get(String.class, "last_path"));
|
136
|
+
assertEquals(0, getRecords(config, output).size());
|
137
|
+
}
|
127
138
|
}
|
128
139
|
|
129
140
|
static class Control
|
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.2.
|
4
|
+
version: 0.2.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-12-
|
11
|
+
date: 2015-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -60,7 +60,7 @@ files:
|
|
60
60
|
- classpath/aws-java-sdk-kms-1.10.33.jar
|
61
61
|
- classpath/aws-java-sdk-s3-1.10.33.jar
|
62
62
|
- classpath/commons-codec-1.6.jar
|
63
|
-
- classpath/embulk-input-s3-0.2.
|
63
|
+
- classpath/embulk-input-s3-0.2.6.jar
|
64
64
|
- classpath/httpclient-4.3.6.jar
|
65
65
|
- classpath/httpcore-4.3.3.jar
|
66
66
|
- classpath/jcl-over-slf4j-1.7.12.jar
|