Sha256: 02618e5ed5a4f044724e2feace37f306affccd72d3ab8a7d383bea49266e9950

Contents?: true

Size: 335 Bytes

Versions: 4

Compression:

Stored size: 335 Bytes

Contents

require 'colorize'

module CspReport
  class MigrationGenerator < Rails::Generators::Base

    desc "Retrieves the migration files from the gem"
    def setup_migration
      rake "csp_report:install:migrations"

      puts "\nIf anything was copied".red
      puts "    Don't forget to run 'rake db:migrate'\n".red
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
csp_report-1.0.1 lib/generators/csp_report/migration_generator.rb
csp_report-1.0.0 lib/generators/csp_report/migration_generator.rb
csp_report-0.4.0 lib/generators/csp_report/migration_generator.rb
csp_report-0.3.0 lib/generators/csp_report/migration_generator.rb