lib/blind_index/model.rb in blind_index-2.1.0 vs lib/blind_index/model.rb in blind_index-2.1.1

- old
+ new

@@ -8,10 +8,10 @@ rotate = options.delete(:rotate) # check here so we validate rotate options as well unknown_keywords = options.keys - [:algorithm, :attribute, :bidx_attribute, :callback, :cost, :encode, :expression, :insecure_key, :iterations, :key, - :legacy, :master_key, :size, :slow] + :legacy, :master_key, :size, :slow, :version] raise ArgumentError, "unknown keywords: #{unknown_keywords.join(", ")}" if unknown_keywords.any? attribute = options[:attribute] || name version = (options[:version] || 1).to_i callback = options[:callback].nil? ? true : options[:callback]