Sha256: c03f40040dc82bba30e566efc01fa00b08e77bd48c2290f6f25468eace3f2f11
Contents?: true
Size: 390 Bytes
Versions: 3
Compression:
Stored size: 390 Bytes
Contents
class Riddle::AutoVersion def self.configure controller = Riddle::Controller.new nil, '' version = ENV['SPHINX_VERSION'] || controller.sphinx_version case version when '0.9.8', '0.9.9' require "riddle/#{version}" when /1.10/ require 'riddle/1.10' when /2.0.[12]/ require 'riddle/2.0.1' else require 'riddle/2.1.0' end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
riddle-2.2.0 | lib/riddle/auto_version.rb |
riddle-2.1.0 | lib/riddle/auto_version.rb |
riddle-2.0.0 | lib/riddle/auto_version.rb |