Sha256: 4fbc20a2495c9ddcf8de834d86bd81f15b163d791e55c26b84a66b3099635a36

Contents?: true

Size: 288 Bytes

Versions: 35

Compression:

Stored size: 288 Bytes

Contents

require 'rails/generators'

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

    def generate
      copy_file('solr.yml', 'config/solr.yml')
      directory('solr_conf', 'solr_conf')
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
active-fedora-5.7.1 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-5.7.0 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-5.6.3 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-6.0.0 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-6.0.0.rc7 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-6.0.0.rc6 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-6.0.0.rc5 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-6.0.0.rc4 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-6.0.0.rc3 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-6.0.0.rc2 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-6.0.0.rc1 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-5.6.2 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-5.6.1 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-6.0.0.pre10 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-6.0.0.pre9 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-5.6.0 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-6.0.0.pre8 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-6.0.0.pre7 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-5.5.2 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-6.0.0.pre6 lib/generators/active_fedora/config/solr/solr_generator.rb