rbbt-util 5.25.43 → 5.25.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c8329e1d8658643cd78a094eb7540e1655b07ba
4
- data.tar.gz: af8d212a2026bee068c9bf1d1d6854e0c5a07138
3
+ metadata.gz: 9473cce633d8678775dfb315c9fee9686eafbcc7
4
+ data.tar.gz: 0767e47fd61c2c3518230d8771c6e38e56b1f939
5
5
  SHA512:
6
- metadata.gz: cc3adc891693f453bfabfc0877fbc813f12472b37bbe14fa901f4f0ce6883a0d65dcca545fb403dab5751bed842a4e1572e237b25120febbfae592a6b77f0ade
7
- data.tar.gz: ad2a4d939b3e98efb39316d38a172a045da53019ef16202197265707e00767e7ed5232c8ad64490aad211ce9f734d7a420a7c45ec47ffec05333960e1ce584be
6
+ metadata.gz: 2f9104fe4d642082a12599f25ece6c722f5a1d4bead8e6811393543e164ba345b0cd2c1244f010de27e92922059adf615fbe854b8616accf5ec06a8cdae0717a
7
+ data.tar.gz: 053265f4c5f9142394c3971b9f1bac3d3adc2d8cfad90beea74661af5c47079060b62495efebcff59beb6a5729e62e1df3ed30fd287426685effdcab45db93b4
@@ -771,7 +771,7 @@ module Workflow
771
771
  end
772
772
 
773
773
  all_deps << new
774
- end
774
+ end if wf && t
775
775
 
776
776
  when String, Symbol
777
777
  rec_deps = rec_dependencies(dep.to_sym)
@@ -36,7 +36,6 @@ class Step
36
36
  nil
37
37
  end
38
38
  str = if not Open.remote?(path) and (Open.exists?(path) and $main_mtime and path_mtime and ($main_mtime - path_mtime) < -2)
39
- iii [path, path_mtime, $main_mtime, $main_mtime - path_mtime]
40
39
  prov_status_msg(status.to_s) << " " << [workflow, task, path].compact * " " << " (#{Log.color(:red, "Mtime out of sync") })"
41
40
  else
42
41
  prov_status_msg(status.to_s) << " " << [workflow, task, path].compact * " "
@@ -67,7 +66,7 @@ class Step
67
66
  str << "\n"
68
67
  end
69
68
 
70
- def self.prov_report(step, offset = 0, task = nil)
69
+ def self.prov_report(step, offset = 0, task = nil, seen = [])
71
70
  info = step.info || {}
72
71
  info[:task_name] = task
73
72
  path = step.path
@@ -77,13 +76,12 @@ class Step
77
76
  status = :unsync if status == :done and not Open.exist? path
78
77
  str = " " * offset
79
78
  str << prov_report_msg(status, name, path, info)
80
- seen = []
81
79
  step.dependencies.each do |dep|
82
80
  path = dep.path
83
81
  new = ! seen.include?(path)
84
82
  if new
85
83
  seen << path
86
- str << prov_report(dep, offset + 1, task)
84
+ str << prov_report(dep, offset + 1, task, seen)
87
85
  else
88
86
  str << Log.color(:blue, Log.uncolor(prov_report(dep, offset+1, task)))
89
87
  end
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.25.43
4
+ version: 5.25.44
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez