README.md in githu3-0.0.4 vs README.md in githu3-0.0.5
- old
+ new
@@ -1,6 +1,6 @@
-# githu3 [![Build Status](http://travis-ci.org/sbellity/githu3.png)](http://travis-ci.org/sbellity/githu3)
+# githu3
githu3 is a ruby wrapper for github's v3 api.
## Installation
@@ -171,9 +171,11 @@
:path => "/tmp/githu3",
:namespace => "cache", # or "myawesomelyverylongoauth2token" if you are paranoid...
:expiration => 120 # in seconds
})
+ require 'redis'
+ require 'redis-namespace'
redis_cached_client = Githu3::Client.new('myawesomelyverylongoauth2token', :cache => :redis, :cache_options => {
:host => "localhost", # defaults to localhost
:port => 6379 # defaults to 6379
:namespace => "githu3", # or "githu3:myawesomelyverylongoauth2token" if you are paranoid...
:expiration => 120 # in seconds