lostboy-thinking-sphinx 1.1.5.4 → 1.1.5.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/thinking_sphinx/deltas.rb +6 -0
- metadata +1 -1
@@ -16,6 +16,12 @@ module ThinkingSphinx
|
|
16
16
|
when FalseClass, nil
|
17
17
|
nil
|
18
18
|
else
|
19
|
+
if delta_option.class == String
|
20
|
+
begin
|
21
|
+
delta_option = eval(delta_option)
|
22
|
+
rescue
|
23
|
+
end
|
24
|
+
end
|
19
25
|
if delta_option.ancestors.include?(ThinkingSphinx::Deltas::DefaultDelta)
|
20
26
|
delta_option.new index, options
|
21
27
|
else
|