activesearch 0.0.6 → 0.0.7

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.
@@ -7,7 +7,7 @@ module ActiveSearch
7
7
  end
8
8
 
9
9
  def search_options
10
- search_parameters.last.is_a?(Hash) ? search_parameters.last : search_parameters
10
+ search_parameters.last.is_a?(Hash) ? search_parameters.last : {}
11
11
  end
12
12
 
13
13
  def search_conditions
@@ -1,3 +1,3 @@
1
1
  module ActiveSearch
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
@@ -29,5 +29,5 @@ class LocalizedMongoidModel
29
29
 
30
30
  field :title, localize: true
31
31
  field :special_type
32
- search_by :title, store: [:title], type: :special_type
32
+ search_by :title, store: [:title]
33
33
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activesearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: