Project

rack-store

0.0
No commit activity in last 3 years
No release in over 3 years
Rack::Store is a Rack middleware what makes the env accessible anywhere while a request
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 2.0.0

Runtime

>= 1.2.0
 Project Readme

Build Status

What's Rack::Store

Rack::Store is a Rack middleware what makes the env accessible anywhere while a request.

Usage

# Gemfile
gem 'rack-store', :require => 'rack/store'

# config.ru
use Rack::Store

# In your rack application (e.g. Rails, Sinatra)
Rails.logger.debug "User-Agent: #{Rack::Store.env['HTTP_USER_AGENT']}"

License

Rack::Store is released under the MIT license:

Copyright (c) 2016 Issei Naruta