Skip to content

Commit

Permalink
Merge pull request #77 from roidrage/v0.9.1-prep
Browse files Browse the repository at this point in the history
Preparing for 0.9.1 release
  • Loading branch information
meatballhat authored Jul 3, 2016
2 parents 945dd81 + b84c5ee commit 5667173
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 15 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@

## [Unreleased]

## [0.9.1] - 2016-07-03
### Added
- More specific runtime dependencies

### Changed
- Documentation and whitespace

## [0.9.0] - 2016-07-02
### Added
- [`CODE_OF_CONDUCT.md`](./CODE_OF_CONDUCT.md)
Expand Down Expand Up @@ -194,7 +201,8 @@
### Added
- first working version

[Unreleased]: https://github.com/roidrage/redis-session-store/compare/v0.9.0...HEAD
[Unreleased]: https://github.com/roidrage/redis-session-store/compare/v0.9.1...HEAD
[0.9.1]: https://github.com/roidrage/redis-session-store/compare/v0.9.0...v0.9.1
[0.9.0]: https://github.com/roidrage/redis-session-store/compare/v0.8.1...v0.9.0
[0.8.1]: https://github.com/roidrage/redis-session-store/compare/v0.8.0...v0.8.1
[0.8.0]: https://github.com/roidrage/redis-session-store/compare/v0.7.0...v0.8.0
Expand Down
22 changes: 9 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
Redis Session Store
===================
# Redis Session Store

[![Build Status](https://travis-ci.org/roidrage/redis-session-store.png?branch=master)](https://travis-ci.org/roidrage/redis-session-store)
[![Code Climate](https://codeclimate.com/github/roidrage/redis-session-store.png)](https://codeclimate.com/github/roidrage/redis-session-store)
[![Gem Version](https://badge.fury.io/rb/redis-session-store.png)](http://badge.fury.io/rb/redis-session-store)
[![Build Status](https://travis-ci.org/roidrage/redis-session-store.svg?branch=master)](https://travis-ci.org/roidrage/redis-session-store)
[![Code Climate](https://codeclimate.com/github/roidrage/redis-session-store.svg)](https://codeclimate.com/github/roidrage/redis-session-store)
[![Gem Version](https://badge.fury.io/rb/redis-session-store.svg)](http://badge.fury.io/rb/redis-session-store)

A simple Redis-based session store for Rails. But why, you ask,
when there's [redis-store](http://github.com/jodosha/redis-store/)?
Expand All @@ -20,17 +19,15 @@ only suitable for Rails applications. For other frameworks or
drop-in support for caching, check out
[redis-store](http://github.com/jodosha/redis-store/).

Installation
------------
## Installation

For Rails 3+, adding this to your `Gemfile` will do the trick.

``` ruby
gem 'redis-session-store'
```

Configuration
-------------
## Configuration

See `lib/redis-session-store.rb` for a list of valid options.
In your Rails app, throw in an initializer with the following contents:
Expand Down Expand Up @@ -102,17 +99,16 @@ My::Application.config.session_store :redis_session_store, {

**Note** The session will *always* be destroyed when it cannot be loaded.

Rails 2 Compatibility
---------------------
## Rails 2 Compatibility

This gem is currently only compatible with Rails 3+. If you need
Rails 2 compatibility, be sure to pin to a lower version like so:

``` ruby
gem 'redis-session-store', '< 0.3'
```
Contributing, Authors, & License
--------------------------------

## Contributing, Authors, & License

See [CONTRIBUTING.md](CONTRIBUTING.md), [AUTHORS.md](AUTHORS.md), and
[LICENSE](LICENSE), respectively.
2 changes: 1 addition & 1 deletion lib/redis-session-store.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Redis session storage for Rails, and for Rails only. Derived from
# the MemCacheStore code, simply dropping in Redis instead.
class RedisSessionStore < ActionDispatch::Session::AbstractStore
VERSION = '0.9.0'.freeze
VERSION = '0.9.1'.freeze
# Rails 3.1 and beyond defines the constant elsewhere
unless defined?(ENV_SESSION_OPTIONS_KEY)
if Rack.release.split('.').first.to_i > 1
Expand Down

0 comments on commit 5667173

Please sign in to comment.