rbbt-util 5.23.30 → 5.23.31

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 46009fb0f9f3cf772708eab0fa79e5c6c92e4119
4
- data.tar.gz: 2317148b52eecea200d1f7579d0094dbfbd553e0
3
+ metadata.gz: 109bb2daf8846d12be60271835c62b41d57000ef
4
+ data.tar.gz: 73fc3ca6821a320f3b8e6ff8e557aa3265183383
5
5
  SHA512:
6
- metadata.gz: 13ac3808249e0c62124bc0755afe12011a55c1b5f381b9bb6ecacf0861208a5042f8cb9364358a51804b1860cb4dfcbb43938e14231f834813eb7eab4dbc03b2
7
- data.tar.gz: c99ea47d4bd81b6c52f1e18d08eccc909e05018dcaa2539362e98277960ed4cb42b7f40b63c71a3d72f096bdc0527f3cd9241af4313d13cf18a7fa026464cce5
6
+ metadata.gz: 0dddc6c05a96c78ea6fdb696e5a46c3ce4e29a02867c2a58f7d8751f34da99cfc40051ad3564bcf5d910929c9b61ae9dd3f65a13d14020793cc049d97e39f8b0
7
+ data.tar.gz: 71c62ea2ef84428217180c01ea7b5b8c4207e3475cfad5f6deefee636c332cb82e05aa02c85de7ec496b8d179feedd634c9bf55fb61bfbf656527f7e7f7515a8
@@ -41,6 +41,7 @@ module Misc
41
41
  line << word << " "
42
42
  word = words.shift
43
43
  end
44
+ offset = 0
44
45
  lines << ((" " * indent) << line[0..-2])
45
46
  line = ""
46
47
  end
@@ -40,7 +40,8 @@ module SOPT
40
40
  else
41
41
  "=<#{ type }>"
42
42
  end
43
- extra << " (default: #{Array === default ? (default.length > 3 ? default[0..2]*", " + ', ...' : default*", " ): default})" if default != nil
43
+ #extra << " (default: #{Array === default ? (default.length > 3 ? default[0..2]*", " + ', ...' : default*", " ): default})" if default != nil
44
+ extra << " (default: #{Misc.fingerprint(default)})" if default != nil
44
45
  input_str << Log.color(:green, extra)
45
46
  end
46
47
 
@@ -391,7 +391,7 @@ class Step
391
391
  (defined?(WorkflowRESTClient) && WorkflowRESTClient::RemoteStep === dep) ||
392
392
  ! Open.exists?(dep.info_file) ||
393
393
  (dep.path && (Open.exists?(dep.path) || Open.remote?(dep.path))) ||
394
- ((dep.error? || dep.aborted?) && (! dep.recoverable_error? || canfail_paths.include?(dep.path)))
394
+ ((dep.error? || dep.aborted? || dep.waiting?) && (! dep.recoverable_error? || canfail_paths.include?(dep.path)))
395
395
  }
396
396
  end
397
397
 
@@ -6,7 +6,9 @@ class Step
6
6
  task = File.basename(File.dirname(path)) if task.nil?
7
7
  workflow = File.basename(File.dirname(File.dirname(path))) if workflow.nil?
8
8
 
9
- FileUtils.mkdir_p target_dir[workflow][task]
9
+ return if target_dir[workflow][task][name].exists? || File.symlink?(target_dir[workflow][task][name].find)
10
+ Log.debug "Linking #{ path }"
11
+ FileUtils.mkdir_p target_dir[workflow][task] unless target_dir[workflow][task].exists?
10
12
  FileUtils.ln_s path, target_dir[workflow][task][name].find
11
13
  FileUtils.ln_s path + '.files', target_dir[workflow][task][name].find + '.files' if File.exists?(path + '.files')
12
14
  FileUtils.ln_s path + '.info', target_dir[workflow][task][name].find + '.info' if File.exists?(path + '.info')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbbt-util
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.23.30
4
+ version: 5.23.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez