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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c5186c70798590604d6800a0c6da9ee511ea72114e9cfea4f47bb3f4f77b5237
4
- data.tar.gz: 814265150a1a7af8b8980e7f71e2f085d762ef0b1c690a6b04e31c72ef128e2b
3
+ metadata.gz: d924c906eed129ad1c57bdbfdd8cdcc61b572e296a09721195b7c1a10d78dbe5
4
+ data.tar.gz: 79e71aac6289b18a448288a601c62a02cee6583bcbbc966e64a71003c8e73e89
5
5
  SHA512:
6
- metadata.gz: 89b6ec01624867af12f192762ff2179846856d60641efdd6e1f59acd2a3a22dbbe76d9ad439ed21086385004d1c973c229a49ad085036e8696507bbaf275c44a
7
- data.tar.gz: 0d344a736addad549df2918c8d24d351ece8a13c7962a2af951569073f0c3956e9b9094a0e0ccc691d429019885af9e4fa0dc64b1ce7401ae62b15ba0facfef2
6
+ metadata.gz: 8bc265211c02ebf11e7c7f35ce79aae7517c6b86cf023c8d0b41713a24df2365954f9757bfe9b44a85573187af7fb355f84e7d6b1bad9e8b32fc9b8b9ed6891d
7
+ data.tar.gz: 5de92894cb1f12d633667b87f426f4460d63a54d84cb1a9f2e8e38c529c45d41efdd9097cb9a2dd6f73691669a4a070ba87aedc55a5d8ec7780fa9cec5e2d13a
data/Gemfile.lock CHANGED
@@ -12,7 +12,7 @@ GIT
12
12
  PATH
13
13
  remote: .
14
14
  specs:
15
- checkoff (0.44.1)
15
+ checkoff (0.44.2)
16
16
  activesupport
17
17
  asana (> 0.10.0)
18
18
  cache_method
@@ -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
@@ -3,5 +3,5 @@
3
3
  # Command-line and gem client for Asana (unofficial)
4
4
  module Checkoff
5
5
  # Version of library
6
- VERSION = '0.44.1'
6
+ VERSION = '0.44.2'
7
7
  end
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.1
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-01 00:00:00.000000000 Z
11
+ date: 2023-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport