Sha256: 4a0806212fb50c6fc0ff17ac17591d31afaa58fc718b12db69cebd1e3e1e4a90

Contents?: true

Size: 346 Bytes

Versions: 7

Compression:

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
active-fedora-9.12.0 lib/generators/active_fedora/config/fedora/fedora_generator.rb
active-fedora-9.11.0 lib/generators/active_fedora/config/fedora/fedora_generator.rb
active-fedora-9.10.4 lib/generators/active_fedora/config/fedora/fedora_generator.rb
active-fedora-9.10.3 lib/generators/active_fedora/config/fedora/fedora_generator.rb
active-fedora-9.10.2 lib/generators/active_fedora/config/fedora/fedora_generator.rb
active-fedora-9.10.1 lib/generators/active_fedora/config/fedora/fedora_generator.rb
active-fedora-9.10.0 lib/generators/active_fedora/config/fedora/fedora_generator.rb