No commit activity in last 3 years
No release in over 3 years
Rack::EnvInspector is a Rack middleware for debugging that allows you to dump the Rack environment by appending a query parameter to the URL.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
>= 0
 Project Readme

Rack::EnvInspector, a Rack middleware for inspecting the Rack environment

This is a simple middleware that allows you to inspect the Rack environment by appending a query parameter to any of your app's URLs.

Configuration

To use Rack::EnvInspector, add the following to your Gemfile:

gem 'rack-envinspector'

Then in config.ru:

use Rack::EnvInspector

Or in a Rails app, add the following to application.rb, or to an appropriate environment-specific config file:

config.middleware.use "Rack::EnvInspector"

Then, see a JSON dump of the Rack environment by appending ?inspect to any URL.