has_searcher 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -60,11 +60,15 @@ class Search < ActiveRecord::Base
60
60
  end
61
61
  end
62
62
  end
63
+ additional_search
63
64
  search.order_by *order_by.split(' ') if respond_to?(:order_by) && order_by.present?
64
65
  search.paginate pagination if pagination.try(:any?)
65
66
  end
66
67
  end
67
68
 
69
+ def additional_search
70
+ end
71
+
68
72
  def save(validate = true)
69
73
  validate ? valid? : true
70
74
  end
@@ -1,3 +1,3 @@
1
1
  module HasSearcher
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: has_searcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-24 00:00:00.000000000 Z
12
+ date: 2012-03-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &13557660 !ruby/object:Gem::Requirement
16
+ requirement: &17491180 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *13557660
24
+ version_requirements: *17491180
25
25
  description: ! "This gem adds ability to construct search objects for indexed models.\n
26
26
  \ It works with sunspot, inherited_resources and formtastic"
27
27
  email:
@@ -54,15 +54,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
54
54
  - - ! '>='
55
55
  - !ruby/object:Gem::Version
56
56
  version: '0'
57
+ segments:
58
+ - 0
59
+ hash: 2822458374024382795
57
60
  required_rubygems_version: !ruby/object:Gem::Requirement
58
61
  none: false
59
62
  requirements:
60
63
  - - ! '>='
61
64
  - !ruby/object:Gem::Version
62
65
  version: '0'
66
+ segments:
67
+ - 0
68
+ hash: 2822458374024382795
63
69
  requirements: []
64
70
  rubyforge_project: has_searcher
65
- rubygems_version: 1.8.10
71
+ rubygems_version: 1.8.15
66
72
  signing_key:
67
73
  specification_version: 3
68
74
  summary: Adds ability to construct search objects for indexed models