Sha256: 670874be497022b1b1db05e764b05282a72a9abe8805e368e22721c348bab0dc

Contents?: true

Size: 537 Bytes

Versions: 31

Compression:

Stored size: 537 Bytes

Contents

%w(task_helper config_installer).each do |file|
  require File.join(File.dirname(__FILE__), 'installer', file)
end

module Sunspot
  module Solr
    class Installer
      class <<self
        def execute(solr_home, options = {})
          new(solr_home, options).execute
        end

        private :new
      end

      def initialize(solr_home, options)
        @solr_home, @options = solr_home, options
      end

      def execute
        ConfigInstaller.execute(File.join(@solr_home, 'conf'), @options)
      end
    end
  end
end

Version data entries

31 entries across 31 versions & 10 rubygems

Version Path
sunspot_solr-2.0.0.pre.120415 lib/sunspot/solr/installer.rb
erichummel-sunspot_solr-2.0.0.pre.111215d lib/sunspot/solr/installer.rb
sunspot_solr-1.3.1 lib/sunspot/solr/installer.rb
erichummel-sunspot_solr-2.0.0.pre.111215 lib/sunspot/solr/installer.rb
sunspot_solr-2.0.0.pre.111215 lib/sunspot/solr/installer.rb
cb_sunspot_solr-2.0.0.pre.5 lib/sunspot/solr/installer.rb
cb_sunspot_solr-2.0.0.pre.3 lib/sunspot/solr/installer.rb
cb_sunspot_solr-2.0.0.pre2 lib/sunspot/solr/installer.rb
mrcsparker-sunspot_solr-1.3.0 lib/sunspot/solr/installer.rb
sunspot_solr-1.3.0 lib/sunspot/solr/installer.rb
sunspot_solr-1.3.0.rc6 lib/sunspot/solr/installer.rb