lib/flagsmith/engine/segments/constants.rb in flagsmith-3.0.1 vs lib/flagsmith/engine/segments/constants.rb in flagsmith-3.1.0
- old
+ new
@@ -20,10 +20,13 @@
GREATER_THAN_INCLUSIVE = 'GREATER_THAN_INCLUSIVE'
NOT_CONTAINS = 'NOT_CONTAINS'
NOT_EQUAL = 'NOT_EQUAL'
REGEX = 'REGEX'
PERCENTAGE_SPLIT = 'PERCENTAGE_SPLIT'
+ IS_SET = 'IS_SET'
+ IS_NOT_SET = 'IS_NOT_SET'
+ MODULO = 'MODULO'
CONDITION_OPERATORS = [
EQUAL,
GREATER_THAN,
LESS_THAN,
@@ -31,10 +34,11 @@
CONTAINS,
GREATER_THAN_INCLUSIVE,
NOT_CONTAINS,
NOT_EQUAL,
REGEX,
- PERCENTAGE_SPLIT
+ PERCENTAGE_SPLIT,
+ MODULO
].freeze
end
end
end
end