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
qiny_sunspot_solr-2.1.0 lib/sunspot/solr/installer.rb
sunspot_solr-jts-2.2.0 lib/sunspot/solr/installer.rb
sunspot_solr-jts-2.2.0.rc1 lib/sunspot/solr/installer.rb
sunspot_solr-2.2.0 lib/sunspot/solr/installer.rb
sunspot_solr-2.1.1 lib/sunspot/solr/installer.rb
sunspot_solr-2.1.0 lib/sunspot/solr/installer.rb
sunspot_solr-2.0.0 lib/sunspot/solr/installer.rb
sunspot_solr-2.0.0.pre.130115 lib/sunspot/solr/installer.rb
gojee-sunspot-solr-2.0.5 lib/sunspot/solr/installer.rb
sunspot_solr-2.0.0.pre.120925 lib/sunspot/solr/installer.rb
sunspot_solr-2.0.0.pre.120924 sunspot_solr/lib/sunspot/solr/installer.rb
sunspot_rails-2.0.0.pre.120924 sunspot_solr/lib/sunspot/solr/installer.rb
sunspot-2.0.0.pre.120924 sunspot_solr/lib/sunspot/solr/installer.rb
gojee-sunspot-solr-2.0.4 lib/sunspot/solr/installer.rb
gojee-sunspot-solr-2.0.2 lib/sunspot/solr/installer.rb
sunspot_solr-2.0.0.pre.120720 lib/sunspot/solr/installer.rb
culturecode-sunspot_solr-2.0.0.pre lib/sunspot/solr/installer.rb
sunspot_solr-1.3.3 lib/sunspot/solr/installer.rb
sunspot_solr-1.3.2 lib/sunspot/solr/installer.rb
sunspot_solr-2.0.0.pre.120417 lib/sunspot/solr/installer.rb