searchlogic 2.5.12 → 2.5.13

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- searchlogic (2.5.11)
4
+ searchlogic (2.5.13)
5
5
  activerecord (~> 2.3.12)
6
6
  activesupport (~> 2.3.12)
7
7
 
@@ -62,7 +62,7 @@ module Searchlogic
62
62
  raise ArgumentError.new("The #{klass} class does not respond to the #{association_condition} scope") if !klass.respond_to?(association_condition)
63
63
  arity = klass.named_scope_arity(association_condition)
64
64
 
65
- if !arity || arity == 0
65
+ if !arity
66
66
  # The underlying condition doesn't require any parameters, so let's just create a simple
67
67
  # named scope that is based on a hash.
68
68
  options = {}
@@ -1,3 +1,3 @@
1
1
  module Searchlogic
2
- VERSION = "2.5.12"
2
+ VERSION = "2.5.13"
3
3
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: searchlogic
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.12
4
+ version: 2.5.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-16 00:00:00.000000000 Z
12
+ date: 2013-05-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
@@ -142,7 +142,7 @@ files:
142
142
  - lib/searchlogic/search/unknown_condition_error.rb
143
143
  - lib/searchlogic/version.rb
144
144
  - rails/init.rb
145
- - searchlogic-2.5.11.gem
145
+ - searchlogic-2.5.12.gem
146
146
  - searchlogic.gemspec
147
147
  - spec/searchlogic/active_record/association_proxy_spec.rb
148
148
  - spec/searchlogic/active_record/consistency_spec.rb
@@ -176,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
176
  version: '0'
177
177
  requirements: []
178
178
  rubyforge_project:
179
- rubygems_version: 1.8.25
179
+ rubygems_version: 1.8.23
180
180
  signing_key:
181
181
  specification_version: 3
182
182
  summary: Searchlogic makes using ActiveRecord named scopes easier and less repetitive.
Binary file