keyword_search 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/keyword_search/tokenizer.rb +3 -1
- data/lib/keyword_search.rb +1 -1
- metadata +1 -1
@@ -2,9 +2,11 @@ module KeywordSearch
|
|
2
2
|
|
3
3
|
class Tokenizer < Dhaka::Tokenizer
|
4
4
|
|
5
|
+
|
6
|
+
# TODO: Add further character support; this is just for initial release
|
5
7
|
letters = ('a'..'z').to_a
|
6
8
|
numbers = ('0'..'9').to_a
|
7
|
-
extras = %w|_ - '|
|
9
|
+
extras = %w|_ - ' / \ [ ] { } 1 @ # $ % ^ & * ( )|
|
8
10
|
printables = letters + numbers + extras
|
9
11
|
whitespace = [' ']
|
10
12
|
quotes = ['"']
|
data/lib/keyword_search.rb
CHANGED
metadata
CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.0
|
|
3
3
|
specification_version: 1
|
4
4
|
name: keyword_search
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.0.
|
6
|
+
version: 1.0.3
|
7
7
|
date: 2007-01-08 00:00:00 -07:00
|
8
8
|
summary: Generic support for extracting GMail-style search keywords/values from strings
|
9
9
|
require_paths:
|