td 0.16.5 → 0.16.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +4 -0
- data/lib/td/command/workflow.rb +2 -2
- data/lib/td/version.rb +1 -1
- data/spec/td/command/workflow_spec.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc9144137963eda9f35f262eda8dc48b5757fcb2bc5259152f500af104681ce7
|
4
|
+
data.tar.gz: b56b85d17b7cfd3c07a1cd140961c267e27ecd476b419b8e31384b4efeff4761
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1c60a7bdfceea5927a3b7ffb88b71a89b7ae8de11ad848e3bb877c23e7fb0229fc0219ff757af4bb7a090530b0358bdb0b93c443817b0214fc22a0e955dc7e3
|
7
|
+
data.tar.gz: 9c003ea54b6aaf2dc53f85266f6107910998070c5b48f32605dc3c82001f9fe1d737ccab2fe1e6dda307b82abbc347e0980a4028f813caf1511b9971b474db00
|
data/ChangeLog
CHANGED
data/lib/td/command/workflow.rb
CHANGED
@@ -137,7 +137,7 @@ module TreasureData
|
|
137
137
|
end
|
138
138
|
|
139
139
|
def digdag_base_url(version=nil)
|
140
|
-
base = '
|
140
|
+
base = 'https://toolbelt.treasure-data.com/digdag'
|
141
141
|
if version.to_s == ''
|
142
142
|
base
|
143
143
|
else
|
@@ -218,7 +218,7 @@ module TreasureData
|
|
218
218
|
|
219
219
|
private
|
220
220
|
def jre_url
|
221
|
-
base_url = ENV.fetch('TD_WF_JRE_BASE_URL', '
|
221
|
+
base_url = ENV.fetch('TD_WF_JRE_BASE_URL', 'https://toolbelt.treasuredata.com/digdag/jdk/')
|
222
222
|
"#{base_url}#{jre_archive}"
|
223
223
|
end
|
224
224
|
|
data/lib/td/version.rb
CHANGED
@@ -161,7 +161,7 @@ EOF
|
|
161
161
|
expect(TreasureData::Updater).to_not have_received(:stream_fetch).with(
|
162
162
|
%r{/java/}, instance_of(File))
|
163
163
|
expect(TreasureData::Updater).to have_received(:stream_fetch).with(
|
164
|
-
'
|
164
|
+
'https://toolbelt.treasure-data.com/digdag?user=test%40example.com', instance_of(File))
|
165
165
|
end
|
166
166
|
|
167
167
|
it 'installs java + digdag and can run a workflow' do
|
@@ -180,7 +180,7 @@ EOF
|
|
180
180
|
expect(stdout_io.string).to include 'Downloading workflow module'
|
181
181
|
expect(File).to exist(File.join(ENV[home_env], '.td', 'digdag', 'digdag'))
|
182
182
|
expect(TreasureData::Updater).to have_received(:stream_fetch).with(
|
183
|
-
'
|
183
|
+
'https://toolbelt.treasure-data.com/digdag?user=test%40example.com', instance_of(File))
|
184
184
|
|
185
185
|
# Check that java and digdag is not re-installed
|
186
186
|
stdout_io.truncate(0)
|
@@ -228,7 +228,7 @@ EOF
|
|
228
228
|
expect(TreasureData::Updater).to_not have_received(:stream_fetch).with(
|
229
229
|
%r{/java/}, instance_of(File))
|
230
230
|
expect(TreasureData::Updater).to have_received(:stream_fetch).with(
|
231
|
-
'
|
231
|
+
'https://toolbelt.treasure-data.com/digdag?user=test%40example.com', instance_of(File))
|
232
232
|
|
233
233
|
# Check that digdag is not re-installed
|
234
234
|
stdout_io.truncate(0)
|
@@ -250,7 +250,7 @@ EOF
|
|
250
250
|
expect(stdout_io.string).to include 'Downloading workflow module'
|
251
251
|
expect(File).to exist(File.join(ENV[home_env], '.td', 'digdag', 'digdag'))
|
252
252
|
expect(TreasureData::Updater).to have_received(:stream_fetch).with(
|
253
|
-
'
|
253
|
+
'https://toolbelt.treasure-data.com/digdag', instance_of(File))
|
254
254
|
}
|
255
255
|
end
|
256
256
|
|
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.6
|
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: 2019-
|
11
|
+
date: 2019-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: msgpack
|