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 +5 -5
- data/.travis.yml +1 -1
- data/ChangeLog +5 -0
- data/lib/td/command/list.rb +2 -2
- data/lib/td/config.rb +1 -1
- data/lib/td/version.rb +1 -1
- data/spec/td/config_spec.rb +3 -3
- data/td.gemspec +1 -1
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 72cc4bc924a33a897c9ade0853c64f9decea2c37295b364f5720bd9f1f63b57e
|
4
|
+
data.tar.gz: 99121218c4e957e82f0dd768265f1f85f82d990986f10d2a317e63402f4dca1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f81be0563be95bae8228c2e5dd4f3edfd8e6b1dd834849c09d657d8661c2e345b120d03870a0158e846231318a93d63a4e359c06aefc4df52529c0bd01d4434
|
7
|
+
data.tar.gz: e73db6702d9df95852886dafc1f1e252593ae065c6a2a18495c4404ba14f2a24127236ead840f8e0c43f679f9549fc8ad59ec16089ae8284a276f6579bfdd2ef
|
data/.travis.yml
CHANGED
data/ChangeLog
CHANGED
data/lib/td/command/list.rb
CHANGED
@@ -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[
|
233
|
-
add_list 'export:table', %w[db table], '
|
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']
|
data/lib/td/config.rb
CHANGED
@@ -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-
|
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}'"
|
data/lib/td/version.rb
CHANGED
data/spec/td/config_spec.rb
CHANGED
@@ -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-
|
37
|
-
let(:api_endpoint){ 'api-
|
38
|
-
it { is_expected.to eq 'https://api-workflow-
|
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.
|
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
|
+
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:
|
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.
|
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.
|
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
|
-
|
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
|