-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1295 from kazuyainoue0124/fix_typos_in_readme
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ You can also specify connection options as a [`redis://` URL][redis-url]: | |
redis = Redis.new(url: "redis://:[email protected]:6380/15") | ||
``` | ||
|
||
The client expects passwords with special chracters to be URL-encoded (i.e. | ||
The client expects passwords with special characters to be URL-encoded (i.e. | ||
`CGI.escape(password)`). | ||
|
||
To connect to Redis listening on a Unix socket, try: | ||
|
@@ -77,7 +77,7 @@ The client does not provide connection pooling. Each `Redis` instance | |
has one and only one connection to the server, and use of this connection | ||
is protected by a mutex. | ||
|
||
As such it is heavilly recommended to use the [`connection_pool` gem](https://github.com/mperham/connection_pool), e.g.: | ||
As such it is heavily recommended to use the [`connection_pool` gem](https://github.com/mperham/connection_pool), e.g.: | ||
|
||
```ruby | ||
module MyApp | ||
|
@@ -139,7 +139,7 @@ SENTINELS = [{ host: '127.0.0.1', port: 26380 }, | |
redis = Redis.new(name: 'mymaster', sentinels: SENTINELS, role: :master, password: 'mysecret') | ||
``` | ||
|
||
So you have to provide Sentinel credential and Redis explictly even they are the same | ||
So you have to provide Sentinel credential and Redis explicitly even they are the same | ||
|
||
```ruby | ||
# Use 'mysecret' to authenticate against the mymaster instance and sentinel | ||
|
@@ -406,7 +406,7 @@ gem "hiredis-client" | |
``` | ||
|
||
If your application doesn't call `Bundler.require`, you may have | ||
to require it explictly: | ||
to require it explicitly: | ||
|
||
```ruby | ||
require "hiredis-client" | ||
|