rbbt-util 5.26.23 → 5.26.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/tsv/util.rb +1 -1
- data/lib/rbbt/util/log.rb +1 -1
- data/share/rbbt_commands/workflow/archive_all +1 -1
- data/share/rbbt_commands/workflow/task +8 -6
- 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: dfe084c470f00ffc208f85382277a1be318bfa42e2ee2e5f0fca9355f79f2eef
|
4
|
+
data.tar.gz: 5e454f196a01ea3ed6d0e21f399d822bb60d032673f4f37cce0db4846ac328a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98ae2168074363d9a2a738fe5c7bcc5456316a5224a99da469279948f5e123da69e51787ace463492329183445407b0ba7c785323216bb68667c30a8b24da229
|
7
|
+
data.tar.gz: 75ef4adda1448533e5354a8677a4922e206e68c48e1f607fcfb4e3af30b7d2d709cb4043264fa1e9774419663d726c6e148d27dfb22dfbfe9c9f08056bb73582
|
data/lib/rbbt/tsv/util.rb
CHANGED
@@ -74,7 +74,7 @@ module TSV
|
|
74
74
|
else
|
75
75
|
stream = get_stream(file)
|
76
76
|
stream.abort(exception) if stream.respond_to? :abort
|
77
|
-
AbortedStream.setup(stream, exception)
|
77
|
+
AbortedStream.setup(stream, exception) unless stream.respond_to?(:exception) && stream.exception
|
78
78
|
end
|
79
79
|
end
|
80
80
|
|
data/lib/rbbt/util/log.rb
CHANGED
@@ -28,5 +28,5 @@ SOPT.usage if options[:help]
|
|
28
28
|
|
29
29
|
target, *files = ARGV
|
30
30
|
|
31
|
-
raise "Target already exists: #{ target }" if File.exists?(target) and not File.directory(target)
|
31
|
+
raise "Target already exists: #{ target }" if File.exists?(target) and not File.directory?(target)
|
32
32
|
Step.archive(files, target)
|
@@ -161,12 +161,14 @@ available. Examples can be enacted using `rbbt workflow example <workflow>
|
|
161
161
|
|
162
162
|
When a task is enacted a job is instantiated. This job is identified by the
|
163
163
|
`jobname` (which is *Default* unless specified otherwise) and the values of the
|
164
|
-
parameters
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
the job
|
164
|
+
parameters; these two things determine the filename under which the job result
|
165
|
+
will be saved. If the taks is enacted using the same `jobname` and parameters
|
166
|
+
it will result in the same job, pointing to the same result file.
|
167
|
+
|
168
|
+
The first time a job is executed it will save the result. The saved result will
|
169
|
+
be returned directly if the same task is re-enacted. Once the job is done you
|
170
|
+
can redo it using the `clean` parameter, this cleans the last step of the task.
|
171
|
+
The `recursive_clean` cleans all the job dependency steps recursively.
|
170
172
|
|
171
173
|
-h--help Show this help
|
172
174
|
-wd--workdir* Change the working directory of the workflow
|
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.26.
|
4
|
+
version: 5.26.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|