checkoff 0.199.0 → 0.200.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: 1c58298d6292e9d70cfb62d354224e8b03de39798b8e2a822c284a55ca4aba4f
4
- data.tar.gz: a9454f466639dcb730d6e2ecfe1f4a928827bade28f56a183c07a83b414c42c3
3
+ metadata.gz: f035c149eeb5a598dabdd82b670b528e3ea680d336790cd4fd03c8ff3ea5fea0
4
+ data.tar.gz: 4a672f1da25f03de8e75e8ac82e1cd8ecc745b83030b0afc23641f4be747a8c0
5
5
  SHA512:
6
- metadata.gz: c6b583c219f0d571e9d1837a3fb9ff6fc5c2ff936da0bee0e33fe6207796c3b7d4bbe4e88e55c5959b4c8d43001bcdec805ba67f9ba674d3a347f8a4a287eb25
7
- data.tar.gz: 4a0e6bcca51683b18266751047b7914d2abe039d3bef5363e1438065477a2b7c7069f3738dd8f7aedc3b705c60b9a67200509c7eb1dc7ae83809d9eec7f6d8a0
6
+ metadata.gz: 8fcc6774b69d86c7c6a038adc647e8561a950a51c5dd37f7b5ec456fd728291b848ad830c2d69f9ecb72e68dde87721cd8ad4237c097e20135f14074589541e3
7
+ data.tar.gz: 6990eb66d5ce3c0bd9ffa4c85b39d1d9bff584e91fc5e283a96b5886c3a919db355e4fcbee1bef81775d7dce0c59da54b0a9388b9de4eed268798fc2c1290e15
data/Gemfile.lock CHANGED
@@ -12,7 +12,7 @@ GIT
12
12
  PATH
13
13
  remote: .
14
14
  specs:
15
- checkoff (0.199.0)
15
+ checkoff (0.200.0)
16
16
  activesupport
17
17
  asana (> 0.10.0)
18
18
  cache_method
@@ -80,7 +80,11 @@ module Checkoff
80
80
  return [] if custom_field.nil?
81
81
 
82
82
  resource_custom_field_enum_values(custom_field).flat_map do |enum_value|
83
- find_names(enum_value)
83
+ if enum_value.nil?
84
+ []
85
+ else
86
+ [enum_value.fetch('name')]
87
+ end
84
88
  end
85
89
  end
86
90
 
@@ -164,13 +168,6 @@ module Checkoff
164
168
  end
165
169
  end
166
170
 
167
- # @param custom_field [Hash]
168
- # @param enum_value [Object, nil]
169
- # @return [Array<String>]
170
- def find_names(enum_value)
171
- [enum_value.fetch('name')]
172
- end
173
-
174
171
  # @return [Checkoff::Workspaces]
175
172
  attr_reader :workspaces
176
173
 
@@ -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.199.0'
6
+ VERSION = '0.200.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.199.0
4
+ version: 0.200.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-22 00:00:00.000000000 Z
11
+ date: 2024-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport