rbbt-util 5.17.72 → 5.17.73
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/resource/path.rb +1 -1
- data/lib/rbbt/workflow/step/run.rb +7 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4fda440967a1a2af0ca8818045e4a1dd1d09c93
|
4
|
+
data.tar.gz: 1a49bd9b10e32462295e9d3467e05b0883f72d9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa61d113310f26ff43331250c84be4b9b1f154347baec120f7930f8e351c187e961802a113ea9dc55e3a2e958922c4db69f6dc03d0f35c867dc858e3092ef3e3
|
7
|
+
data.tar.gz: c46d922a4e0ef0d56b19bc2aee57820e57f46e590b7d3ab754cb2c074dc8d1b3a145271f25b45328a44e9e960af7d4caf1008f8801a895c241a3a78275c4d85d
|
data/lib/rbbt/resource/path.rb
CHANGED
@@ -137,7 +137,7 @@ class Step
|
|
137
137
|
|
138
138
|
return if @seen.empty?
|
139
139
|
|
140
|
-
log :dependencies, "#{Log.color :magenta, "Dependencies"} #{Log.color :yellow, task.name.to_s || ""}"
|
140
|
+
log :dependencies, "#{Log.color :magenta, "Dependencies"} for step #{Log.color :yellow, task.name.to_s || ""}"
|
141
141
|
dupping = []
|
142
142
|
@seen.each do |dependency|
|
143
143
|
next if (dependency.done? and not dependency.dirty?) or
|
@@ -181,7 +181,7 @@ class Step
|
|
181
181
|
|
182
182
|
Open.rm info_file if Open.exists? info_file
|
183
183
|
|
184
|
-
log :setup, "#{Log.color :green, "Setup"} #{Log.color :yellow, task.name.to_s || ""}"
|
184
|
+
log :setup, "#{Log.color :green, "Setup"} step #{Log.color :yellow, task.name.to_s || ""}"
|
185
185
|
|
186
186
|
merge_info({
|
187
187
|
:pid => Process.pid,
|
@@ -203,7 +203,7 @@ class Step
|
|
203
203
|
set_info :inputs, Misc.remove_long_items(Misc.zip2hash(task.inputs, @inputs)) unless task.inputs.nil?
|
204
204
|
|
205
205
|
set_info :started, (start_time = Time.now)
|
206
|
-
log :started, "#{Log.color :magenta, "Starting"} #{Log.color :yellow, task.name.to_s || ""}"
|
206
|
+
log :started, "#{Log.color :magenta, "Starting"} step #{Log.color :yellow, task.name.to_s || ""}"
|
207
207
|
|
208
208
|
begin
|
209
209
|
result = _exec
|
@@ -236,7 +236,7 @@ class Step
|
|
236
236
|
end
|
237
237
|
|
238
238
|
if stream
|
239
|
-
log :streaming, "#{Log.color :magenta, "Streaming"} #{Log.color :yellow, task.name.to_s || ""}"
|
239
|
+
log :streaming, "#{Log.color :magenta, "Streaming"} step #{Log.color :yellow, task.name.to_s || ""}"
|
240
240
|
ConcurrentStream.setup stream do
|
241
241
|
begin
|
242
242
|
if status != :done
|
@@ -244,7 +244,7 @@ class Step
|
|
244
244
|
set_info :done, (done_time = Time.now)
|
245
245
|
set_info :total_time_elapsed, (total_time_elapsed = done_time - issue_time)
|
246
246
|
set_info :time_elapsed, (time_elapsed = done_time - start_time)
|
247
|
-
log :done, "#{Log.color :magenta, "Completed"} #{Log.color :yellow, task.name.to_s || ""} in #{time_elapsed.to_i}+#{(total_time_elapsed - time_elapsed).to_i} sec."
|
247
|
+
log :done, "#{Log.color :magenta, "Completed"} step #{Log.color :yellow, task.name.to_s || ""} in #{time_elapsed.to_i}+#{(total_time_elapsed - time_elapsed).to_i} sec."
|
248
248
|
end
|
249
249
|
end
|
250
250
|
rescue
|
@@ -255,7 +255,7 @@ class Step
|
|
255
255
|
end
|
256
256
|
stream.abort_callback = Proc.new do
|
257
257
|
begin
|
258
|
-
log :aborted, "#{Log.color :red, "Aborted"} #{Log.color :yellow, task.name.to_s || ""}" if status == :streaming
|
258
|
+
log :aborted, "#{Log.color :red, "Aborted"} step #{Log.color :yellow, task.name.to_s || ""}" if status == :streaming
|
259
259
|
rescue
|
260
260
|
Log.exception $!
|
261
261
|
end
|
@@ -264,7 +264,7 @@ class Step
|
|
264
264
|
set_info :done, (done_time = Time.now)
|
265
265
|
set_info :total_time_elapsed, (total_time_elapsed = done_time - issue_time)
|
266
266
|
set_info :time_elapsed, (time_elapsed = done_time - start_time)
|
267
|
-
log :done, "#{Log.color :magenta, "Completed"} #{Log.color :yellow, task.name.to_s || ""} in #{time_elapsed.to_i}+#{(total_time_elapsed - time_elapsed).to_i} sec."
|
267
|
+
log :done, "#{Log.color :magenta, "Completed"} step #{Log.color :yellow, task.name.to_s || ""} in #{time_elapsed.to_i}+#{(total_time_elapsed - time_elapsed).to_i} sec."
|
268
268
|
end
|
269
269
|
|
270
270
|
result
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbbt-util
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.17.
|
4
|
+
version: 5.17.73
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|