oss_active_record 0.1.1 → 0.1.2
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.
- checksums.yaml +4 -4
- data/lib/oss_active_record.rb +2 -0
- data/lib/oss_active_record/index_instance.rb +90 -0
- data/lib/oss_active_record/search_request.rb +7 -7
- data/lib/oss_active_record/searchable.rb +26 -90
- data/lib/oss_active_record/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +1962 -0
- data/test/dummy/test/models/article_test.rb +0 -1
- metadata +4 -5
- data/test/e +0 -0
@@ -13,7 +13,6 @@ class ArticleTest < ActiveSupport::TestCase
|
|
13
13
|
fulltext 'weather'
|
14
14
|
end
|
15
15
|
|
16
|
-
puts results.inspect
|
17
16
|
assert results.length == 1, 'The number of result is wrong, should be one'
|
18
17
|
assert results[0][:title] == 'Weather report', 'The returned title is wrong'
|
19
18
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oss_active_record
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ori Pekelman
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-09-
|
12
|
+
date: 2013-09-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -62,6 +62,7 @@ executables: []
|
|
62
62
|
extensions: []
|
63
63
|
extra_rdoc_files: []
|
64
64
|
files:
|
65
|
+
- lib/oss_active_record/index_instance.rb
|
65
66
|
- lib/oss_active_record/search_request.rb
|
66
67
|
- lib/oss_active_record/searchable.rb
|
67
68
|
- lib/oss_active_record/version.rb
|
@@ -116,7 +117,6 @@ files:
|
|
116
117
|
- test/dummy/test/fixtures/documents.yml
|
117
118
|
- test/dummy/test/models/article_test.rb
|
118
119
|
- test/dummy/test/models/document_test.rb
|
119
|
-
- test/e
|
120
120
|
- test/oss_active_record_test.rb
|
121
121
|
- test/searchable_test.rb
|
122
122
|
- test/test_helper.rb
|
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
141
|
version: '0'
|
142
142
|
requirements: []
|
143
143
|
rubyforge_project:
|
144
|
-
rubygems_version: 2.
|
144
|
+
rubygems_version: 2.1.2
|
145
145
|
signing_key:
|
146
146
|
specification_version: 4
|
147
147
|
summary: OpenSearchServer ActiveRecord integration
|
@@ -193,7 +193,6 @@ test_files:
|
|
193
193
|
- test/dummy/test/fixtures/documents.yml
|
194
194
|
- test/dummy/test/models/article_test.rb
|
195
195
|
- test/dummy/test/models/document_test.rb
|
196
|
-
- test/e
|
197
196
|
- test/oss_active_record_test.rb
|
198
197
|
- test/searchable_test.rb
|
199
198
|
- test/test_helper.rb
|
data/test/e
DELETED
File without changes
|