lib/riddle/auto_version.rb in riddle-1.2.2 vs lib/riddle/auto_version.rb in riddle-1.3.0
- old
+ new
@@ -4,10 +4,15 @@
version = controller.sphinx_version
case version
when '0.9.8', '0.9.9'
require "riddle/#{version}"
- when '1.10-beta', '1.10-id64-beta'
+ when '1.10-beta', '1.10-id64-beta', '1.10-dev'
require 'riddle/1.10'
+ when /2.0.1/
+ require 'riddle/2.0.1'
+ else
+ puts "found version: #{version}"
+ exit
end
end
end