Project

uri-redis

0.01
Low commit activity in last 3 years
A long-lived project that still receives updates
URI-Redis: support for parsing Redis URIs like redis://host:port/dbindex
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.1, >= 2.1.1

Runtime

~> 4.1, >= 4.1.0
 Project Readme

URI-Redis v1.0 (pre-release)

Creates a URI object for Redis URLs.

e.g.

redis://host:port/dbindex

Usage

** 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

**

Installation

Get it in one of the following ways:

  • gem install uri-redis
  • git clone git+ssh://github.com/delano/uri-redis.git

About

Credits

License

See LICENSE.txt