Sha256: 034e0a3eed919b8168a444629d9ed8dcab6ccab1c7ce88d940a4aa62116713bb

Contents?: true

Size: 545 Bytes

Versions: 11

Compression:

Stored size: 545 Bytes

Contents

# frozen_string_literal: true

require "rails/generators"
require "rails/generators/migration"

module GeoblacklightAdmin
  class ModelsGenerator < Rails::Generators::Base
    include Rails::Generators::Migration

    source_root File.expand_path("templates", __dir__)

    desc <<-DESCRIPTION
      This generator makes the following changes to your application:
       1. Preps engine migrations
    DESCRIPTION

    # Setup the database migrations
    def copy_migrations
      rake "geoblacklight_admin:install:migrations"
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
geoblacklight_admin-0.6.0 lib/generators/geoblacklight_admin/models_generator.rb
geoblacklight_admin-0.5.1 lib/generators/geoblacklight_admin/models_generator.rb
geoblacklight_admin-0.5.0 lib/generators/geoblacklight_admin/models_generator.rb
geoblacklight_admin-0.4.2 lib/generators/geoblacklight_admin/models_generator.rb
geoblacklight_admin-0.4.1 lib/generators/geoblacklight_admin/models_generator.rb
geoblacklight_admin-0.4.0 lib/generators/geoblacklight_admin/models_generator.rb
geoblacklight_admin-0.3.2 lib/generators/geoblacklight_admin/models_generator.rb
geoblacklight_admin-0.3.1 lib/generators/geoblacklight_admin/models_generator.rb
geoblacklight_admin-0.3.0 lib/generators/geoblacklight_admin/models_generator.rb
geoblacklight_admin-0.2.1 lib/generators/geoblacklight_admin/models_generator.rb
geoblacklight_admin-0.1.0 lib/generators/geoblacklight_admin/models_generator.rb