searchlogic 2.4.17 → 2.4.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION.yml CHANGED
@@ -2,4 +2,4 @@
2
2
  :major: 2
3
3
  :build:
4
4
  :minor: 4
5
- :patch: 17
5
+ :patch: 18
@@ -8,7 +8,7 @@ module Searchlogic
8
8
  end
9
9
 
10
10
  def send_with_searchlogic(method, *args)
11
- if !proxy_respond_to?(method) && proxy_reflection.klass.condition?(method)
11
+ if !proxy_respond_to?(method) && !proxy_reflection.options[:polymorphic] && proxy_reflection.klass.condition?(method)
12
12
  proxy_reflection.klass.send(method, *args)
13
13
  else
14
14
  send_without_searchlogic(method, *args)
data/searchlogic.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{searchlogic}
8
- s.version = "2.4.17"
8
+ s.version = "2.4.18"
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"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 2
7
7
  - 4
8
- - 17
9
- version: 2.4.17
8
+ - 18
9
+ version: 2.4.18
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ben Johnson of Binary Logic