noodall-core 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/noodall/search.rb +1 -1
- data/noodall-core.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.6
|
data/lib/noodall/search.rb
CHANGED
@@ -112,7 +112,7 @@ module Noodall
|
|
112
112
|
private
|
113
113
|
def keywords_for_value(val)
|
114
114
|
if val.kind_of?(String)
|
115
|
-
words = val.downcase.split(/\W/) - STOPWORDS
|
115
|
+
words = val.gsub(/<\/?[^>]*>/, "").downcase.split(/\W/) - STOPWORDS
|
116
116
|
words.reject!{|w| w.length < 3}
|
117
117
|
words.map do |word|
|
118
118
|
stem = self.class.stemmer.stem(word)
|
data/noodall-core.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: noodall-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 6
|
10
|
+
version: 0.5.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Steve England
|