Sha256: faec1d5d4d575f09c30c85e27859bf8fdafb236ffc1f68c84bbdfa87b00bc085

Contents?: true

Size: 481 Bytes

Versions: 6

Compression:

Stored size: 481 Bytes

Contents

# frozen_string_literal: true

require "generators/rack_mini_profiler/install_generator"

module RackProfiler
  module Generators
    class InstallGenerator < RackMiniProfiler::Generators::InstallGenerator
      source_root File.expand_path("../rack_mini_profiler/templates", __dir__)

      def create_initializer_file
        warn("bin/rails generate rack_profiler:install is deprecated. Please use rack_mini_profiler:install instead.")
        super
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rack-mini-profiler-3.3.1 lib/generators/rack_profiler/install_generator.rb
rack-mini-profiler-3.3.0 lib/generators/rack_profiler/install_generator.rb
rack-mini-profiler-3.2.1 lib/generators/rack_profiler/install_generator.rb
rack-mini-profiler-3.2.0 lib/generators/rack_profiler/install_generator.rb
rack-mini-profiler-3.1.1 lib/generators/rack_profiler/install_generator.rb
rack-mini-profiler-3.1.0 lib/generators/rack_profiler/install_generator.rb