embulk-output-vertica 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: 6177946678322483b3c2cac45c066b7047d63920
4
- data.tar.gz: bbbc42515eeb5b9afb30de32b21282b673045962
3
+ metadata.gz: 7ee9565adfe070ea8678d99eb5d94d328f5fcbe0
4
+ data.tar.gz: e801c980bea0733372909d7f1672d03910f0d0f9
5
5
  SHA512:
6
- metadata.gz: dee3281d467a60830743c366bf2ecbc26eb8985cf609ee79282a37400fbe2c7adedeb7682d4fe10582fe585d78123c853b8c238e6cbb04932582d93aff5b7c56
7
- data.tar.gz: 084f52b63d20de11b3a66163b3b111a1cf4275d76d95f399d4c42fbb3b4852c8598861d2136f93ba43400d9b0f662ab67fc536e0905e366de23af373f71d42fc
6
+ metadata.gz: 24db1540c0ceaab5bb18af2112df702d8843fcc4c2c0ef9a43ad449e6d69bcb098e35aacf047a1c0bfeec82347f9808793d55b2ee9adadfdfeb6d5aeb09b46c4
7
+ data.tar.gz: 39eed0dda265c8da99969ad8e059ee42d90e158609e31bacecefbd2e3f7235cdac0967d83301d09994c9a7cb564f9e9c92faf6da29c6ee5528ed963f6bfeb8a4
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 0.2.6 (2015/11/06)
2
+
3
+ Fixes:
4
+
5
+ * Fix not to raise ConfigError for upcase mode, and copy_mode
6
+
1
7
  # 0.2.5 (2015/10/26)
2
8
 
3
9
  Changes:
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "embulk-output-vertica"
3
- spec.version = "0.2.5"
3
+ spec.version = "0.2.6"
4
4
  spec.authors = ["eiji.sekiya", "Naotoshi Seo"]
5
5
  spec.email = ["eiji.sekiya.0326@gmail.com", "sonots@gmail.com"]
6
6
  spec.summary = "Vertica output plugin for Embulk"
data/example.yml CHANGED
@@ -32,7 +32,7 @@ out:
32
32
  schema: sandbox
33
33
  table: embulk_test
34
34
  mode: replace
35
- copy_mode: direct
35
+ copy_mode: DIRECT
36
36
  abort_on_error: true
37
37
  reject_on_materialized_type_error: true
38
38
  default_timezone: 'Asia/Tokyo'
@@ -32,11 +32,13 @@ module Embulk
32
32
  raise ConfigError.new 'required field "user" is not set'
33
33
  end
34
34
 
35
- unless %w[INSERT REPLACE].include?(task['mode'].upcase!)
35
+ task['mode'] = task['mode'].upcase
36
+ unless %w[INSERT REPLACE].include?(task['mode'])
36
37
  raise ConfigError.new "`mode` must be one of INSERT, REPLACE"
37
38
  end
38
39
 
39
- unless %w[AUTO DIRECT TRICKLE].include?(task['copy_mode'].upcase!)
40
+ task['copy_mode'] = task['copy_mode'].upcase
41
+ unless %w[AUTO DIRECT TRICKLE].include?(task['copy_mode'])
40
42
  raise ConfigError.new "`copy_mode` must be one of AUTO, DIRECT, TRICKLE"
41
43
  end
42
44
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-output-vertica
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - eiji.sekiya
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-10-26 00:00:00.000000000 Z
12
+ date: 2015-11-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jvertica