checkoff 0.44.1 → 0.44.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/checkoff/tasks.rb +2 -2
- data/lib/checkoff/version.rb +1 -1
- 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: d924c906eed129ad1c57bdbfdd8cdcc61b572e296a09721195b7c1a10d78dbe5
|
4
|
+
data.tar.gz: 79e71aac6289b18a448288a601c62a02cee6583bcbbc966e64a71003c8e73e89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bc265211c02ebf11e7c7f35ce79aae7517c6b86cf023c8d0b41713a24df2365954f9757bfe9b44a85573187af7fb355f84e7d6b1bad9e8b32fc9b8b9ed6891d
|
7
|
+
data.tar.gz: 5de92894cb1f12d633667b87f426f4460d63a54d84cb1a9f2e8e38c529c45d41efdd9097cb9a2dd6f73691669a4a070ba87aedc55a5d8ec7780fa9cec5e2d13a
|
data/Gemfile.lock
CHANGED
data/lib/checkoff/tasks.rb
CHANGED
@@ -162,10 +162,10 @@ module Checkoff
|
|
162
162
|
# @sg-ignore
|
163
163
|
# @type [Array<Asana::Resources::Task>, nil]
|
164
164
|
dependencies = task.instance_variable_get(:@dependencies)
|
165
|
-
dependencies = task.dependencies if dependencies.nil?
|
165
|
+
dependencies = task.dependencies.map { |task| { 'gid' => task.gid } } if dependencies.nil?
|
166
166
|
|
167
167
|
dependencies.any? do |parent_task_info|
|
168
|
-
parent_task_gid = parent_task_info.gid
|
168
|
+
parent_task_gid = parent_task_info.fetch('gid')
|
169
169
|
parent_task = @asana_task.find_by_id(client, parent_task_gid,
|
170
170
|
options: { fields: ['completed'] })
|
171
171
|
!parent_task.completed
|
data/lib/checkoff/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: checkoff
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.44.
|
4
|
+
version: 0.44.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vince Broz
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|