lib/checkoff/internal/selector_classes/common.rb in checkoff-0.124.0 vs lib/checkoff/internal/selector_classes/common.rb in checkoff-0.125.0
- old
+ new
@@ -130,13 +130,13 @@
custom_field = @custom_fields.resource_custom_field_by_gid_or_raise(resource, custom_field_gid)
custom_field['display_value']
end
end
- # :custom_field_gid_value_contains_any_gid function
- class CustomFieldGidValueContainsAnyGidFunctionEvaluator < FunctionEvaluator
- FUNCTION_NAME = :custom_field_gid_value_contains_any_gid
+ # :custom_field_gid_value_contains_any_gid? function
+ class CustomFieldGidValueContainsAnyGidPFunctionEvaluator < FunctionEvaluator
+ FUNCTION_NAME = :custom_field_gid_value_contains_any_gid?
def matches?
fn?(selector, FUNCTION_NAME)
end
@@ -156,13 +156,13 @@
custom_field_values_gids.include?(custom_field_value)
end
end
end
- # :custom_field_value_contains_any_value
- class CustomFieldValueContainsAnyValueFunctionEvaluator < FunctionEvaluator
- FUNCTION_NAME = :custom_field_value_contains_any_value
+ # :custom_field_value_contains_any_value?
+ class CustomFieldValueContainsAnyValuePFunctionEvaluator < FunctionEvaluator
+ FUNCTION_NAME = :custom_field_value_contains_any_value?
def matches?
fn?(selector, FUNCTION_NAME)
end
@@ -183,12 +183,12 @@
custom_field_value_names.include?(custom_field_value)
end
end
end
- # :custom_field_gid_value_contains_all_gids function
- class CustomFieldGidValueContainsAllGidsFunctionEvaluator < FunctionEvaluator
- FUNCTION_NAME = :custom_field_gid_value_contains_all_gids
+ # :custom_field_gid_value_contains_all_gids? function
+ class CustomFieldGidValueContainsAllGidsPFunctionEvaluator < FunctionEvaluator
+ FUNCTION_NAME = :custom_field_gid_value_contains_all_gids?
def matches?
fn?(selector, FUNCTION_NAME)
end