Creates a URI object for Redis URLs.
e.g.
redis://host:port/dbindex
require 'uri/redis'
conf = URI.parse 'redis://localhost:4380/2'
conf.host # => localhost
conf.port # => 4380
conf.db # => 2
conf.to_s # => redis://localhost:4380/2
conf
Get it in one of the following ways:
gem install uri-redis
git clone git+ssh://github.com/delano/uri-redis.git
See LICENSE.txt