Sha256: e33fb12399b574b64dbb430f5b9bb860b25a137b09c18b274bf2774ecdf6d352

Contents?: true

Size: 451 Bytes

Versions: 3

Compression:

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_fedora-noid-2.2.0 lib/generators/active_fedora/noid/install_generator.rb
active_fedora-noid-2.1.0 lib/generators/active_fedora/noid/install_generator.rb
active_fedora-noid-2.0.2 lib/generators/active_fedora/noid/install_generator.rb