README.md in redis-3.2.1 vs README.md in redis-3.2.2

- old
+ new

@@ -21,10 +21,24 @@ [changelog-3.0.0]: https://github.com/redis/redis-rb/blob/master/CHANGELOG.md#300 ## Getting started +To install **redis-rb**, run the following command: + +``` + gem install redis +``` + +Or if you are using **bundler**, add + +``` + gem 'redis', '~>3.2' +``` + +to your `Gemfile`, and run `bundle install` + As of version 2.0 this client only targets Redis version 2.0 and higher. You can use an older version of this client if you need to interface with a Redis instance older than 2.0, but this is no longer supported. You can connect to Redis by instantiating the `Redis` class: @@ -41,16 +55,18 @@ ```ruby redis = Redis.new(:host => "10.0.1.1", :port => 6380, :db => 15) ``` -You can also specify connection options as an URL: +You can also specify connection options as a [`redis://` URL][redis-url]: ```ruby redis = Redis.new(:url => "redis://:p4ssw0rd@10.0.1.1:6380/15") ``` +[redis-url]: http://www.iana.org/assignments/uri-schemes/prov/redis + By default, the client will try to read the `REDIS_URL` environment variable and use that as URL to connect to. The above statement is therefore equivalent to setting this environment variable and calling `Redis.new` without arguments. To connect to Redis listening on a Unix socket, try: @@ -296,10 +312,10 @@ * Ezra Zygmuntowicz * Taylor Weibley * Matthew Clark * Brian McKinney * Luca Guidi -* Salvatore Sanfillipo +* Salvatore Sanfilippo * Chris Wanstrath * Damian Janowski * Michel Martens * Nick Quaranto * Pieter Noordhuis