lib/fuzzy_match.rb in fuzzy_match-2.0.0 vs lib/fuzzy_match.rb in fuzzy_match-2.0.1

- old
+ new

@@ -78,10 +78,10 @@ if deprecated = o.delete(:must_match_blocking) o[:must_match_grouping] = deprecated end @default_options = DEFAULT_OPTIONS.merge(o).freeze - @haystack = haystack.map { |original| Record.new original, stop_words: @stop_words, read: @read } + @haystack = haystack.map { |original| Record.new original, :stop_words => @stop_words, :read => @read } end def last_result @last_result or raise("You can't access the last result until you've run a find with :gather_last_result => true") end