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.
Files changed (2) hide show
  1. data/lib/thinking_sphinx/deltas.rb +6 -0
  2. 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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lostboy-thinking-sphinx
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5.4
4
+ version: 1.1.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Allan