embulk-output-redshift 0.7.9 → 0.7.10

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: 36ac2e6be278272eb350e37f52c533a7db3da42c
4
- data.tar.gz: dca6057f28230550806b00e716ec128be9df17ca
3
+ metadata.gz: 719b18c2eac69c6fef514b47b0fed5a50bf3cc99
4
+ data.tar.gz: 99c2de779340dd07db0d4cf12d5b9660be2cc8fd
5
5
  SHA512:
6
- metadata.gz: 43141c1afaabca1dede02262d2b796ed073b38bf9a2124fbc7d30aed5a50a23cb7ec092ca9f1d15717e0d2f4d267a7144fdf879c72ce738a5cde9ce26f02a25e
7
- data.tar.gz: 912553f1443a79805b90f9a57c4ed01e7ddc1115eef21259ed96b76ac8129c3b91b0bc29fe5b71f840f4756a9c0548b445cbcd7d791c1593ccc6307dea1a429b
6
+ metadata.gz: 8e7b75ea9ae85b9cadc7b6feb772a262c775704f8cdfe32016fdc238d62607b1f3aab14eb5547d7a72a2aaef81b747e0a63a9c898afa765693ca292ce08c81d1
7
+ data.tar.gz: 7e7fb1b629d5a5623d45fb6885299de94932daac9cc5e476280b7cd02108d36f6f6dc47a4a995f41c0e53c6ad5569313811bc17637de10bf1ddfbe5beaba7992
@@ -18,9 +18,9 @@ import org.embulk.output.jdbc.BatchInsert;
18
18
  import org.embulk.output.jdbc.JdbcOutputConnection;
19
19
  import org.embulk.output.jdbc.MergeConfig;
20
20
  import org.embulk.output.jdbc.TableIdentifier;
21
+ import org.embulk.output.jdbc.Ssl;
21
22
  import org.embulk.output.redshift.RedshiftOutputConnector;
22
23
  import org.embulk.output.redshift.RedshiftCopyBatchInsert;
23
- import org.embulk.output.redshift.Ssl;
24
24
 
25
25
  public class RedshiftOutputPlugin
26
26
  extends AbstractJdbcOutputPlugin
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-output-redshift
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.9
4
+ version: 0.7.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sadayuki Furuhashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-23 00:00:00.000000000 Z
11
+ date: 2017-07-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Inserts or updates records to a table.
14
14
  email:
@@ -26,9 +26,9 @@ files:
26
26
  - classpath/commons-codec-1.6.jar
27
27
  - classpath/commons-logging-1.1.3.jar
28
28
  - classpath/embulk-core-0.8.9.jar
29
- - classpath/embulk-output-jdbc-0.7.9.jar
30
- - classpath/embulk-output-postgresql-0.7.9.jar
31
- - classpath/embulk-output-redshift-0.7.9.jar
29
+ - classpath/embulk-output-jdbc-0.7.10.jar
30
+ - classpath/embulk-output-postgresql-0.7.10.jar
31
+ - classpath/embulk-output-redshift-0.7.10.jar
32
32
  - classpath/embulk-util-aws-credentials-0.2.8.jar
33
33
  - classpath/httpclient-4.3.6.jar
34
34
  - classpath/httpcore-4.3.3.jar
@@ -41,7 +41,6 @@ files:
41
41
  - src/main/java/org/embulk/output/redshift/RedshiftCopyBatchInsert.java
42
42
  - src/main/java/org/embulk/output/redshift/RedshiftOutputConnection.java
43
43
  - src/main/java/org/embulk/output/redshift/RedshiftOutputConnector.java
44
- - src/main/java/org/embulk/output/redshift/Ssl.java
45
44
  homepage: https://github.com/embulk/embulk-output-jdbc
46
45
  licenses:
47
46
  - Apache 2.0
@@ -1,37 +0,0 @@
1
- package org.embulk.output.redshift;
2
-
3
- import com.fasterxml.jackson.annotation.JsonCreator;
4
- import com.fasterxml.jackson.annotation.JsonValue;
5
-
6
- import org.embulk.config.ConfigException;
7
-
8
- public enum Ssl
9
- {
10
- ENABLE,
11
- DISABLE,
12
- VERIFY;
13
-
14
- @JsonValue
15
- @Override
16
- public String toString()
17
- {
18
- return this.name().toLowerCase();
19
- }
20
-
21
- @JsonCreator
22
- public static Ssl fromString(String value)
23
- {
24
- switch(value) {
25
- case "enable":
26
- case "true":
27
- return ENABLE;
28
- case "disable":
29
- case "false":
30
- return DISABLE;
31
- case "verify":
32
- return VERIFY;
33
- default:
34
- throw new ConfigException(String.format("Unknown SSL value '%s'. Supported values are enable, true, disable, false or verify.", value));
35
- }
36
- }
37
- }