/redis-rack

Redis stores for Rack

Primary LanguageRubyMIT LicenseMIT

Redis stores for Rack

redis-rack provides a Redis backed session store Rack. See the main redis-store readme for general guidelines.

Installation

# Gemfile
gem 'redis-rack'

Usage

If you are using redis-store with Rails, consider using the redis-rails gem instead. For standalone usage:

# config.ru
require 'rack'
require 'rack/session/redis'

use Rack::Session::Redis

Running tests

gem install bundler
git clone git://github.com/redis-store/redis-rack.git
cd redis-rack
bundle install
bundle exec rake

If you are on Snow Leopard you have to run env ARCHFLAGS="-arch x86_64" bundle exec rake

Status

Gem Version Build Status Code Climate

Copyright

2009 - 2013 Luca Guidi - http://lucaguidi.com, released under the MIT license