Name: redis-namespace
Owner: Basecamp
Description: This gem adds a Redis::Namespace class which can be used to namespace Redis keys.
Created: 2012-05-24 20:25:47.0
Updated: 2014-10-25 15:32:55.0
Pushed: 2012-05-24 20:28:11.0
Homepage: http://redis.io
Size: 135
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Requires the redis gem.
Namespaces all Redis calls.
Redis::Namespace.new(:ns, :redis => @r)
oo'] = 1000
This will perform the equivalent of:
redis-cli set ns:foo 1000
Useful when you have multiple systems using Redis differently in your app.
$ gem install redis-namespace
$ bundle install
$ rake
Chris Wanstrath :: chris@ozmm.org