Redis store for BasicCache
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.circle-ruby
.gitignore
.prospectus
.rspec
.rubocop.yml
CHANGELOG.md
Gemfile
LICENSE
README.md
Rakefile
circle.yml
redisstore.gemspec

README.md

redisstore

Gem Version Dependency Status Build Status Coverage Status Code Quality MIT Licensed

Redis storage backend for BasicCache

Usage

require 'basiccache'
require 'redisstore'

store = RedisStore.new(host: '1.2.3.4', port: 1234)
cache = BasicCache.new store

Your options when creating the store are passed off to redis-rb, so you can provide whichever other options you'd like, such as specifying a unix socket or authentication details. Similarly, if your Redis instance is on localhost:6379, you don't need to specify anything.

Installation

gem install redisstore

License

redisstore is released under the MIT License. See the bundled LICENSE file for details.