Commit ac0a2cb8 authored by Rajko Albrecht's avatar Rajko Albrecht
Browse files

Add readme

parent 33a5782c
# Redis store with CAS for ActiveSupport
__`redis-activesupport-with-cas`__ provides a cache for __ActiveSupport__ including 'Compare and Swap' methods.
It is based on [redis-store](https://github.com/redis-store/redis-store) and may used with [Identity Cache](https://github.com/Shopify/identity_cache).
## Installation
```ruby
# Gemfile
gem 'redis-activesupport-with-cas'
```
## Usage
```ruby
ActiveSupport::Cache.lookup_store :redis_store_with_cas # { ... optional configuration ... }
```
## Running tests
```shell
gem install bundler
git clone https://git.alwin-it.de/ruby-redis/redis-activesupport-with-cas.git
cd redis-activesupport-with-cas
bundle install
bundle exec rake
```
## Copyright
2017 Rajko Albrecht, released under the MIT license
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment