Sha256: ef6432965c45383d53440d95dae681dd4d2dac911b4325ecaea173ee7841f40a

Contents?: true

Size: 323 Bytes

Versions: 24

Compression:

Stored size: 323 Bytes

Contents

# frozen_string_literal: true

module RackProfiler
  module Generators
    class InstallGenerator < ::Rails::Generators::Base
      source_root File.expand_path("templates", __dir__)

      def create_initializer_file
        copy_file "rack_profiler.rb", "config/initializers/rack_profiler.rb"
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
rack-mini-profiler-3.0.0 lib/generators/rack_profiler/install_generator.rb
rack-mini-profiler-2.3.4 lib/generators/rack_profiler/install_generator.rb
rack-mini-profiler-2.3.3 lib/generators/rack_profiler/install_generator.rb
rack-mini-profiler-2.3.2 lib/generators/rack_profiler/install_generator.rb
rack-mini-profiler-2.3.1 lib/generators/rack_profiler/install_generator.rb
rack-mini-profiler-2.3.0 lib/generators/rack_profiler/install_generator.rb
rack-mini-profiler-2.2.1 lib/generators/rack_profiler/install_generator.rb
rack-mini-profiler-2.2.0 lib/generators/rack_profiler/install_generator.rb
rack-mini-profiler-2.1.0 lib/generators/rack_profiler/install_generator.rb
rack-mini-profiler-2.0.4 lib/generators/rack_profiler/install_generator.rb
rack-mini-profiler-2.0.3 lib/generators/rack_profiler/install_generator.rb
rack-mini-profiler-2.0.2 lib/generators/rack_profiler/install_generator.rb
rack-mini-profiler-2.0.1 lib/generators/rack_profiler/install_generator.rb
rack-mini-profiler-2.0.0 lib/generators/rack_profiler/install_generator.rb
rack-mini-profiler-1.1.6 lib/generators/rack_profiler/install_generator.rb
rack-mini-profiler-1.1.5 lib/generators/rack_profiler/install_generator.rb
rack-mini-profiler-1.1.4 lib/generators/rack_profiler/install_generator.rb
rack-mini-profiler-1.1.3 lib/generators/rack_profiler/install_generator.rb
rack-mini-profiler-1.1.2 lib/generators/rack_profiler/install_generator.rb
rack-mini-profiler-1.1.1 lib/generators/rack_profiler/install_generator.rb