Sha256: c24b9fbe3e9d30c868aefb71b3089e9e1bdbe1743fde98792031eb1b0aaeadbd

Contents?: true

Size: 504 Bytes

Versions: 13

Compression:

Stored size: 504 Bytes

Contents

# frozen_string_literal: true

require "rails/generators"
module ExceptionTrack
  module Generators
    class InstallGenerator < Rails::Generators::Base
      desc "Create ExceptionTrack's base files"
      source_root File.expand_path("../../..", __dir__)

      def add_initializer
        template "config/initializers/exception-track.rb", "config/initializers/exception-track.rb"
      end

      def add_migrations
        exec("rake exception_track:install:migrations")
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
exception-track-1.3.0 lib/generators/exception_track/install_generator.rb
exception-track-1.2.0 lib/generators/exception_track/install_generator.rb
exception-track-1.1.0 lib/generators/exception_track/install_generator.rb
exception-track-1.0.0 lib/generators/exception_track/install_generator.rb
exception-track-0.6.2 lib/generators/exception_track/install_generator.rb
exception-track-0.6.1 lib/generators/exception_track/install_generator.rb
exception-track-0.6.0 lib/generators/exception_track/install_generator.rb
exception-track-0.5.2 lib/generators/exception_track/install_generator.rb
exception-track-0.5.1 lib/generators/exception_track/install_generator.rb
exception-track-0.5.0 lib/generators/exception_track/install_generator.rb
exception-track-0.4.0 lib/generators/exception_track/install_generator.rb
exception-track-0.3.1 lib/generators/exception_track/install_generator.rb
exception-track-0.3.0 lib/generators/exception_track/install_generator.rb