Sha256: 541d69dbd526fc6f3d3b8d24359462a6f6c06041671129c2f46ea5d0bac1faa8

Contents?: true

Size: 328 Bytes

Versions: 2

Compression:

Stored size: 328 Bytes

Contents

class Riddle::AutoVersion
  def self.configure
    controller = Riddle::Controller.new nil, ''
    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.1/
      require 'riddle/2.0.1'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
riddle-1.3.2 lib/riddle/auto_version.rb
riddle-1.3.1 lib/riddle/auto_version.rb