thinking-sphinx-raspell 1.1.0 → 1.1.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/VERSION.yml +1 -1
- data/lib/thinking_sphinx/raspell.rb +1 -1
- data/spec/thinking_sphinx/raspell_spec.rb +7 -0
- metadata +2 -2
data/VERSION.yml
CHANGED
@@ -27,6 +27,13 @@ describe ThinkingSphinx::Search do
|
|
27
27
|
search = ThinkingSphinx::Search.new('words all correct here')
|
28
28
|
search.suggestion?.should be_false
|
29
29
|
end
|
30
|
+
|
31
|
+
it "should return false if there are conditions and no spelling suggestion" do
|
32
|
+
search = ThinkingSphinx::Search.new('words',
|
33
|
+
:conditions => {:all => 'here'}
|
34
|
+
)
|
35
|
+
search.suggestion?.should be_false
|
36
|
+
end
|
30
37
|
end
|
31
38
|
|
32
39
|
describe '#redo_with_suggestion' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thinking-sphinx-raspell
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pat Allan
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-02-15 00:00:00 +11:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|