Sha256: 6b77e9180522e270676a041c3b4713dab13a020f921ab7f32b6dffb5882562a3

Contents?: true

Size: 521 Bytes

Versions: 42

Compression:

Stored size: 521 Bytes

Contents

require 'rails/generators'

module ActiveFedora
  class Config::SolrGenerator < Rails::Generators::Base
    source_root ::File.expand_path('../templates', __FILE__)

    def generate
      # Overwrite the configuration files that Blacklight has installed
      copy_file 'solr.yml', 'config/solr.yml', force: true
      directory 'solr', 'solr'
    end

    def solr_wrapper_config
      copy_file '.solr_wrapper', '.solr_wrapper'
      copy_file 'solr_wrapper_test.yml', 'config/solr_wrapper_test.yml'
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
active-fedora-11.5.6 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-11.2.1 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-11.5.5 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-11.5.4 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-11.5.3 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-11.5.2 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-12.0.0 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-11.5.0 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-11.4.1 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-11.4.0 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-11.3.1 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-11.3.0 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-11.2.0 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-11.1.6 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-11.1.5 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-11.1.4 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-11.1.3 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-11.1.2 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-11.1.1 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-11.1.0 lib/generators/active_fedora/config/solr/solr_generator.rb