dm-is-searchable 0.9.8 → 0.9.9
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +6 -0
- data/lib/dm-is-searchable.rb +1 -1
- data/lib/dm-is-searchable/is/searchable.rb +1 -1
- data/lib/dm-is-searchable/is/version.rb +1 -1
- metadata +3 -3
data/History.txt
CHANGED
data/lib/dm-is-searchable.rb
CHANGED
@@ -30,7 +30,7 @@ module DataMapper
|
|
30
30
|
def search(search_options = {}, options = {})
|
31
31
|
docs = repository(@search_repository) { self.all(search_options) }
|
32
32
|
ids = docs.collect { |doc| doc[:id] }
|
33
|
-
self.all(options.merge(
|
33
|
+
self.all(options.merge(key.first => ids))
|
34
34
|
end
|
35
35
|
end # module ClassMethods
|
36
36
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dm-is-searchable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bernerd Schaefer
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2009-01-04 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ~>
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 0.9.
|
23
|
+
version: 0.9.9
|
24
24
|
version:
|
25
25
|
description: A DataMapper plugin for searching
|
26
26
|
email:
|