Sha256: b0be823daad2996efe4d1f32263164f3693c9002811980ebf132b365f5863c3e

Contents?: true

Size: 287 Bytes

Versions: 4

Compression:

Stored size: 287 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-beta'
      require 'riddle/1.10'
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
riddle-1.2.1 lib/riddle/auto_version.rb
riddle-1.2.0 lib/riddle/auto_version.rb
riddle-1.1.0 lib/riddle/auto_version.rb
riddle-1.0.12 lib/riddle/auto_version.rb