checkoff 0.124.0 → 0.125.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/checkoff/internal/selector_classes/common.rb +9 -9
- data/lib/checkoff/internal/selector_classes/task.rb +19 -19
- data/lib/checkoff/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d9bc29a691be7ae2c20b381918c7cfb70f6898cb1a2a3e1b0e32c960dfbecc5
|
4
|
+
data.tar.gz: 66ab3e65c5148b079024f18670d105a721c9deb0af0bb98bf0deb67a6001a0b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 546ce907d5b034d2b4087d9e57011920b49a954cddea3f9bff0413b3250f31ad38c57a7af11ce197ca11c16d3ff80cda9cde043c6dbab5f7306aa0b5e73888e9
|
7
|
+
data.tar.gz: b998dfa7266dcd262a7a6d028400bb013af86c4f30a70c6b1f006b0648f8e2b85f8a59faf4d54afff0105405d6670a2de62661e6fca441f6b87b869868fc83a9
|
data/Gemfile.lock
CHANGED
@@ -132,9 +132,9 @@ module Checkoff
|
|
132
132
|
end
|
133
133
|
end
|
134
134
|
|
135
|
-
# :custom_field_gid_value_contains_any_gid function
|
136
|
-
class
|
137
|
-
FUNCTION_NAME = :custom_field_gid_value_contains_any_gid
|
135
|
+
# :custom_field_gid_value_contains_any_gid? function
|
136
|
+
class CustomFieldGidValueContainsAnyGidPFunctionEvaluator < FunctionEvaluator
|
137
|
+
FUNCTION_NAME = :custom_field_gid_value_contains_any_gid?
|
138
138
|
|
139
139
|
def matches?
|
140
140
|
fn?(selector, FUNCTION_NAME)
|
@@ -158,9 +158,9 @@ module Checkoff
|
|
158
158
|
end
|
159
159
|
end
|
160
160
|
|
161
|
-
# :custom_field_value_contains_any_value
|
162
|
-
class
|
163
|
-
FUNCTION_NAME = :custom_field_value_contains_any_value
|
161
|
+
# :custom_field_value_contains_any_value?
|
162
|
+
class CustomFieldValueContainsAnyValuePFunctionEvaluator < FunctionEvaluator
|
163
|
+
FUNCTION_NAME = :custom_field_value_contains_any_value?
|
164
164
|
|
165
165
|
def matches?
|
166
166
|
fn?(selector, FUNCTION_NAME)
|
@@ -185,9 +185,9 @@ module Checkoff
|
|
185
185
|
end
|
186
186
|
end
|
187
187
|
|
188
|
-
# :custom_field_gid_value_contains_all_gids function
|
189
|
-
class
|
190
|
-
FUNCTION_NAME = :custom_field_gid_value_contains_all_gids
|
188
|
+
# :custom_field_gid_value_contains_all_gids? function
|
189
|
+
class CustomFieldGidValueContainsAllGidsPFunctionEvaluator < FunctionEvaluator
|
190
|
+
FUNCTION_NAME = :custom_field_gid_value_contains_all_gids?
|
191
191
|
|
192
192
|
def matches?
|
193
193
|
fn?(selector, FUNCTION_NAME)
|
@@ -52,10 +52,10 @@ module Checkoff
|
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
55
|
-
# :tag function
|
55
|
+
# :tag? function
|
56
56
|
class TagPFunctionEvaluator < FunctionEvaluator
|
57
57
|
def matches?
|
58
|
-
fn?(selector, :tag)
|
58
|
+
fn?(selector, :tag?)
|
59
59
|
end
|
60
60
|
|
61
61
|
# @param _index [Integer]
|
@@ -72,12 +72,12 @@ module Checkoff
|
|
72
72
|
end
|
73
73
|
end
|
74
74
|
|
75
|
-
# :ready function
|
75
|
+
# :ready? function
|
76
76
|
#
|
77
77
|
# See GLOSSARY.md and tasks.rb#task_ready? for more information.
|
78
|
-
class
|
78
|
+
class ReadyPFunctionEvaluator < FunctionEvaluator
|
79
79
|
def matches?
|
80
|
-
fn?(selector, :ready)
|
80
|
+
fn?(selector, :ready?)
|
81
81
|
end
|
82
82
|
|
83
83
|
# @param _index [Integer]
|
@@ -116,10 +116,10 @@ module Checkoff
|
|
116
116
|
end
|
117
117
|
end
|
118
118
|
|
119
|
-
# :unassigned function
|
119
|
+
# :unassigned? function
|
120
120
|
class UnassignedPFunctionEvaluator < FunctionEvaluator
|
121
121
|
def matches?
|
122
|
-
fn?(selector, :unassigned)
|
122
|
+
fn?(selector, :unassigned?)
|
123
123
|
end
|
124
124
|
|
125
125
|
# @param task [Asana::Resources::Task]
|
@@ -129,9 +129,9 @@ module Checkoff
|
|
129
129
|
end
|
130
130
|
end
|
131
131
|
|
132
|
-
# :due_date_set function
|
132
|
+
# :due_date_set? function
|
133
133
|
class DueDateSetPFunctionEvaluator < FunctionEvaluator
|
134
|
-
FUNCTION_NAME = :due_date_set
|
134
|
+
FUNCTION_NAME = :due_date_set?
|
135
135
|
|
136
136
|
def matches?
|
137
137
|
fn?(selector, FUNCTION_NAME)
|
@@ -145,9 +145,9 @@ module Checkoff
|
|
145
145
|
end
|
146
146
|
end
|
147
147
|
|
148
|
-
# :last_story_created_less_than_n_days_ago function
|
149
|
-
class
|
150
|
-
FUNCTION_NAME = :last_story_created_less_than_n_days_ago
|
148
|
+
# :last_story_created_less_than_n_days_ago? function
|
149
|
+
class LastStoryCreatedLessThanNDaysAgoPFunctionEvaluator < FunctionEvaluator
|
150
|
+
FUNCTION_NAME = :last_story_created_less_than_n_days_ago?
|
151
151
|
|
152
152
|
def matches?
|
153
153
|
fn?(selector, FUNCTION_NAME)
|
@@ -177,9 +177,9 @@ module Checkoff
|
|
177
177
|
end
|
178
178
|
end
|
179
179
|
|
180
|
-
# :estimate_exceeds_duration
|
181
|
-
class
|
182
|
-
FUNCTION_NAME = :estimate_exceeds_duration
|
180
|
+
# :estimate_exceeds_duration?
|
181
|
+
class EstimateExceedsDurationPFunctionEvaluator < FunctionEvaluator
|
182
|
+
FUNCTION_NAME = :estimate_exceeds_duration?
|
183
183
|
|
184
184
|
def matches?
|
185
185
|
fn?(selector, FUNCTION_NAME)
|
@@ -220,9 +220,9 @@ module Checkoff
|
|
220
220
|
end
|
221
221
|
end
|
222
222
|
|
223
|
-
# :dependent_on_previous_section_last_milestone
|
224
|
-
class
|
225
|
-
FUNCTION_NAME = :dependent_on_previous_section_last_milestone
|
223
|
+
# :dependent_on_previous_section_last_milestone?
|
224
|
+
class DependentOnPreviousSectionLastMilestonePFunctionEvaluator < FunctionEvaluator
|
225
|
+
FUNCTION_NAME = :dependent_on_previous_section_last_milestone?
|
226
226
|
|
227
227
|
def matches?
|
228
228
|
fn?(selector, FUNCTION_NAME)
|
@@ -241,7 +241,7 @@ module Checkoff
|
|
241
241
|
end
|
242
242
|
|
243
243
|
# :in_portfolio_named? function
|
244
|
-
class
|
244
|
+
class InPortfolioNamedPFunctionEvaluator < FunctionEvaluator
|
245
245
|
FUNCTION_NAME = :in_portfolio_named?
|
246
246
|
|
247
247
|
def matches?
|
data/lib/checkoff/version.rb
CHANGED