rd_searchlogic 3.0.0.rc2 → 3.0.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 3
3
- :build: rc2
3
+ :build: rc3
4
4
  :minor: 0
5
5
  :patch: 0
@@ -166,7 +166,7 @@ module Searchlogic
166
166
 
167
167
  scope_sql = values.collect { |value| sql.is_a?(Proc) ? sql.call(value) : sql }.join(join)
168
168
 
169
- lambda { where [scope_sql, *expand_range_bind_variables(values)]}
169
+ where [scope_sql, *expand_range_bind_variables(values)]
170
170
  else
171
171
  {}
172
172
  end
@@ -177,7 +177,7 @@ module Searchlogic
177
177
 
178
178
  scope_sql = sql.is_a?(Proc) ? sql.call(*values) : sql
179
179
 
180
- {:conditions => [scope_sql, *expand_range_bind_variables(values)]}
180
+ where [scope_sql, *expand_range_bind_variables(values)]
181
181
  }
182
182
  end
183
183
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rd_searchlogic}
8
- s.version = "3.0.0.rc2"
8
+ s.version = "3.0.0.rc3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ben Johnson of Binary Logic"]
12
- s.date = %q{2010-09-03}
12
+ s.date = %q{2010-09-16}
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
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 3
7
7
  - 0
8
8
  - 0
9
- - rc2
10
- version: 3.0.0.rc2
9
+ - rc3
10
+ version: 3.0.0.rc3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ben Johnson of Binary Logic
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-09-03 00:00:00 +04:00
18
+ date: 2010-09-16 00:00:00 +04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency