Sha256: 3f9b1cda2cb2f194e4d57c2ddd51c811f559b545ad1bb846d1006e3840d2c15f

Contents?: true

Size: 363 Bytes

Versions: 6

Compression:

Stored size: 363 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
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
active-fedora-9.10.0.pre2 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-9.10.0.pre1 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-9.9.1 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-9.9.0 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-9.8.2 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-9.8.1 lib/generators/active_fedora/config/solr/solr_generator.rb