lib/checkoff/internal/project_selector_evaluator.rb in checkoff-0.59.0 vs lib/checkoff/internal/project_selector_evaluator.rb in checkoff-0.60.0

- old
+ new

@@ -16,12 +16,18 @@ super() end private - FUNCTION_EVALUTORS = [ - Checkoff::SelectorClasses::Common::CustomFieldValueContainsAnyValueFunctionEvaluator, - ].freeze + COMMON_FUNCTION_EVALUATORS = (Checkoff::SelectorClasses::Common.constants.map do |const| + Checkoff::SelectorClasses::Common.const_get(const) + end - [Checkoff::SelectorClasses::Common::FunctionEvaluator]).freeze + + PROJECT_FUNCTION_EVALUATORS = (Checkoff::SelectorClasses::Project.constants.map do |const| + Checkoff::SelectorClasses::Project.const_get(const) + end - [Checkoff::SelectorClasses::Project::FunctionEvaluator]).freeze + + FUNCTION_EVALUTORS = (COMMON_FUNCTION_EVALUATORS + PROJECT_FUNCTION_EVALUATORS).freeze # @return [Array<Class<ProjectSelectorClasses::FunctionEvaluator>>] def function_evaluators FUNCTION_EVALUTORS end