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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f035c149eeb5a598dabdd82b670b528e3ea680d336790cd4fd03c8ff3ea5fea0
4
- data.tar.gz: 4a672f1da25f03de8e75e8ac82e1cd8ecc745b83030b0afc23641f4be747a8c0
3
+ metadata.gz: 27306c71eb86f04c2881f717bdb79bcaf5a98a500c2f98eac6e83de3d6a1e606
4
+ data.tar.gz: bdb66456ccb31155310b34244f3582fcfcf0a1e2403d7b9e431fbe26f18df49e
5
5
  SHA512:
6
- metadata.gz: 8fcc6774b69d86c7c6a038adc647e8561a950a51c5dd37f7b5ec456fd728291b848ad830c2d69f9ecb72e68dde87721cd8ad4237c097e20135f14074589541e3
7
- data.tar.gz: 6990eb66d5ce3c0bd9ffa4c85b39d1d9bff584e91fc5e283a96b5886c3a919db355e4fcbee1bef81775d7dce0c59da54b0a9388b9de4eed268798fc2c1290e15
6
+ metadata.gz: be78a2c82ce183a0dc482ad207933aa03fdccf5791677d59b180b839ade298c14e2b370eec768f7467e57190542cbcdbeae0ed1d28a96461f94e49a61254b056
7
+ data.tar.gz: 88d394107f9de38d9c3df1ef179d1cc5b5c577bc66b1858618447b397d0a202edd698d76715d2714f7c49b91de0745beabd7935e721a342e5db94187af27cd70
data/Gemfile.lock CHANGED
@@ -12,7 +12,7 @@ GIT
12
12
  PATH
13
13
  remote: .
14
14
  specs:
15
- checkoff (0.200.0)
15
+ checkoff (0.201.0)
16
16
  activesupport
17
17
  asana (> 0.10.0)
18
18
  cache_method
@@ -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
@@ -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.200.0'
6
+ VERSION = '0.201.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.200.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-03-30 00:00:00.000000000 Z
11
+ date: 2024-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport