sunspot_plus 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/sunspot_plus/dsl/fields.rb +1 -1
  2. metadata +3 -3
@@ -5,7 +5,7 @@ module Sunspot
5
5
  # Could use adjust_solr_params but not sure about this method.
6
6
  def sort_fields(*names, &block)
7
7
  options = names.pop if names.last.is_a?(Hash)
8
- names.each{|name| case_insensitive_sort(Sunspot::Type::CaseInsensitiveSortType.instance.field_name(name), options, &block)}
8
+ names.each{|name| case_insensitive_sort(Sunspot::Type::CaseInsensitiveSortType.instance.field_name(name), {:as => name}, &block)}
9
9
  end
10
10
  end
11
11
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sunspot_plus
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Louis Gillies