lib/card/query.rb in card-1.99.6 vs lib/card/query.rb in card-1.100.0

- old
+ new

@@ -76,13 +76,12 @@ MODIFIERS = %i[conj return sort sort_as group dir limit offset] .each_with_object({}) { |v, h| h[v] = nil } OPERATORS = - %w[!= = =~ < > in ~].each_with_object({}) { |v, h| h[v] = v }.merge( - { - eq: "=", gt: ">", lt: "<", match: "~", ne: "!=", "not in": "not in" - }.stringify_keys + %w[!= = =~ < > in ~ is].each_with_object({}) { |v, h| h[v] = v }.merge( + { eq: "=", gt: ">", lt: "<", match: "~", ne: "!=", + "not in": "not in", "is not": "is not", "!": "is not" }.stringify_keys ) DEFAULT_ORDER_DIRS = { update: "desc", relevance: "desc" }.freeze class << self