td 0.13.2 → 0.14.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 +1 -1
- data/ChangeLog +9 -0
- data/lib/td/command/export.rb +7 -0
- data/lib/td/command/job.rb +3 -0
- data/lib/td/command/query.rb +5 -0
- data/lib/td/command/runner.rb +1 -1
- data/lib/td/command/sched.rb +5 -1
- data/lib/td/updater.rb +18 -13
- data/lib/td/version.rb +1 -1
- data/spec/file_reader/filter_spec.rb +14 -14
- data/spec/file_reader/io_filter_spec.rb +7 -7
- data/spec/file_reader/line_reader_spec.rb +14 -14
- data/spec/file_reader/parsing_reader_spec.rb +5 -5
- data/spec/file_reader/shared_context.rb +1 -1
- data/spec/file_reader_spec.rb +39 -29
- data/spec/td/command/connector_spec.rb +21 -21
- data/spec/td/command/export_spec.rb +86 -0
- data/spec/td/command/import_spec.rb +11 -11
- data/spec/td/command/job_spec.rb +48 -48
- data/spec/td/command/query_spec.rb +42 -0
- data/spec/td/command/sched_spec.rb +6 -6
- data/spec/td/command/table_spec.rb +54 -54
- data/spec/td/common_spec.rb +21 -21
- data/spec/td/updater_spec.rb +8 -8
- data/spec/td/version_spec.rb +2 -2
- data/td.gemspec +3 -3
- metadata +12 -8
data/spec/td/version_spec.rb
CHANGED
@@ -4,8 +4,8 @@ module TreasureData::Command
|
|
4
4
|
describe '--version' do
|
5
5
|
it "shows version" do
|
6
6
|
stderr, stdout = execute_td("--version")
|
7
|
-
stderr.
|
8
|
-
stdout.
|
7
|
+
expect(stderr).to eq("")
|
8
|
+
expect(stdout).to eq <<-STDOUT
|
9
9
|
#{TreasureData::TOOLBELT_VERSION}
|
10
10
|
STDOUT
|
11
11
|
end
|
data/td.gemspec
CHANGED
@@ -20,14 +20,14 @@ Gem::Specification.new do |gem|
|
|
20
20
|
gem.add_dependency "msgpack", [">= 0.4.4", "!= 0.5.0", "!= 0.5.1", "!= 0.5.2", "!= 0.5.3", "< 0.8.0"]
|
21
21
|
gem.add_dependency "yajl-ruby", "~> 1.1"
|
22
22
|
gem.add_dependency "hirb", ">= 0.4.5"
|
23
|
-
gem.add_dependency "parallel", "~>
|
24
|
-
gem.add_dependency "td-client", "~> 0.8.
|
23
|
+
gem.add_dependency "parallel", "~> 1.8.0"
|
24
|
+
gem.add_dependency "td-client", "~> 0.8.79"
|
25
25
|
gem.add_dependency "td-logger", "~> 0.3.21"
|
26
26
|
gem.add_dependency "rubyzip", "~> 1.1.7"
|
27
27
|
gem.add_dependency "zip-zip", "~> 0.3"
|
28
28
|
gem.add_dependency "ruby-progressbar", "~> 1.7.5"
|
29
29
|
gem.add_development_dependency "rake", "~> 0.9"
|
30
|
-
gem.add_development_dependency "rspec", "~>
|
30
|
+
gem.add_development_dependency "rspec", "~> 3.4.0"
|
31
31
|
gem.add_development_dependency "simplecov", "~> 0.10.0"
|
32
32
|
gem.add_development_dependency 'coveralls'
|
33
33
|
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.
|
4
|
+
version: 0.14.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: 2016-
|
11
|
+
date: 2016-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: msgpack
|
@@ -88,28 +88,28 @@ dependencies:
|
|
88
88
|
requirements:
|
89
89
|
- - "~>"
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version:
|
91
|
+
version: 1.8.0
|
92
92
|
type: :runtime
|
93
93
|
prerelease: false
|
94
94
|
version_requirements: !ruby/object:Gem::Requirement
|
95
95
|
requirements:
|
96
96
|
- - "~>"
|
97
97
|
- !ruby/object:Gem::Version
|
98
|
-
version:
|
98
|
+
version: 1.8.0
|
99
99
|
- !ruby/object:Gem::Dependency
|
100
100
|
name: td-client
|
101
101
|
requirement: !ruby/object:Gem::Requirement
|
102
102
|
requirements:
|
103
103
|
- - "~>"
|
104
104
|
- !ruby/object:Gem::Version
|
105
|
-
version: 0.8.
|
105
|
+
version: 0.8.79
|
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.79
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: td-logger
|
115
115
|
requirement: !ruby/object:Gem::Requirement
|
@@ -186,14 +186,14 @@ dependencies:
|
|
186
186
|
requirements:
|
187
187
|
- - "~>"
|
188
188
|
- !ruby/object:Gem::Version
|
189
|
-
version:
|
189
|
+
version: 3.4.0
|
190
190
|
type: :development
|
191
191
|
prerelease: false
|
192
192
|
version_requirements: !ruby/object:Gem::Requirement
|
193
193
|
requirements:
|
194
194
|
- - "~>"
|
195
195
|
- !ruby/object:Gem::Version
|
196
|
-
version:
|
196
|
+
version: 3.4.0
|
197
197
|
- !ruby/object:Gem::Dependency
|
198
198
|
name: simplecov
|
199
199
|
requirement: !ruby/object:Gem::Requirement
|
@@ -287,8 +287,10 @@ files:
|
|
287
287
|
- spec/file_reader_spec.rb
|
288
288
|
- spec/spec_helper.rb
|
289
289
|
- spec/td/command/connector_spec.rb
|
290
|
+
- spec/td/command/export_spec.rb
|
290
291
|
- spec/td/command/import_spec.rb
|
291
292
|
- spec/td/command/job_spec.rb
|
293
|
+
- spec/td/command/query_spec.rb
|
292
294
|
- spec/td/command/sched_spec.rb
|
293
295
|
- spec/td/command/table_spec.rb
|
294
296
|
- spec/td/common_spec.rb
|
@@ -335,8 +337,10 @@ test_files:
|
|
335
337
|
- spec/file_reader_spec.rb
|
336
338
|
- spec/spec_helper.rb
|
337
339
|
- spec/td/command/connector_spec.rb
|
340
|
+
- spec/td/command/export_spec.rb
|
338
341
|
- spec/td/command/import_spec.rb
|
339
342
|
- spec/td/command/job_spec.rb
|
343
|
+
- spec/td/command/query_spec.rb
|
340
344
|
- spec/td/command/sched_spec.rb
|
341
345
|
- spec/td/command/table_spec.rb
|
342
346
|
- spec/td/common_spec.rb
|