Sha256: 5cde716aced92f6c45fca579696354316bad16887b5549c3b636dc80f40dab27
Contents?: true
Size: 570 Bytes
Versions: 2
Compression:
Stored size: 570 Bytes
Contents
$: << "#{File.dirname(__FILE__)}" unless $:.include? File.dirname(__FILE__) require 'rubygems' module RSolr %W(Char Client Error Connection Pagination 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 driver = Class === args[0] ? args[0] : RSolr::Connection opts = Hash === args[-1] ? args[-1] : {} Client.new driver.new, opts end # RSolr.escape extend Char end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rsolr-1.0.2 | lib/rsolr.rb |
rsolr-1.0.1 | lib/rsolr.rb |