checkoff 0.200.0 → 0.201.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/custom_fields.rb +3 -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: 27306c71eb86f04c2881f717bdb79bcaf5a98a500c2f98eac6e83de3d6a1e606
|
4
|
+
data.tar.gz: bdb66456ccb31155310b34244f3582fcfcf0a1e2403d7b9e431fbe26f18df49e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be78a2c82ce183a0dc482ad207933aa03fdccf5791677d59b180b839ade298c14e2b370eec768f7467e57190542cbcdbeae0ed1d28a96461f94e49a61254b056
|
7
|
+
data.tar.gz: 88d394107f9de38d9c3df1ef179d1cc5b5c577bc66b1858618447b397d0a202edd698d76715d2714f7c49b91de0745beabd7935e721a342e5db94187af27cd70
|
data/Gemfile.lock
CHANGED
@@ -70,6 +70,9 @@ module Checkoff
|
|
70
70
|
resource_custom_field_enum_values(custom_field).flat_map do |enum_value|
|
71
71
|
find_gids(custom_field, enum_value)
|
72
72
|
end
|
73
|
+
rescue StandardError => e
|
74
|
+
raise "Could not process custom field with gid #{custom_field_gid} " \
|
75
|
+
"in gid #{resource.gid} with custom fields #{resource.custom_fields.inspect}: #{e}"
|
73
76
|
end
|
74
77
|
|
75
78
|
# @param resource [Asana::Resources::Project,Asana::Resources::Task]
|
@@ -162,8 +165,6 @@ module Checkoff
|
|
162
165
|
if enum_value.nil?
|
163
166
|
[]
|
164
167
|
else
|
165
|
-
raise "Unexpected enabled value on custom field: #{custom_field}" if enum_value.fetch('enabled') == false
|
166
|
-
|
167
168
|
[enum_value.fetch('gid')]
|
168
169
|
end
|
169
170
|
end
|
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.201.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-
|
11
|
+
date: 2024-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|