checkoff 0.196.0 → 0.197.0
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/internal/project_hashes.rb +7 -1
- data/lib/checkoff/internal/task_hashes.rb +7 -1
- 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: 3418376569519f417f88e6e2a2ee492b91d9e3d45f838f5d35a12f4f757473c8
|
4
|
+
data.tar.gz: fa62605019dbc34da3bbcfe1801c6ccdceff9dbe2d16718e0fb857f717ed5076
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a32931a1162f346a1988e231779c97f44c1c61a2a0103e8d6d29225115246673c4d7d015c9beacf3825ce55937109a6e898e9daea31bc023fda3acb1f8f9442f
|
7
|
+
data.tar.gz: 2da623caac1139c8a2e9779c8bb95fbe1cdcc146656b462de02689fb7647f187d9c3729b4723d146810f433f2046fe5eb495cfcd8117ea9fe8a3a7dc249f04ef
|
data/Gemfile.lock
CHANGED
@@ -25,7 +25,13 @@ module Checkoff
|
|
25
25
|
# @param project_hash [Hash]
|
26
26
|
# @return [void]
|
27
27
|
def unwrap_custom_fields(project_hash)
|
28
|
-
|
28
|
+
# @sg-ignore
|
29
|
+
# @type [Array<Hash>,nil]
|
30
|
+
custom_fields = project_hash.fetch('custom_fields', nil)
|
31
|
+
|
32
|
+
return if custom_fields.nil?
|
33
|
+
|
34
|
+
unwrapped_custom_fields = custom_fields.group_by do |cf|
|
29
35
|
cf['name']
|
30
36
|
end.transform_values(&:first)
|
31
37
|
project_hash['unwrapped']['custom_fields'] = unwrapped_custom_fields
|
@@ -33,7 +33,13 @@ module Checkoff
|
|
33
33
|
# @param task_hash [Hash]
|
34
34
|
# @return [void]
|
35
35
|
def unwrap_custom_fields(task_hash)
|
36
|
-
|
36
|
+
# @sg-ignore
|
37
|
+
# @type [Array<Hash>,nil]
|
38
|
+
custom_fields = task_hash.fetch('custom_fields', nil)
|
39
|
+
|
40
|
+
return if custom_fields.nil?
|
41
|
+
|
42
|
+
unwrapped_custom_fields = custom_fields.group_by do |cf|
|
37
43
|
cf['name']
|
38
44
|
end.transform_values(&:first)
|
39
45
|
task_hash['unwrapped']['custom_fields'] = unwrapped_custom_fields
|
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.
|
4
|
+
version: 0.197.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-
|
11
|
+
date: 2024-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|