checkoff 0.249.0 → 0.251.0
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 +4 -4
- data/lib/checkoff/tasks.rb +5 -1
- data/lib/checkoff/version.rb +1 -1
- data/rbi/checkoff.rbi +2 -2509
- data/sig/checkoff.rbs +0 -1538
- 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: e889ef0029e5bf6ef6707b7b29c82b0d2218c576a0ad98f48ba698e353fdb5f7
|
|
4
|
+
data.tar.gz: 59110e44c00573a919b7b700e2dcf0d8e016742b3cba753a650933f00b08b80d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0b063c23e67005e6dca77d0cddcdd18652f467b854365bf8f52ce2bb8a2b886b79aad582d1b76dc9069d3d876a3b78362c549c3506bb1756276795ed596ff1f1
|
|
7
|
+
data.tar.gz: e11dc349e0d88d76410d5e03865a06e310820f2797c45af75a19587e0d94a7c5c5f159a6dcbc47c4c7d95e7a2bb6f1a81e5394576ac672c0dc12ef909efd620f
|
data/lib/checkoff/tasks.rb
CHANGED
|
@@ -225,7 +225,11 @@ module Checkoff
|
|
|
225
225
|
parent_task_gid = parent_task_info.fetch('gid')
|
|
226
226
|
|
|
227
227
|
parent_task = task_by_gid(parent_task_gid, only_uncompleted: false)
|
|
228
|
-
|
|
228
|
+
# Embedded dependency GIDs can outlive the parent fetch (timing) or disagree
|
|
229
|
+
# with cache_method TTL/coherency; treat unfetchable as incomplete.
|
|
230
|
+
next true if parent_task.nil?
|
|
231
|
+
|
|
232
|
+
parent_task.completed_at.nil?
|
|
229
233
|
end
|
|
230
234
|
end
|
|
231
235
|
|
data/lib/checkoff/version.rb
CHANGED