td 0.16.9 → 0.16.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
- SHA1:
3
- metadata.gz: 6aea3ef4a96f7d2d1042cbf337e5f95288022f39
4
- data.tar.gz: 7ab665de173e7ce66dfa7b4622cb4513dcef6426
2
+ SHA256:
3
+ metadata.gz: a372eaff21645cac711c4df4fe0faeba64a8fffed0af8d9de4367f5bdf3d4dae
4
+ data.tar.gz: b4f0c3751f57780008be2162c78853003b138d9ed691f1c7eef756a8ce6f7237
5
5
  SHA512:
6
- metadata.gz: 114f5e1e8763474cb53cdead4f511dd30a988457c8d72e0115fe20f4a013aae7fdbee3c13e8a627381145e05db4d5bf584690bdf863bc9d6fe35bbae66be9b35
7
- data.tar.gz: 61f72c29b14c70627680248852303d878a92ea571e140c4e5c60318944248367f6509df81b1c19553e4a271ee8ce4f9bc54747610f8263f7ef4cc3fa6d053581
6
+ metadata.gz: 3f332bc9d0cc8659e31d2f737aec26c827a6eda4c980dd0d21ddf0df749fae5595b16950a9ba3195e76361925d190bf8aa5e016dee6f25cf49bdf139e8606363
7
+ data.tar.gz: af1d0421633676a8938be8cf77474681f05e863006c56561db18b377853ee9f8529c168d1d176a2e4f3156a1eb4acd582241765f52a8aac6ecce0e3e158e1ddf
@@ -0,0 +1,96 @@
1
+ version: 2.1
2
+
3
+
4
+ orbs:
5
+ ruby: circleci/ruby@1.1.4
6
+ win: circleci/windows@2.4.0
7
+
8
+
9
+ commands:
10
+ install_windows_requirements:
11
+ description: "Install windows requirements"
12
+ steps:
13
+ - run:
14
+ name: "Install MSYS2"
15
+ command: choco install msys2
16
+ - run:
17
+ name: "Install Ruby devkit"
18
+ command: ridk install 2 3
19
+ bundle-install:
20
+ description: "Install dependencies"
21
+ steps:
22
+ - run:
23
+ name: Which bundler?
24
+ command: bundle -v
25
+ - run:
26
+ name: Bundle install
27
+ command: bundle install
28
+ run-tests:
29
+ description: "Run tests"
30
+ steps:
31
+ - run:
32
+ name: Run tests
33
+ command: bundle exec rake spec SPEC_OPTS="-fd"
34
+ run-tests-flow:
35
+ description: "Single flow for running tests"
36
+ steps:
37
+ - checkout
38
+ - bundle-install
39
+ - run-tests
40
+
41
+
42
+ jobs:
43
+
44
+ ruby_25:
45
+ machine:
46
+ image: ubuntu-1604:202004-01
47
+ steps:
48
+ - ruby/install:
49
+ version: '2.5'
50
+ - run-tests-flow
51
+
52
+ ruby_26:
53
+ machine:
54
+ image: ubuntu-1604:202004-01
55
+ steps:
56
+ - ruby/install:
57
+ version: '2.6'
58
+ - run-tests-flow
59
+
60
+ ruby_27:
61
+ machine:
62
+ image: ubuntu-1604:202004-01
63
+ steps:
64
+ - ruby/install:
65
+ version: '2.7'
66
+ - run-tests-flow
67
+
68
+ ruby_30:
69
+ machine:
70
+ image: ubuntu-1604:202004-01
71
+ steps:
72
+ - ruby/install:
73
+ version: '3.0'
74
+ - run-tests-flow
75
+
76
+ win_ruby:
77
+ executor:
78
+ name: win/default
79
+ shell: powershell.exe
80
+ steps:
81
+ - install_windows_requirements
82
+ - run:
83
+ name: "Install bundler"
84
+ shell: powershell.exe
85
+ command: gem install bundler
86
+ - run-tests-flow
87
+
88
+
89
+ workflows:
90
+ tests:
91
+ jobs:
92
+ - ruby_25
93
+ - ruby_26
94
+ - ruby_27
95
+ - ruby_30
96
+ # - win_ruby # Not testing on windows for now due to old version of ridk. Testing in Appveyor instead, will reconsider when CircleCI update ridk in their windows image.
@@ -0,0 +1 @@
1
+ * @treasure-data/integrations
data/ChangeLog CHANGED
@@ -1,3 +1,13 @@
1
+ == 2020-09-16 version 0.16.10
2
+
3
+ * Support proxy with username and password
4
+ * Increase the summary_width value to fix the broken options help message format
5
+ * Support AP03 Region
6
+ * Change old document urls to new document urls
7
+ * Show message to ask -w option in td query
8
+ * Adding users commnad help
9
+ * Allow trailing slash for endpoints
10
+
1
11
  == 2020-04-10 version 0.16.9
2
12
 
3
13
  * Update new workflow pattern to support ap02 #232
data/README.rdoc CHANGED
@@ -1,14 +1,14 @@
1
1
  = Treasure Data command line tool
2
- {<img src="https://travis-ci.org/treasure-data/td.svg?branch=master" alt="Build Status" />}[https://travis-ci.org/treasure-data/td]
2
+ {<img src="https://circleci.com/gh/treasure-data/td.svg?style=svg" alt="Build Status" />}[https://circleci.com/gh/treasure-data/td.svg?style=svg]
3
3
  {<img src="https://ci.appveyor.com/api/projects/status/github/treasure-data/td?branch=master&svg=true" alt="appveyor" />}[https://ci.appveyor.com/project/treasure-data/td/branch/master]
4
4
  {<img src="https://coveralls.io/repos/treasure-data/td/badge.svg?branch=master&service=github" alt="Coverage Status" />}[https://coveralls.io/github/treasure-data/td?branch=master]
5
5
 
6
6
  This CUI utility wraps the {Ruby Client Library td-client-ruby}[https://github.com/treasure-data/td-client-ruby]
7
7
  to interact with the REST API in managing databases and jobs on the Treasure Data Cloud.
8
8
 
9
- For more info about Treasure Data, see <http://treasure-data.com/>.
9
+ For more info about Treasure Data, see <https://www.treasuredata.com/>.
10
10
 
11
- For full documentation see <https://support.treasuredata.com/hc/en-us>.
11
+ For full documentation see <https://docs.treasuredata.com/>.
12
12
 
13
13
  = Getting Started
14
14
 
@@ -71,7 +71,7 @@ The Bulk Import CLI is downloaded automatically at the first call to any of the
71
71
  need internet connectivity in order to fetch the Bulk Import CLI JAR file from the
72
72
  {Central Maven repository}[https://repo1.maven.org/maven2/com/treasuredata/td-import/]
73
73
  and take advantage of these advanced features. If you need to setup a proxy, please consult this
74
- {documentation}[https://support.treasuredata.com/hc/en-us/articles/360001502527-Legacy-Bulk-Import-Tips-and-Tricks#How%20to%20use%20a%20proxy%20server] page.
74
+ {documentation}[https://docs.treasuredata.com/display/public/INT/Legacy+Bulk+Import+Tips+and+Tricks#LegacyBulkImportTipsandTricks-UsingaProxyServer] page.
75
75
 
76
76
  The log levels and properties of the Bulk Import CLI can be configured in a +logging.properties+ file. A default
77
77
  configuration is provided in a file within the gem or Toolbelt folder root, in the +java/+ folder. If you wish to
data/appveyor.yml CHANGED
@@ -13,5 +13,5 @@ test_script:
13
13
  - bundle exec rake spec
14
14
  environment:
15
15
  matrix:
16
- - ruby_version: "22"
17
- - ruby_version: "22-x64"
16
+ - ruby_version: "26"
17
+ - ruby_version: "26-x64"
@@ -41,7 +41,7 @@ module Command
41
41
  end
42
42
  end
43
43
 
44
- $stdout.puts "Enter your Treasure Data credentials. For Google SSO user, please see https://support.treasuredata.com/hc/en-us/articles/360000720048-Treasure-Data-Toolbelt-Command-line-Interface#Google%20SSO%20Users"
44
+ $stdout.puts "Enter your Treasure Data credentials. For Google SSO user, please see https://docs.treasuredata.com/display/public/PD/Configuring+Authentication+for+TD+Using+the+TD+Toolbelt#ConfiguringAuthenticationforTDUsingtheTDToolbelt-SettingUpGoogleSSOUsers"
45
45
  unless user_name
46
46
  begin
47
47
  $stdout.print "Email: "
@@ -67,13 +67,11 @@ module Command
67
67
  Client.new(apikey, opts)
68
68
  end
69
69
 
70
- DEFAULT_IMPORT_ENDPOINT = "https://" + TreasureData::API::DEFAULT_IMPORT_ENDPOINT
71
-
72
70
  def get_import_client
73
71
  import_endpoint = begin
74
- Config.import_endpoint || DEFAULT_IMPORT_ENDPOINT
72
+ Config.import_endpoint || nil
75
73
  rescue TreasureData::ConfigNotFoundError
76
- DEFAULT_IMPORT_ENDPOINT
74
+ nil
77
75
  end
78
76
  get_client(endpoint: import_endpoint)
79
77
  end
@@ -107,7 +105,7 @@ module Command
107
105
  headers = options[:fields]
108
106
  csv_opts = {}
109
107
  csv_opts[:col_sep] = "\t" if format == 'tsv'
110
- CSV.generate('', csv_opts) { |csv|
108
+ CSV.generate('', **csv_opts) { |csv|
111
109
  csv << headers
112
110
  rows.each { |row|
113
111
  r = []
@@ -368,12 +366,9 @@ EOS
368
366
 
369
367
  def self.get_http_class
370
368
  # use Net::HTTP::Proxy in place of Net::HTTP if a proxy is provided
371
- http_proxy = ENV['HTTP_PROXY']
372
- if http_proxy
373
- http_proxy = (http_proxy =~ /\Ahttp:\/\/(.*)\z/) ? $~[1] : http_proxy
374
- host, port = http_proxy.split(':', 2)
375
- port = (port ? port.to_i : 80)
376
- return Net::HTTP::Proxy(host, port)
369
+ if ENV['HTTP_PROXY']
370
+ uri = URI.parse(ENV['HTTP_PROXY'])
371
+ return Net::HTTP::Proxy(uri.host, uri.port, uri.user, uri.password)
377
372
  else
378
373
  return Net::HTTP
379
374
  end
@@ -67,6 +67,9 @@ module Command
67
67
  encryption = nil
68
68
  assume_role = nil
69
69
 
70
+ # Increase the summary_width value from default 32 into 36, to show the options help message properly.
71
+ op.summary_width = 36
72
+
70
73
  op.on('-w', '--wait', 'wait until the job is completed', TrueClass) {|b|
71
74
  wait = b
72
75
  }
@@ -160,6 +160,8 @@ module Command
160
160
  rescue TreasureData::NotFoundError => e
161
161
  end
162
162
  end
163
+ elsif output
164
+ $stdout.puts "The output file won't be generated without additional `-w` or `--wait` option."
163
165
  end
164
166
  end
165
167
 
@@ -48,7 +48,9 @@ Basic commands:
48
48
  sched # create/delete/list schedules that run a query periodically
49
49
  schema # create/delete/modify schemas of tables
50
50
  connector # manage connectors
51
+ users # show/create/list users
51
52
  workflow # manage workflows
53
+ user # manage users
52
54
 
53
55
  Additional commands:
54
56
 
@@ -41,7 +41,7 @@ module Command
41
41
  if HIVE_RESERVED_KEYWORDS.include?(table_name.upcase)
42
42
  $stderr.puts "* WARNING *"
43
43
  $stderr.puts " '#{table_name}' is a reserved keyword in Hive. We recommend renaming the table."
44
- $stderr.puts " For a list of all reserved keywords, see our FAQ: https://support.treasuredata.com/hc/en-us/articles/360009531173/"
44
+ $stderr.puts " For a list of all reserved keywords, see our FAQ: https://docs.treasuredata.com/display/public/PD/Hive+Reserved+and+Non-Reserved+Keywords"
45
45
  end
46
46
 
47
47
  client = get_client
@@ -171,7 +171,7 @@ module Command
171
171
  if rows.empty?
172
172
  if db_name
173
173
  if databases.first.permission == :import_only
174
- $stderr.puts "Database '#{db_name}' is import only, cannot list or create tables."
174
+ $stderr.puts "Database '#{db_name}' is import only, cannot list."
175
175
  else
176
176
  $stderr.puts "Database '#{db_name}' has no tables."
177
177
  $stderr.puts "Use '#{$prog} " + Config.cl_options_string + "table:create <db> <table>' to create a table."
data/lib/td/config.rb CHANGED
@@ -148,7 +148,8 @@ class Config
148
148
 
149
149
 
150
150
  def self.endpoint
151
- @@endpoint || Config.read['account.endpoint']
151
+ endpoint = @@endpoint || Config.read['account.endpoint']
152
+ endpoint.sub(/(\/)+$/, '') if endpoint
152
153
  end
153
154
 
154
155
  def self.endpoint=(endpoint)
@@ -168,7 +169,8 @@ class Config
168
169
  end
169
170
 
170
171
  def self.import_endpoint
171
- @@import_endpoint || Config.read['account.import_endpoint']
172
+ endpoint = @@import_endpoint || Config.read['account.import_endpoint']
173
+ endpoint.sub(/(\/)+$/, '') if endpoint
172
174
  end
173
175
 
174
176
  def self.import_endpoint=(endpoint)
@@ -185,7 +187,7 @@ class Config
185
187
 
186
188
  def self.workflow_endpoint
187
189
  case self.endpoint_domain
188
- when /\Aapi(-(?:staging|development))?(-[a-z0-9]+)?\.(connect\.)?((?:eu01|ap02)\.)?treasuredata\.(com|co\.jp)\z/i
190
+ when /\Aapi(-(?:staging|development))?(-[a-z0-9]+)?\.(connect\.)?((?:eu01|ap02|ap03)\.)?treasuredata\.(com|co\.jp)\z/i
189
191
  "https://api#{$1}-workflow#{$2}.#{$3}#{$4}treasuredata.#{$5}"
190
192
  else
191
193
  raise ConfigError, "Workflow is not supported for '#{self.endpoint}'"
@@ -96,10 +96,10 @@ module TreasureData
96
96
  csv_opts[:quote_char] = opts[:quote_char] if opts[:quote_char]
97
97
  begin
98
98
  require 'fastercsv'
99
- @io = FasterCSV.new(io, csv_opts)
99
+ @io = FasterCSV.new(io, **csv_opts)
100
100
  rescue LoadError => e
101
101
  require 'csv'
102
- @io = CSV.new(io, csv_opts)
102
+ @io = CSV.new(io, **csv_opts)
103
103
  end
104
104
  @error = error
105
105
  # @escape_char = opts[:escape_char]
data/lib/td/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module TreasureData
2
- TOOLBELT_VERSION = '0.16.9'
2
+ TOOLBELT_VERSION = '0.16.10'
3
3
  end
@@ -32,6 +32,10 @@ describe TreasureData::Config do
32
32
  let(:api_endpoint){ 'api.ap02.treasuredata.com' }
33
33
  it { is_expected.to eq 'https://api-workflow.ap02.treasuredata.com' }
34
34
  end
35
+ context 'api.ap03.treasuredata.com' do
36
+ let(:api_endpoint){ 'api.ap03.treasuredata.com' }
37
+ it { is_expected.to eq 'https://api-workflow.ap03.treasuredata.com' }
38
+ end
35
39
 
36
40
  context 'api-hoge.connect.treasuredata.com' do
37
41
  let(:api_endpoint){ 'api-hoge.connect.treasuredata.com' }
@@ -58,6 +62,10 @@ describe TreasureData::Config do
58
62
  let(:api_endpoint){ 'api-staging.ap02.treasuredata.com' }
59
63
  it { is_expected.to eq 'https://api-staging-workflow.ap02.treasuredata.com' }
60
64
  end
65
+ context 'api-staging.ap03.treasuredata.com' do
66
+ let(:api_endpoint){ 'api-staging.ap03.treasuredata.com' }
67
+ it { is_expected.to eq 'https://api-staging-workflow.ap03.treasuredata.com' }
68
+ end
61
69
 
62
70
  context 'api-development.treasuredata.com' do
63
71
  let(:api_endpoint){ 'api-development.treasuredata.com' }
@@ -75,6 +83,10 @@ describe TreasureData::Config do
75
83
  let(:api_endpoint){ 'api-development.ap02.treasuredata.com' }
76
84
  it { is_expected.to eq 'https://api-development-workflow.ap02.treasuredata.com' }
77
85
  end
86
+ context 'api-development.ap03.treasuredata.com' do
87
+ let(:api_endpoint){ 'api-development.ap03.treasuredata.com' }
88
+ it { is_expected.to eq 'https://api-development-workflow.ap03.treasuredata.com' }
89
+ end
78
90
 
79
91
  context 'ybi.jp-east.idcfcloud.com' do
80
92
  let(:api_endpoint){ 'ybi.jp-east.idcfcloud.com' }
@@ -84,6 +96,64 @@ describe TreasureData::Config do
84
96
  end
85
97
  end
86
98
 
99
+ describe 'allow endpoint with trailing slash' do
100
+ context 'self.endpoint' do
101
+ before { TreasureData::Config.endpoint = api_endpoint }
102
+ subject { TreasureData::Config.endpoint }
103
+
104
+ context 'api.treasuredata.com' do
105
+ let(:api_endpoint) { 'https://api.treasuredata.com/' }
106
+ it { is_expected.to eq 'https://api.treasuredata.com' }
107
+ end
108
+ context 'api.treasuredata.co.jp' do
109
+ let(:api_endpoint) { 'https://api.treasuredata.co.jp/' }
110
+ it { is_expected.to eq 'https://api.treasuredata.co.jp' }
111
+ end
112
+ context 'api.eu01.treasuredata.com' do
113
+ let(:api_endpoint) { 'https://api.eu01.treasuredata.com/' }
114
+ it { is_expected.to eq 'https://api.eu01.treasuredata.com' }
115
+ end
116
+ context 'api.ap02.treasuredata.com' do
117
+ let(:api_endpoint) { 'https://api.ap02.treasuredata.com/' }
118
+ it { is_expected.to eq 'https://api.ap02.treasuredata.com' }
119
+ end
120
+ context 'api.ap03.treasuredata.com' do
121
+ let(:api_endpoint) { 'https://api.ap03.treasuredata.com/' }
122
+ it { is_expected.to eq 'https://api.ap03.treasuredata.com' }
123
+ end
124
+ context 'api-hoge.connect.treasuredata.com' do
125
+ let(:api_endpoint){ 'https://api-hoge.connect.treasuredata.com/' }
126
+ it { is_expected.to eq 'https://api-hoge.connect.treasuredata.com' }
127
+ end
128
+ end
129
+
130
+ context 'self.import_endpoint' do
131
+ before { TreasureData::Config.import_endpoint = api_endpoint }
132
+ subject { TreasureData::Config.import_endpoint }
133
+
134
+ context 'api-import.treasuredata.com' do
135
+ let(:api_endpoint) { 'https://api-import.treasuredata.com/' }
136
+ it { is_expected.to eq 'https://api-import.treasuredata.com' }
137
+ end
138
+ context 'api-import.treasuredata.co.jp' do
139
+ let(:api_endpoint) { 'https://api-import.treasuredata.co.jp/' }
140
+ it { is_expected.to eq 'https://api-import.treasuredata.co.jp' }
141
+ end
142
+ context 'api-import.eu01.treasuredata.com' do
143
+ let(:api_endpoint) { 'https://api-import.eu01.treasuredata.com/' }
144
+ it { is_expected.to eq 'https://api-import.eu01.treasuredata.com' }
145
+ end
146
+ context 'api-import.ap02.treasuredata.com' do
147
+ let(:api_endpoint) { 'https://api-import.ap02.treasuredata.com/' }
148
+ it { is_expected.to eq 'https://api-import.ap02.treasuredata.com' }
149
+ end
150
+ context 'api-import.ap03.treasuredata.com' do
151
+ let(:api_endpoint) { 'https://api-import.ap03.treasuredata.com/' }
152
+ it { is_expected.to eq 'https://api-import.ap03.treasuredata.com' }
153
+ end
154
+ end
155
+ end
156
+
87
157
  describe '#read' do
88
158
  it 'sets @conf' do
89
159
  Tempfile.create('td.conf') do |f|
data/td.gemspec CHANGED
@@ -15,18 +15,21 @@ Gem::Specification.new do |gem|
15
15
  gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
16
16
  gem.require_paths = ['lib']
17
17
  gem.required_ruby_version = '>= 2.1'
18
+ gem.licenses = ["Apache-2.0"]
18
19
 
19
20
  gem.add_dependency "msgpack"
20
- gem.add_dependency "yajl-ruby", "~> 1.1"
21
+ gem.add_dependency "rexml"
22
+ gem.add_dependency "yajl-ruby", "~> 1.3.1"
21
23
  gem.add_dependency "hirb", ">= 0.4.5"
22
- gem.add_dependency "parallel", "~> 1.8"
23
- gem.add_dependency "td-client", ">= 1.0.6", "< 2"
24
+ gem.add_dependency "parallel", "~> 1.20.0"
25
+ gem.add_dependency "td-client", ">= 1.0.8", "< 2"
24
26
  gem.add_dependency "td-logger", ">= 0.3.21", "< 2"
25
27
  gem.add_dependency "rubyzip", "~> 1.3.0"
26
28
  gem.add_dependency "zip-zip", "~> 0.3"
27
29
  gem.add_dependency "ruby-progressbar", "~> 1.7"
28
30
  gem.add_development_dependency "rake"
29
31
  gem.add_development_dependency "rspec"
32
+ gem.add_development_dependency 'webrick'
30
33
  gem.add_development_dependency "simplecov"
31
34
  gem.add_development_dependency 'coveralls'
32
35
  end
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.9
4
+ version: 0.16.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Treasure Data, Inc.
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-10 00:00:00.000000000 Z
11
+ date: 2021-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: msgpack
@@ -24,20 +24,34 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rexml
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: yajl-ruby
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
45
  - - "~>"
32
46
  - !ruby/object:Gem::Version
33
- version: '1.1'
47
+ version: 1.3.1
34
48
  type: :runtime
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
52
  - - "~>"
39
53
  - !ruby/object:Gem::Version
40
- version: '1.1'
54
+ version: 1.3.1
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: hirb
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -58,21 +72,21 @@ dependencies:
58
72
  requirements:
59
73
  - - "~>"
60
74
  - !ruby/object:Gem::Version
61
- version: '1.8'
75
+ version: 1.20.0
62
76
  type: :runtime
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
80
  - - "~>"
67
81
  - !ruby/object:Gem::Version
68
- version: '1.8'
82
+ version: 1.20.0
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: td-client
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
87
  - - ">="
74
88
  - !ruby/object:Gem::Version
75
- version: 1.0.6
89
+ version: 1.0.8
76
90
  - - "<"
77
91
  - !ruby/object:Gem::Version
78
92
  version: '2'
@@ -82,7 +96,7 @@ dependencies:
82
96
  requirements:
83
97
  - - ">="
84
98
  - !ruby/object:Gem::Version
85
- version: 1.0.6
99
+ version: 1.0.8
86
100
  - - "<"
87
101
  - !ruby/object:Gem::Version
88
102
  version: '2'
@@ -176,6 +190,20 @@ dependencies:
176
190
  - - ">="
177
191
  - !ruby/object:Gem::Version
178
192
  version: '0'
193
+ - !ruby/object:Gem::Dependency
194
+ name: webrick
195
+ requirement: !ruby/object:Gem::Requirement
196
+ requirements:
197
+ - - ">="
198
+ - !ruby/object:Gem::Version
199
+ version: '0'
200
+ type: :development
201
+ prerelease: false
202
+ version_requirements: !ruby/object:Gem::Requirement
203
+ requirements:
204
+ - - ">="
205
+ - !ruby/object:Gem::Version
206
+ version: '0'
179
207
  - !ruby/object:Gem::Dependency
180
208
  name: simplecov
181
209
  requirement: !ruby/object:Gem::Requirement
@@ -211,9 +239,10 @@ executables:
211
239
  extensions: []
212
240
  extra_rdoc_files: []
213
241
  files:
242
+ - ".circleci/config.yml"
214
243
  - ".coveralls.yml"
244
+ - ".github/CODEOWNERS"
215
245
  - ".gitignore"
216
- - ".travis.yml"
217
246
  - ChangeLog
218
247
  - Gemfile
219
248
  - README.rdoc
@@ -291,9 +320,10 @@ files:
291
320
  - spec/td/version_spec.rb
292
321
  - td.gemspec
293
322
  homepage: http://treasure-data.com/
294
- licenses: []
323
+ licenses:
324
+ - Apache-2.0
295
325
  metadata: {}
296
- post_install_message:
326
+ post_install_message:
297
327
  rdoc_options: []
298
328
  require_paths:
299
329
  - lib
@@ -308,9 +338,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
308
338
  - !ruby/object:Gem::Version
309
339
  version: '0'
310
340
  requirements: []
311
- rubyforge_project:
312
- rubygems_version: 2.6.14.3
313
- signing_key:
341
+ rubygems_version: 3.1.4
342
+ signing_key:
314
343
  specification_version: 4
315
344
  summary: CLI to manage data on Treasure Data, the Hadoop-based cloud data warehousing
316
345
  test_files:
data/.travis.yml DELETED
@@ -1,23 +0,0 @@
1
- language: ruby
2
-
3
- rvm:
4
- - 2.1.10
5
- - 2.2.10
6
- - 2.3.8
7
- - 2.4.5
8
- - 2.5.3
9
- - ruby-head
10
-
11
- gemfile:
12
- - Gemfile
13
-
14
- script: bundle exec rake spec SPEC_OPTS="-fd"
15
-
16
- matrix:
17
- allow_failures:
18
- - rvm: ruby-head
19
-
20
- sudo: false
21
-
22
- notifications:
23
- webhooks: http://td-beda.herokuapp.com/travisci_callback