checkoff 0.124.0 → 0.126.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a259e8efe926209a8cdf84ce5197f309ba8ff0e659ec90b3e20689680f56031
|
4
|
+
data.tar.gz: 64372396f35ee707ccda7e24ffea244611a1081dc1a6004f030c49b6236bbcf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4df9bfcd69d8498940c36c77ba8fd28fb53eba93a7e885bc6d126def721209ca9eed98c498c2242b7e8a3e486fa2ba32a1a1377e89ec192cb4e7cd389db2c3a5
|
7
|
+
data.tar.gz: ab6f99955990da8db61410fb743511a4b8dfe4c653ea910f49e5cfaa5ba2dadafdaac24ff21d40d6568726bb3ded1f46ff15f7f0c677baa04dcf15398ab40a31
|
data/Gemfile.lock
CHANGED
@@ -90,7 +90,7 @@ module Checkoff
|
|
90
90
|
# note: task does not need to contain this custom field
|
91
91
|
[{},
|
92
92
|
['not',
|
93
|
-
['custom_field_gid_value_contains_any_gid',
|
93
|
+
['custom_field_gid_value_contains_any_gid?',
|
94
94
|
gid,
|
95
95
|
selected_options]]]
|
96
96
|
end
|
@@ -106,7 +106,7 @@ module Checkoff
|
|
106
106
|
|
107
107
|
[{ "custom_fields.#{gid}.is_set" => 'true' },
|
108
108
|
['not',
|
109
|
-
['custom_field_gid_value_contains_any_gid',
|
109
|
+
['custom_field_gid_value_contains_any_gid?',
|
110
110
|
gid,
|
111
111
|
selected_options]]]
|
112
112
|
end
|
@@ -121,7 +121,7 @@ module Checkoff
|
|
121
121
|
selected_options = fetch_solo_param("custom_field_#{gid}.selected_options").split('~')
|
122
122
|
|
123
123
|
[{ "custom_fields.#{gid}.is_set" => 'true' },
|
124
|
-
['custom_field_gid_value_contains_any_gid',
|
124
|
+
['custom_field_gid_value_contains_any_gid?',
|
125
125
|
gid,
|
126
126
|
selected_options]]
|
127
127
|
end
|
@@ -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