0.0
No commit activity in last 3 years
No release in over 3 years
This very simple gem just provides a middleware named RackInjection that allows you to inject arbitrary ke-value pairs into the Rack env on every request.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.6
>= 0
 Project Readme

RackInjection

This very simple gem just provides a middleware named RackInjection that allows you to inject arbitrary key-value pairs into the Rack env on every request.

Installation

You know how to install gems...

Usage

In your config.ru file:

use RackInjection, 'rack.logger' => my_special_logger

Now env['rack.logger'] will refer to my_special_logger in every request.

Contributing

If send me a pull request, I promise I'll look at it.