Sha256: 4dd884dcc55538e2ee8cc9c4b44ccc2590b80222f56540a920d2b9e4b790b56c

Contents?: true

Size: 412 Bytes

Versions: 8

Compression:

Stored size: 412 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'
    when /2.0.[^12]/, /2.1.\d/
      require 'riddle/2.1.0'
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
riddle-1.5.10 lib/riddle/auto_version.rb
riddle-1.5.9 lib/riddle/auto_version.rb
riddle-1.5.8 lib/riddle/auto_version.rb
riddle-1.5.7 lib/riddle/auto_version.rb
riddle-1.5.6 lib/riddle/auto_version.rb
riddle-1.5.5 lib/riddle/auto_version.rb
riddle-1.5.4 lib/riddle/auto_version.rb
riddle-1.5.3 lib/riddle/auto_version.rb