Sha256: 248becf161bfc328e7ac86d926f69b4a28788ed6b4f85c0ee85c4e70b9f09fbc

Contents?: true

Size: 414 Bytes

Versions: 39

Compression:

Stored size: 414 Bytes

Contents

# frozen_string_literal: true

module Rails
  module Command
    class MiddlewareCommand < Base # :nodoc:
      desc "middleware", "Print out your Rack middleware stack"
      def perform
        boot_application!

        Rails.configuration.middleware.each do |middleware|
          say "use #{middleware.inspect}"
        end
        say "run #{Rails.application.class.name}.routes"
      end
    end
  end
end

Version data entries

39 entries across 39 versions & 5 rubygems

Version Path
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/railties-7.1.3.4/lib/rails/commands/middleware/middleware_command.rb
railties-8.0.1 lib/rails/commands/middleware/middleware_command.rb
railties-8.0.0.1 lib/rails/commands/middleware/middleware_command.rb
railties-7.2.2.1 lib/rails/commands/middleware/middleware_command.rb
railties-7.1.5.1 lib/rails/commands/middleware/middleware_command.rb
railties-8.0.0 lib/rails/commands/middleware/middleware_command.rb
railties-7.2.2 lib/rails/commands/middleware/middleware_command.rb
railties-7.1.5 lib/rails/commands/middleware/middleware_command.rb
railties-8.0.0.rc2 lib/rails/commands/middleware/middleware_command.rb
railties-7.2.1.2 lib/rails/commands/middleware/middleware_command.rb
railties-7.1.4.2 lib/rails/commands/middleware/middleware_command.rb
railties-8.0.0.rc1 lib/rails/commands/middleware/middleware_command.rb
railties-7.2.1.1 lib/rails/commands/middleware/middleware_command.rb
railties-7.1.4.1 lib/rails/commands/middleware/middleware_command.rb
railties-8.0.0.beta1 lib/rails/commands/middleware/middleware_command.rb
omg-railties-8.0.0.alpha9 lib/rails/commands/middleware/middleware_command.rb
omg-railties-8.0.0.alpha8 lib/rails/commands/middleware/middleware_command.rb
omg-railties-8.0.0.alpha7 lib/rails/commands/middleware/middleware_command.rb
omg-railties-8.0.0.alpha4 lib/rails/commands/middleware/middleware_command.rb
omg-railties-8.0.0.alpha3 lib/rails/commands/middleware/middleware_command.rb