Sha256: f4be47c9a1d3240a96aa9d58433a83b311671fe05b0307538c7d529142715ed4

Contents?: true

Size: 329 Bytes

Versions: 2

Compression:

Stored size: 329 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.\d/
      require 'riddle/2.0.1'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
riddle-1.4.0 lib/riddle/auto_version.rb
riddle-1.3.3 lib/riddle/auto_version.rb