searchlogic 2.5.5 → 2.5.6

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 2
3
3
  :minor: 5
4
- :patch: 5
4
+ :patch: 6
5
5
  :build:
@@ -60,7 +60,7 @@ module Searchlogic
60
60
  # We want to return true for any conditions that can be called, and while we're at it. We might as well
61
61
  # create the condition so we don't have to do it again.
62
62
  def respond_to?(*args)
63
- super || (self != ::ActiveRecord::Base && !create_condition(args.first).blank?)
63
+ super || (self != ::ActiveRecord::Base && !self.abstract_class? && !create_condition(args.first).blank?)
64
64
  end
65
65
 
66
66
  private
@@ -257,4 +257,4 @@ module Searchlogic
257
257
  end
258
258
  end
259
259
  end
260
- end
260
+ end
data/searchlogic.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{searchlogic}
8
- s.version = "2.5.5"
8
+ s.version = "2.5.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ben Johnson of Binary Logic"]
12
- s.date = %q{2011-04-07}
12
+ s.date = %q{2011-05-17}
13
13
  s.description = %q{Searchlogic makes using ActiveRecord named scopes easier and less repetitive.}
14
14
  s.email = %q{bjohnson@binarylogic.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: searchlogic
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.5.5
5
+ version: 2.5.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ben Johnson of Binary Logic
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-07 00:00:00 -04:00
13
+ date: 2011-05-17 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -104,7 +104,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
104
104
  requirements:
105
105
  - - ">="
106
106
  - !ruby/object:Gem::Version
107
- hash: 2802957322570024148
107
+ hash: -2263377899941046855
108
108
  segments:
109
109
  - 0
110
110
  version: "0"