mongoid_text_search 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,7 +18,7 @@ module Mongoid
18
18
  for keyword in keywords
19
19
  if keyword.is_a?(String)
20
20
  clean_keyword = keyword.downcase
21
- clean_keyword = clean_keyword.strip
21
+ clean_keyword.strip!
22
22
  clean_keyword.gsub!(StripPunctuationRegex, PunctuationReplacement)
23
23
  if clean_keyword.size > 2 && !IgnoredWords.include?(clean_keyword) && !clean_keywords.include?(clean_keyword)
24
24
  clean_keywords << clean_keyword
@@ -1,5 +1,5 @@
1
1
  module Mongoid
2
2
  module TextSearch
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: mongoid_text_search
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.1
5
+ version: 0.1.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Steve Randy Tantra