Skip to content

sebastien-coavoux/uri-redis

 
 

Repository files navigation

URI-Redis v1.2 (2024-05-20)

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

License

See LICENSE.txt

About

URI support for Redis connection settings

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 97.9%
  • Shell 2.1%