has_searcher 0.0.7.2 → 0.0.8

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.
@@ -51,7 +51,7 @@ class Search < ActiveRecord::Base
51
51
  end
52
52
  end
53
53
  end
54
- search.order_by order_by if respond_to?(:order_by) && order_by.present?
54
+ search.order_by *order_by.split(' ') if respond_to?(:order_by) && order_by.present?
55
55
  search.paginate pagination if pagination.try(:any?)
56
56
  end
57
57
  end
@@ -1,3 +1,3 @@
1
1
  module HasSearcher
2
- VERSION = "0.0.7.2"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -5,9 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 7
9
- - 2
10
- version: 0.0.7.2
8
+ - 8
9
+ version: 0.0.8
11
10
  platform: ruby
12
11
  authors:
13
12
  - Dmitry Lihachev
@@ -15,7 +14,7 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2011-05-19 00:00:00 +07:00
17
+ date: 2011-09-14 00:00:00 +07:00
19
18
  default_executable:
20
19
  dependencies: []
21
20