searchlogic 2.5.11 → 2.5.12

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.10)
4
+ searchlogic (2.5.11)
5
5
  activerecord (~> 2.3.12)
6
6
  activesupport (~> 2.3.12)
7
7
 
@@ -18,9 +18,9 @@ module Searchlogic
18
18
 
19
19
  def create_condition(name)
20
20
  if name == :order
21
- named_scope name, lambda { |scope_name|
22
- return {} if !condition?(scope_name)
23
- send(scope_name).proxy_options
21
+ alias_scope name, lambda { |scope_name|
22
+ return scoped({}) if !condition?(scope_name)
23
+ send(scope_name)
24
24
  }
25
25
  elsif details = ordering_condition_details(name)
26
26
  create_ordering_conditions(details[:column])
@@ -1,3 +1,3 @@
1
1
  module Searchlogic
2
- VERSION = "2.5.11"
2
+ VERSION = "2.5.12"
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.11
4
+ version: 2.5.12
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-12 00:00:00.000000000 Z
12
+ date: 2013-04-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
@@ -142,6 +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
146
  - searchlogic.gemspec
146
147
  - spec/searchlogic/active_record/association_proxy_spec.rb
147
148
  - spec/searchlogic/active_record/consistency_spec.rb