index-tanked 0.1.9 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,8 +7,9 @@ module IndexTanked
7
7
  @index_tanked.instance_exec &block
8
8
  end
9
9
 
10
+ # pass in scoped with an empty hash to give the search result a representation of the current scope
10
11
  def search_index_tank(query, options={})
11
- SearchResult.new(index_tanked.add_fields_to_query(query), @index_tanked.index, self, options)
12
+ SearchResult.new(index_tanked.add_fields_to_query(query), @index_tanked.index, scoped({}), options)
12
13
  end
13
14
 
14
15
  def add_all_to_index_tank(options={})
@@ -1,3 +1,3 @@
1
1
  module IndexTanked
2
- GEM_VERSION = '0.1.9'
2
+ GEM_VERSION = '0.1.10'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: index-tanked
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 9
10
- version: 0.1.9
9
+ - 10
10
+ version: 0.1.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Adam Kittelson