embulk-input-gcs 0.1.4 → 0.1.5

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: 6ce6983c74eefcfcb205c892493bd7ff599e57c2
4
- data.tar.gz: 98715ab6fc0161496ef3b271f28a6d4b06c85f64
3
+ metadata.gz: aa681f0822424f0c593fd882cb028f6d1ffd1084
4
+ data.tar.gz: 1f715e779e7997e3ebb52e72c3775f12aeb1c949
5
5
  SHA512:
6
- metadata.gz: 20a443c53891a35dd23ef4e1a149b97ee46dd8052fc0c92927643c0ed83da3d47a80acf49f4cabc9e26b23aa389e0aecaa446f4d7d803f05eb0ea8e1d99e27ca
7
- data.tar.gz: c2a1a41105caae03abfa2dd19331bc07486deb267d8166626bde9a0009868d1086e8fd92f8042427b9c1bb3766f41d78c7519106758d7d875b1e8e25fd95cd22
6
+ metadata.gz: 45ee5d75433ded0336ff43fba3c0cb2091ff63d67cf5ed6b53ce9dca642ae6663f5147e7bf3c395bd982e5bfc1f858f721c8df023ab90559dec88b710ce0478f
7
+ data.tar.gz: 78cba836847ea4f5ece8978b90130bdcab2bd31fe3bd7542da9f19bddda85ba2a286a878ddc7b4dd8d96828333386c824be51f84fc6d1c4dc54aeb2391991826
@@ -15,11 +15,11 @@ configurations {
15
15
  sourceCompatibility = 1.7
16
16
  targetCompatibility = 1.7
17
17
 
18
- version = "0.1.4"
18
+ version = "0.1.5"
19
19
 
20
20
  dependencies {
21
- compile "org.embulk:embulk-core:0.5.1"
22
- provided "org.embulk:embulk-core:0.5.1"
21
+ compile "org.embulk:embulk-core:0.7.1"
22
+ provided "org.embulk:embulk-core:0.7.1"
23
23
 
24
24
  compile "com.google.http-client:google-http-client-jackson2:1.19.0"
25
25
  compile ("com.google.apis:google-api-services-storage:v1-rev27-1.19.1") {exclude module: "guava-jdk5"}
@@ -46,7 +46,7 @@ Gem::Specification.new do |spec|
46
46
  spec.version = "${project.version}"
47
47
  spec.authors = ["Satoshi Akama"]
48
48
  spec.summary = %[Google Cloud Storage input plugin for Embulk]
49
- spec.description = %[gcs input plugin is an Embulk plugin that loads records from Google Cloud Storage. read by any input plugins. Search the output plugins by 'embulk-output' keyword.]
49
+ spec.description = %[Reads files stored on Google Cloud Storage (Standard/Durable Reduced Availability/Nearline)]
50
50
  spec.email = ["satoshiakama@gmail.com"]
51
51
  spec.licenses = ["Apache-2.0"]
52
52
  spec.homepage = "https://github.com/embulk/embulk-input-gcs"
@@ -1,6 +1,6 @@
1
- #Wed Feb 04 13:46:12 PST 2015
1
+ #Tue Aug 11 00:26:20 PDT 2015
2
2
  distributionBase=GRADLE_USER_HOME
3
3
  distributionPath=wrapper/dists
4
4
  zipStoreBase=GRADLE_USER_HOME
5
5
  zipStorePath=wrapper/dists
6
- distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-bin.zip
6
+ distributionUrl=https\://services.gradle.org/distributions/gradle-2.6-bin.zip
@@ -12,7 +12,7 @@ import com.google.common.collect.ImmutableList;
12
12
  import com.google.common.base.Optional;
13
13
  import java.security.GeneralSecurityException;
14
14
 
15
- import org.embulk.config.CommitReport;
15
+ import org.embulk.config.TaskReport;
16
16
  import org.embulk.config.Config;
17
17
  import org.embulk.config.ConfigInject;
18
18
  import org.embulk.config.ConfigDiff;
@@ -20,7 +20,7 @@ import org.embulk.config.ConfigDefault;
20
20
  import org.embulk.config.ConfigSource;
21
21
  import org.embulk.config.Task;
22
22
  import org.embulk.config.TaskSource;
23
- import org.embulk.config.CommitReport;
23
+ import org.embulk.config.TaskReport;
24
24
  import org.embulk.spi.Exec;
25
25
  import org.embulk.spi.BufferAllocator;
26
26
  import org.embulk.spi.FileInputPlugin;
@@ -47,30 +47,30 @@ public class GcsFileInputPlugin
47
47
  extends Task
48
48
  {
49
49
  @Config("bucket")
50
- public String getBucket();
50
+ String getBucket();
51
51
 
52
52
  @Config("path_prefix")
53
- public String getPathPrefix();
53
+ String getPathPrefix();
54
54
 
55
55
  @Config("last_path")
56
56
  @ConfigDefault("null")
57
- public Optional<String> getLastPath();
57
+ Optional<String> getLastPath();
58
58
 
59
59
  @Config("service_account_email")
60
- public String getServiceAccountEmail();
60
+ String getServiceAccountEmail();
61
61
 
62
62
  @Config("application_name")
63
63
  @ConfigDefault("\"Embulk GCS input plugin\"")
64
- public String getApplicationName();
64
+ String getApplicationName();
65
65
 
66
66
  @Config("p12_keyfile_fullpath")
67
- public String getP12KeyfileFullpath();
67
+ String getP12KeyfileFullpath();
68
68
 
69
- public List<String> getFiles();
70
- public void setFiles(List<String> files);
69
+ List<String> getFiles();
70
+ void setFiles(List<String> files);
71
71
 
72
72
  @ConfigInject
73
- public BufferAllocator getBufferAllocator();
73
+ BufferAllocator getBufferAllocator();
74
74
  }
75
75
 
76
76
  private static final Logger log = Exec.getLogger(GcsFileInputPlugin.class);
@@ -124,7 +124,7 @@ public class GcsFileInputPlugin
124
124
  @Override
125
125
  public void cleanup(TaskSource taskSource,
126
126
  int taskCount,
127
- List<CommitReport> successCommitReports)
127
+ List<TaskReport> successTaskReports)
128
128
  {
129
129
  }
130
130
 
@@ -283,9 +283,9 @@ public class GcsFileInputPlugin
283
283
 
284
284
  public void abort() { }
285
285
 
286
- public CommitReport commit()
286
+ public TaskReport commit()
287
287
  {
288
- return Exec.newCommitReport();
288
+ return Exec.newTaskReport();
289
289
  }
290
290
 
291
291
  @Override
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-input-gcs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Satoshi Akama
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-27 00:00:00.000000000 Z
11
+ date: 2015-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -38,7 +38,7 @@ dependencies:
38
38
  - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
- description: gcs input plugin is an Embulk plugin that loads records from Google Cloud Storage. read by any input plugins. Search the output plugins by 'embulk-output' keyword.
41
+ description: Reads files stored on Google Cloud Storage (Standard/Durable Reduced Availability/Nearline)
42
42
  email:
43
43
  - satoshiakama@gmail.com
44
44
  executables: []
@@ -58,7 +58,7 @@ files:
58
58
  - src/test/java/org/embulk/input/gcs/TestGcsFileInputPlugin.java
59
59
  - classpath/commons-codec-1.3.jar
60
60
  - classpath/commons-logging-1.1.1.jar
61
- - classpath/embulk-input-gcs-0.1.4.jar
61
+ - classpath/embulk-input-gcs-0.1.5.jar
62
62
  - classpath/google-api-client-1.19.1.jar
63
63
  - classpath/google-api-services-storage-v1-rev27-1.19.1.jar
64
64
  - classpath/google-http-client-1.19.0.jar