Sha256: 634d420538c8dc102bbe27c8b1bd8ab4df88b515e2b1a9b910727b70b45d8074

Contents?: true

Size: 514 Bytes

Versions: 1

Compression:

Stored size: 514 Bytes

Contents

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

      desc <<-END_OF_DESC
Copies DB migrations
      END_OF_DESC

      def banner
        say_status('info', 'Installing ActiveFedora::Noid', :blue)
      end

      def migrations
        rake 'active_fedora_noid_engine:install:migrations'
        rake 'db:migrate'
      end

      def seed
        generate 'active_fedora:noid:seed'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_fedora-noid-2.0.0.beta1 lib/generators/active_fedora/noid/install_generator.rb