Sha256: c5dc75ed0b7b6ae25ad31973eae6e6475cfcdc498bb5ab889ca6290b83b25a31

Contents?: true

Size: 422 Bytes

Versions: 42

Compression:

Stored size: 422 Bytes

Contents

require 'rails/generators'

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

    def generate
      copy_file('fedora.yml', 'config/fedora.yml')
    end

    def fcrepo_wrapper_config
      copy_file '.fcrepo_wrapper', '.fcrepo_wrapper'
      copy_file 'fcrepo_wrapper_test.yml', 'config/fcrepo_wrapper_test.yml'
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
active-fedora-10.0.0.beta1 lib/generators/active_fedora/config/fedora/fedora_generator.rb
active-fedora-9.13.0 lib/generators/active_fedora/config/fedora/fedora_generator.rb