Sha256: 940635d6ff4e23ec8048f7c7a8ab948b1f9ab29e20351eb319e352f848ec4681

Contents?: true

Size: 546 Bytes

Versions: 3

Compression:

Stored size: 546 Bytes

Contents

# frozen_string_literal: true
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

3 entries across 3 versions & 1 rubygems

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