Sha256: 97ecda9be1c199da3db229fa7443c3b708b3a7488b82341c80a83caff346083e

Contents?: true

Size: 458 Bytes

Versions: 2

Compression:

Stored size: 458 Bytes

Contents

$: << "#{File.dirname(__FILE__)}" unless $:.include? File.dirname(__FILE__)

require 'rubygems'

module RSolr
  
  %W(Char Client Connectable Error Http Uri Xml).each{|n|autoload n.to_sym, "rsolr/#{n.downcase}"}
  
  def self.version
    @version ||= File.read(File.join(File.dirname(__FILE__), '..', 'VERSION')).chomp
  end
  
  VERSION = self.version
  
  def self.connect *args
    Client.new Http.new(*args)
  end
  
  # RSolr.escape
  extend Char
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rsolr-1.0.0.beta3 lib/rsolr.rb
rsolr-1.0.0.beta2 lib/rsolr.rb