lib/mongoid_search/util.rb in mongoid_search-0.2.0 vs lib/mongoid_search/util.rb in mongoid_search-0.2.1

- old
+ new

@@ -1,7 +1,7 @@ module Util - + def self.keywords(text, stem_keywords, ignore_list) return [] if text.blank? text = text. mb_chars. normalize(:kd). @@ -14,6 +14,6 @@ text = text.reject { |word| ignore_list.include?(word) } unless ignore_list.blank? text = text.map(&:stem) if stem_keywords text end -end \ No newline at end of file +end