td 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +5 -0
- data/ChangeLog +15 -0
- data/lib/td/command/common.rb +96 -26
- data/lib/td/command/connector.rb +58 -36
- data/lib/td/command/import.rb +162 -1
- data/lib/td/command/job.rb +33 -23
- data/lib/td/command/list.rb +3 -2
- data/lib/td/command/query.rb +3 -5
- data/lib/td/command/runner.rb +1 -2
- data/lib/td/command/table.rb +29 -18
- data/lib/td/compact_format_yamler.rb +41 -0
- data/lib/td/connector_config_normalizer.rb +32 -0
- data/lib/td/version.rb +1 -1
- data/spec/spec_helper.rb +18 -0
- data/spec/td/command/connector_spec.rb +153 -0
- data/spec/td/command/import_spec.rb +179 -0
- data/spec/td/command/job_spec.rb +1 -1
- data/spec/td/command/table_spec.rb +113 -0
- data/spec/td/common_spec.rb +23 -1
- data/spec/td/compact_format_yamler_spec.rb +38 -0
- data/spec/td/connector_config_normalizer_spec.rb +62 -0
- data/td.gemspec +2 -1
- metadata +25 -5
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.
|
4
|
+
version: 0.13.0
|
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: 2015-
|
11
|
+
date: 2015-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: msgpack
|
@@ -102,14 +102,14 @@ dependencies:
|
|
102
102
|
requirements:
|
103
103
|
- - "~>"
|
104
104
|
- !ruby/object:Gem::Version
|
105
|
-
version: 0.8.
|
105
|
+
version: 0.8.76
|
106
106
|
type: :runtime
|
107
107
|
prerelease: false
|
108
108
|
version_requirements: !ruby/object:Gem::Requirement
|
109
109
|
requirements:
|
110
110
|
- - "~>"
|
111
111
|
- !ruby/object:Gem::Version
|
112
|
-
version: 0.8.
|
112
|
+
version: 0.8.76
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: td-logger
|
115
115
|
requirement: !ruby/object:Gem::Requirement
|
@@ -152,6 +152,20 @@ dependencies:
|
|
152
152
|
- - "~>"
|
153
153
|
- !ruby/object:Gem::Version
|
154
154
|
version: '0.3'
|
155
|
+
- !ruby/object:Gem::Dependency
|
156
|
+
name: ruby-progressbar
|
157
|
+
requirement: !ruby/object:Gem::Requirement
|
158
|
+
requirements:
|
159
|
+
- - "~>"
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
version: 1.7.5
|
162
|
+
type: :runtime
|
163
|
+
prerelease: false
|
164
|
+
version_requirements: !ruby/object:Gem::Requirement
|
165
|
+
requirements:
|
166
|
+
- - "~>"
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: 1.7.5
|
155
169
|
- !ruby/object:Gem::Dependency
|
156
170
|
name: rake
|
157
171
|
requirement: !ruby/object:Gem::Requirement
|
@@ -255,9 +269,11 @@ files:
|
|
255
269
|
- lib/td/command/table.rb
|
256
270
|
- lib/td/command/update.rb
|
257
271
|
- lib/td/command/user.rb
|
272
|
+
- lib/td/compact_format_yamler.rb
|
258
273
|
- lib/td/compat_core.rb
|
259
274
|
- lib/td/compat_gzip_reader.rb
|
260
275
|
- lib/td/config.rb
|
276
|
+
- lib/td/connector_config_normalizer.rb
|
261
277
|
- lib/td/distribution.rb
|
262
278
|
- lib/td/file_reader.rb
|
263
279
|
- lib/td/helpers.rb
|
@@ -276,6 +292,8 @@ files:
|
|
276
292
|
- spec/td/command/sched_spec.rb
|
277
293
|
- spec/td/command/table_spec.rb
|
278
294
|
- spec/td/common_spec.rb
|
295
|
+
- spec/td/compact_format_yamler_spec.rb
|
296
|
+
- spec/td/connector_config_normalizer_spec.rb
|
279
297
|
- spec/td/fixture/bulk_load.yml
|
280
298
|
- spec/td/fixture/ca.cert
|
281
299
|
- spec/td/fixture/server.cert
|
@@ -304,7 +322,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
304
322
|
version: '0'
|
305
323
|
requirements: []
|
306
324
|
rubyforge_project:
|
307
|
-
rubygems_version: 2.4.5
|
325
|
+
rubygems_version: 2.4.5.1
|
308
326
|
signing_key:
|
309
327
|
specification_version: 4
|
310
328
|
summary: CLI to manage data on Treasure Data, the Hadoop-based cloud data warehousing
|
@@ -322,6 +340,8 @@ test_files:
|
|
322
340
|
- spec/td/command/sched_spec.rb
|
323
341
|
- spec/td/command/table_spec.rb
|
324
342
|
- spec/td/common_spec.rb
|
343
|
+
- spec/td/compact_format_yamler_spec.rb
|
344
|
+
- spec/td/connector_config_normalizer_spec.rb
|
325
345
|
- spec/td/fixture/bulk_load.yml
|
326
346
|
- spec/td/fixture/ca.cert
|
327
347
|
- spec/td/fixture/server.cert
|