lib/thinking_sphinx/auto_version.rb in warp-thinking-sphinx-1.3.13 vs lib/thinking_sphinx/auto_version.rb in warp-thinking-sphinx-1.3.16
- old
+ new
@@ -1,8 +1,8 @@
module ThinkingSphinx
class AutoVersion
def self.detect
- version = ThinkingSphinx::Configuration.instance.controller.sphinx_version
+ version = ThinkingSphinx::Configuration.instance.version
case version
when '0.9.8', '0.9.9'
require "riddle/#{version}"
else
STDERR.puts %Q{