Sha256: 74bfb534afe0823576ccf78211a5f988aa878a328330f49e23c9158f6f2df099

Contents?: true

Size: 516 Bytes

Versions: 4

Compression:

Stored size: 516 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

4 entries across 4 versions & 1 rubygems

Version Path
active_fedora-noid-2.0.0.beta5 lib/generators/active_fedora/noid/install_generator.rb
active_fedora-noid-2.0.0.beta4 lib/generators/active_fedora/noid/install_generator.rb
active_fedora-noid-2.0.0.beta3 lib/generators/active_fedora/noid/install_generator.rb
active_fedora-noid-2.0.0.beta2 lib/generators/active_fedora/noid/install_generator.rb