rifle 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rifle.rb +1 -1
- data/lib/rifle/version.rb +1 -1
- metadata +1 -1
data/lib/rifle.rb
CHANGED
@@ -40,7 +40,7 @@ module Rifle
|
|
40
40
|
|
41
41
|
# Now get the new ones
|
42
42
|
words = traverse_object_for_word_set(hash)
|
43
|
-
words_and_search_terms = words + Array(additional_search_terms)
|
43
|
+
words_and_search_terms = words + Array(additional_search_terms).map {|w| w.downcase}
|
44
44
|
metaphones = get_metaphones_from_word_set(words_and_search_terms)
|
45
45
|
|
46
46
|
# Clear out words that have been removed (but leave ones that are still present in the new version)
|
data/lib/rifle/version.rb
CHANGED