README.md in redis-sentinel-url-0.1.1 vs README.md in redis-sentinel-url-0.1.2
- old
+ new
@@ -16,10 +16,12 @@
$ gem install redis-sentinel-url
## Usage
-Once the code is `require`d (which happens automatically if you are using bundler) you can use the following URL syntax in the `REDIS_URL` environment variable, or passed to `Redis.new(url: ...)`:
+`require 'redis/sentinel/url'`
+
+You can then use the following URL syntax in the `REDIS_URL` environment variable, or passed to `Redis.new(url: ...)`:
`redis+sentinel://host[:port][/service_name[/db]][?param1=value1[¶m2=value=2&...]]`
This syntax is based on the syntax from https://github.com/exponea/redis-sentinel-url but does not support multiple sentinel hosts or passing passwords.