Sha256: 898b00870ac46f1ad031a3af62ae0267208f5bd27020f4d8a85cd550aee3c84f
Contents?: true
Size: 1.96 KB
Versions: 1
Compression:
Stored size: 1.96 KB
Contents
# This gem is in LTS mode. Rails 5.2.0 [includes a Redis cache store out of the box](https://github.com/rails/rails/pull/31134), so you don't really need this anymore if you're generating a new Rails application. We are no longer accepting new features for this gem, only security updates will be considered for new pull requests. # Redis stores for ActiveSupport __`redis-activesupport`__ provides a cache for __ActiveSupport__. For guidelines on using our underlying cache store, see the main [redis-store readme](https://github.com/redis-store/redis-store). For information on how to use this library in a Rails app, see the [documentation for redis-rails](https://github.com/redis-store/redis-rails). If, for some reason, you're using `ActiveSupport::Cache` and not in a Rails app, read on to learn how to install/use this gem by itself! ## Installation ```ruby # Gemfile gem 'redis-activesupport' ``` ## Usage If you are using redis-store with Rails, consider using the [redis-rails gem](https://github.com/redis-store/redis-rails) instead. For standalone usage: ```ruby ActiveSupport::Cache.lookup_store :redis_store # { ... optional configuration ... } ``` ## Running tests ```shell gem install bundler git clone git://github.com/redis-store/redis-activesupport.git cd redis-activesupport bundle install bundle exec rake ``` If you are on **Snow Leopard** you have to run `env ARCHFLAGS="-arch x86_64" bundle exec rake` ## Status [](http://badge.fury.io/rb/redis-activesupport) [](http://travis-ci.org/redis-store/redis-activesupport?branch=master) [](https://codeclimate.com/github/redis-store/redis-activesupport) ## Copyright 2009 - 2013 Luca Guidi - [http://lucaguidi.com](http://lucaguidi.com), released under the MIT license
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
redis-activesupport-5.3.0 | README.md |