@@ -34,7 +34,7 @@ You can also specify connection options as a [`redis://` URL][redis-url]:
34
34
redis
= Redis .
new (
url: " redis://:[email protected] :6380/15" )
35
35
```
36
36
37
- The client expects passwords with special chracters to be URL-encoded (i.e.
37
+ The client expects passwords with special characters to be URL-encoded (i.e.
38
38
` CGI.escape(password) ` ).
39
39
40
40
To connect to Redis listening on a Unix socket, try:
@@ -77,7 +77,7 @@ The client does not provide connection pooling. Each `Redis` instance
77
77
has one and only one connection to the server, and use of this connection
78
78
is protected by a mutex.
79
79
80
- As such it is heavilly recommended to use the [ ` connection_pool ` gem] ( https://github.com/mperham/connection_pool ) , e.g.:
80
+ As such it is heavily recommended to use the [ ` connection_pool ` gem] ( https://github.com/mperham/connection_pool ) , e.g.:
81
81
82
82
``` ruby
83
83
module MyApp
@@ -139,7 +139,7 @@ SENTINELS = [{ host: '127.0.0.1', port: 26380 },
139
139
redis = Redis .new (name: ' mymaster' , sentinels: SENTINELS , role: :master , password: ' mysecret' )
140
140
```
141
141
142
- So you have to provide Sentinel credential and Redis explictly even they are the same
142
+ So you have to provide Sentinel credential and Redis explicitly even they are the same
143
143
144
144
``` ruby
145
145
# Use 'mysecret' to authenticate against the mymaster instance and sentinel
@@ -406,7 +406,7 @@ gem "hiredis-client"
406
406
```
407
407
408
408
If your application doesn't call ` Bundler.require ` , you may have
409
- to require it explictly :
409
+ to require it explicitly :
410
410
411
411
``` ruby
412
412
require " hiredis-client"
0 commit comments