lib/card/query.rb in card-1.104.2 vs lib/card/query.rb in card-1.105.0

- old
+ new

@@ -66,18 +66,22 @@ found_by not sort match name_match complete], plus_relational: %i[plus left_plus right_plus], conjunction: %i[and or all any], + custom: [:compound], ignore: %i[prepend append vars], deprecated: %i[view params size] }.each_with_object({}) do |pair, h| pair[1].each { |v| h[v] = pair[0] } end CONJUNCTIONS = { any: :or, in: :or, or: :or, all: :and, and: :and }.freeze - MODIFIERS = %i[conj return sort sort_as group dir limit offset] + # "dir" is DEPRECATED in favor of sort_dir + # "sort" is DEPRECATED in favor of sort_by, except in cases where sort's value + # is a hash + MODIFIERS = %i[conj return sort_by sort_as sort_dir sort dir group limit offset] .each_with_object({}) { |v, h| h[v] = nil } OPERATORS = %w[!= = =~ < > in ~ is].each_with_object({}) { |v, h| h[v] = v }.merge( { eq: "=", gt: ">", lt: "<", match: "~", ne: "!=",