has_searcher 0.0.7.1 → 0.0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/app/models/search.rb +3 -3
- data/lib/has_searcher/version.rb +1 -1
- metadata +3 -3
data/lib/app/models/search.rb
CHANGED
@@ -14,9 +14,9 @@ class Search < ActiveRecord::Base
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def pagination
|
17
|
-
@
|
18
|
-
@
|
19
|
-
@
|
17
|
+
@pagination ||= {}
|
18
|
+
@pagination.merge! per_page: per_page if respond_to? :per_page
|
19
|
+
@pagination
|
20
20
|
end
|
21
21
|
|
22
22
|
delegate :results, :to => :search
|
data/lib/has_searcher/version.rb
CHANGED
metadata
CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
|
|
6
6
|
- 0
|
7
7
|
- 0
|
8
8
|
- 7
|
9
|
-
-
|
10
|
-
version: 0.0.7.
|
9
|
+
- 2
|
10
|
+
version: 0.0.7.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dmitry Lihachev
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-05-
|
18
|
+
date: 2011-05-19 00:00:00 +07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|