1- Redis Session Store
2- ===================
1+ # Redis Session Store
32
4- [ ![ Build Status] ( https://travis-ci.org/roidrage/redis-session-store.png ?branch=master )] ( https://travis-ci.org/roidrage/redis-session-store )
5- [ ![ Code Climate] ( https://codeclimate.com/github/roidrage/redis-session-store.png )] ( https://codeclimate.com/github/roidrage/redis-session-store )
6- [ ![ Gem Version] ( https://badge.fury.io/rb/redis-session-store.png )] ( http://badge.fury.io/rb/redis-session-store )
3+ [ ![ Build Status] ( https://travis-ci.org/roidrage/redis-session-store.svg ?branch=master )] ( https://travis-ci.org/roidrage/redis-session-store )
4+ [ ![ Code Climate] ( https://codeclimate.com/github/roidrage/redis-session-store.svg )] ( https://codeclimate.com/github/roidrage/redis-session-store )
5+ [ ![ Gem Version] ( https://badge.fury.io/rb/redis-session-store.svg )] ( http://badge.fury.io/rb/redis-session-store )
76
87A simple Redis-based session store for Rails. But why, you ask,
98when there's [ redis-store] ( http://github.com/jodosha/redis-store/ ) ?
@@ -20,17 +19,15 @@ only suitable for Rails applications. For other frameworks or
2019drop-in support for caching, check out
2120[ redis-store] ( http://github.com/jodosha/redis-store/ ) .
2221
23- Installation
24- ------------
22+ ## Installation
2523
2624For Rails 3+, adding this to your ` Gemfile ` will do the trick.
2725
2826``` ruby
2927gem ' redis-session-store'
3028```
3129
32- Configuration
33- -------------
30+ ## Configuration
3431
3532See ` lib/redis-session-store.rb ` for a list of valid options.
3633In your Rails app, throw in an initializer with the following contents:
@@ -102,17 +99,16 @@ My::Application.config.session_store :redis_session_store, {
10299
103100** Note** The session will * always* be destroyed when it cannot be loaded.
104101
105- Rails 2 Compatibility
106- ---------------------
102+ ## Rails 2 Compatibility
107103
108104This gem is currently only compatible with Rails 3+. If you need
109105Rails 2 compatibility, be sure to pin to a lower version like so:
110106
111107``` ruby
112108gem ' redis-session-store' , ' < 0.3'
113109```
114- Contributing, Authors, & License
115- --------------------------------
110+
111+ ## Contributing, Authors, & License
116112
117113See [ CONTRIBUTING.md] ( CONTRIBUTING.md ) , [ AUTHORS.md] ( AUTHORS.md ) , and
118114[ LICENSE] ( LICENSE ) , respectively.
0 commit comments