URI support for Redis connection settings
Ruby
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/uri
try
CHANGES.txt
LICENSE.txt
README.rdoc
Rakefile
VERSION.yml

README.rdoc

URI-Redis v0.2

redis://host:port/dbindex

Usage

require 'uri/redis'

conf = URI.parse 'redis://localhost:8999/2'
conf.host                 # => localhost
conf.port                 # => 8999
conf.db                   # => 2

Installation

Get it in one of the following ways:

  • gem install uri-redis

  • git clone git://github.com/delano/uri-redis.git

More Information

Credits

License

See LICENSE.txt