checkoff 0.189.0 → 0.190.0

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: 8e562428009e8c37b4e304fe73f38f4e71a4e4ff43435a691bec319730388b16
4
- data.tar.gz: 899236a75661128f5f0bc7c8ce3324e0f02ab2cddda8bab1e75aa9571252fc80
3
+ metadata.gz: fa8b7c5be4bdbf9146267d2312f2911d8d1d9b23ddaf07104f5859fb32637537
4
+ data.tar.gz: 408188b56ff170789b3d819197bb522cd504efb815ea1fa98b43b0f3ecfcee87
5
5
  SHA512:
6
- metadata.gz: 16220a87ff43bcd3b701d82848a8d86ec7fbce2333ab9e78ab4c9ddf77f8e2d0c5177311db77682c3fcc13a562f06496d6bb59426f974f4f89679af08fd11d87
7
- data.tar.gz: e71b11aafa507a6ba8be9c3330191696f9c0c52671f7395d582bfada4531eee674b97aae7034671e1e9e93cc2d946bccf0cfa3a3e384b54b5750d40e4a218705
6
+ metadata.gz: 2c798f46c1012573d7a110ae60bf5813e6fbd2d4d7802d4fef596c6b9550951e368a2ee1df22bd321741e09018875c7f26eb4ee110bf2f3fe15308fb970533c9
7
+ data.tar.gz: 5510102f3d1b879965a248513a565798474864f25c454eb2a7f9896f57311d7a299d52dacb0e437288027503f46199bb2721f41b269e5133946be6d44d8eea72
data/Gemfile.lock CHANGED
@@ -12,7 +12,7 @@ GIT
12
12
  PATH
13
13
  remote: .
14
14
  specs:
15
- checkoff (0.189.0)
15
+ checkoff (0.190.0)
16
16
  activesupport
17
17
  asana (> 0.10.0)
18
18
  cache_method
@@ -96,6 +96,12 @@ module Checkoff
96
96
 
97
97
  task_data = @tasks.task_to_h(task)
98
98
  task_data.fetch('unwrapped').fetch('membership_by_section_gid').keys.include?(value)
99
+ when 'checkoff:fetched.parent_task.gid'
100
+ fields = ['parent']
101
+ task = uncached_fetch_task(key, asana_event, fields)
102
+ return false if task.nil?
103
+
104
+ task.parent&.fetch('gid', nil) == value
99
105
  when 'checkoff:fetched.completed'
100
106
  fields = ['completed_at']
101
107
  task = uncached_fetch_task(key, asana_event, fields)
@@ -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.189.0'
6
+ VERSION = '0.190.0'
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.189.0
4
+ version: 0.190.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vince Broz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-02-02 00:00:00.000000000 Z
11
+ date: 2024-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport