rifle 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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