td 0.16.4 → 0.16.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
- SHA1:
3
- metadata.gz: 2f0c51098af9b5cb3c28528a4d8ec826f5e0fef8
4
- data.tar.gz: 707683b4efae2ff6541e9f6327002cc3c55b83d1
2
+ SHA256:
3
+ metadata.gz: 72cc4bc924a33a897c9ade0853c64f9decea2c37295b364f5720bd9f1f63b57e
4
+ data.tar.gz: 99121218c4e957e82f0dd768265f1f85f82d990986f10d2a317e63402f4dca1e
5
5
  SHA512:
6
- metadata.gz: 22e82bcaaaa048e1740059f32852aa1bf1908ad2ee655b7e497f5a58083e317bc713e9db2ca31758d2b243ee49ef5c1ab3c83b4e700f36910fc354a8f20f034f
7
- data.tar.gz: '08888013e2bad1e89cd0f35593efe764bf65191d0f8f1e0ed2a3199635dea8e014ca23ba3540a24a7cc5e4851462e5ea163749f7893eed1d112251e8359caaef'
6
+ metadata.gz: 9f81be0563be95bae8228c2e5dd4f3edfd8e6b1dd834849c09d657d8661c2e345b120d03870a0158e846231318a93d63a4e359c06aefc4df52529c0bd01d4434
7
+ data.tar.gz: e73db6702d9df95852886dafc1f1e252593ae065c6a2a18495c4404ba14f2a24127236ead840f8e0c43f679f9549fc8ad59ec16089ae8284a276f6579bfdd2ef
@@ -1,7 +1,7 @@
1
1
  language: ruby
2
2
 
3
3
  jdk:
4
- - oraclejdk8
4
+ - openjdk8
5
5
 
6
6
  rvm:
7
7
  - 2.1.10
data/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ == 2019-10-19 version 0.16.5
2
+
3
+ * Bump minimum rubyzip version to 1.3.0 #222
4
+ * Fix workflow_endpoint for Private Connect #219
5
+
1
6
  == 2018-12-03 version 0.16.4
2
7
 
3
8
  * Support engine versions for query and schedule (EXPERIMENTAL) #216
@@ -229,8 +229,8 @@ module List
229
229
  add_list 'db:create', %w[db], 'Create a database', ['db:create example_db']
230
230
  add_list 'db:delete', %w[db], 'Delete a database', ['db:delete example_db']
231
231
 
232
- add_list 'export:result', %w[id, name], 'Dump logs of a target query to the specified place', ['export:result target_job_id result']
233
- add_list 'export:table', %w[db table], 'Dump logs in a table to the specified storage', ['export:table example_db table1 --s3-bucket mybucket -k KEY_ID -s SECRET_KEY']
232
+ add_list 'export:result', %w[job_id result], 'Export query result to the specified destination with Result URL or JSON', ['export:result target_job_id postgresql://user:password@host/database/table?ssl=true']
233
+ add_list 'export:table', %w[db table], 'Export table to the specified storage', ['export:table example_db table1 --s3-bucket mybucket -k KEY_ID -s SECRET_KEY']
234
234
 
235
235
  add_list 'table:list', %w[db?], 'Show list of tables', ['table:list', 'table:list example_db', 'tables']
236
236
  add_list 'table:show', %w[db table], 'Describe information of a table', ['table example_db table1']
@@ -166,7 +166,7 @@ class Config
166
166
 
167
167
  def self.workflow_endpoint
168
168
  case self.endpoint_domain
169
- when /\Aapi(-(?:staging|development))?(-[a-z]+)?.(connect\.)?(eu01\.)?treasuredata.(com|co\.jp)\z/
169
+ when /\Aapi(-(?:staging|development))?(-[a-z0-9]+)?\.(connect\.)?(eu01\.)?treasuredata\.(com|co\.jp)\z/i
170
170
  "https://api#{$1}-workflow#{$2}.#{$3}#{$4}treasuredata.#{$5}"
171
171
  else
172
172
  raise ConfigError, "Workflow is not supported for '#{self.endpoint}'"
@@ -1,3 +1,3 @@
1
1
  module TreasureData
2
- TOOLBELT_VERSION = '0.16.4'
2
+ TOOLBELT_VERSION = '0.16.5'
3
3
  end
@@ -33,9 +33,9 @@ describe TreasureData::Config do
33
33
  let(:api_endpoint){ 'api-hoge.connect.treasuredata.com' }
34
34
  it { is_expected.to eq 'https://api-workflow-hoge.connect.treasuredata.com' }
35
35
  end
36
- context 'api-hoge.connect.treasuredata.co.jp' do
37
- let(:api_endpoint){ 'api-hoge.connect.treasuredata.co.jp' }
38
- it { is_expected.to eq 'https://api-workflow-hoge.connect.treasuredata.co.jp' }
36
+ context 'api-czc21f.connect.treasuredata.co.jp' do
37
+ let(:api_endpoint){ 'api-czc21f.connect.treasuredata.co.jp' }
38
+ it { is_expected.to eq 'https://api-workflow-czc21f.connect.treasuredata.co.jp' }
39
39
  end
40
40
 
41
41
  context 'api-staging.treasuredata.com' do
data/td.gemspec CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |gem|
22
22
  gem.add_dependency "parallel", "~> 1.8"
23
23
  gem.add_dependency "td-client", ">= 1.0.6", "< 2"
24
24
  gem.add_dependency "td-logger", ">= 0.3.21", "< 2"
25
- gem.add_dependency "rubyzip", ">= 1.2.1"
25
+ gem.add_dependency "rubyzip", ">= 1.3.0"
26
26
  gem.add_dependency "zip-zip", "~> 0.3"
27
27
  gem.add_dependency "ruby-progressbar", "~> 1.7"
28
28
  gem.add_development_dependency "rake"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: td
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.4
4
+ version: 0.16.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Treasure Data, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-03 00:00:00.000000000 Z
11
+ date: 2019-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: msgpack
@@ -112,14 +112,14 @@ dependencies:
112
112
  requirements:
113
113
  - - ">="
114
114
  - !ruby/object:Gem::Version
115
- version: 1.2.1
115
+ version: 1.3.0
116
116
  type: :runtime
117
117
  prerelease: false
118
118
  version_requirements: !ruby/object:Gem::Requirement
119
119
  requirements:
120
120
  - - ">="
121
121
  - !ruby/object:Gem::Version
122
- version: 1.2.1
122
+ version: 1.3.0
123
123
  - !ruby/object:Gem::Dependency
124
124
  name: zip-zip
125
125
  requirement: !ruby/object:Gem::Requirement
@@ -308,8 +308,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
308
308
  - !ruby/object:Gem::Version
309
309
  version: '0'
310
310
  requirements: []
311
- rubyforge_project:
312
- rubygems_version: 2.6.14.1
311
+ rubygems_version: 3.0.3
313
312
  signing_key:
314
313
  specification_version: 4
315
314
  summary: CLI to manage data on Treasure Data, the Hadoop-based cloud data warehousing