Project

redisstore

0.0
No release in over 3 years
Low commit activity in last 3 years
Stores cached values in Redis
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.7.1
~> 2.0.0
~> 10.4.0
~> 3.1.0
~> 0.28.0

Runtime

~> 1.0.0
~> 3.2.0
 Project Readme

redisstore

Gem Version 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.