redis 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/redis.rb +1 -1
  2. data/lib/redis/client.rb +1 -1
  3. metadata +2 -2
@@ -1,7 +1,7 @@
1
1
  require 'socket'
2
2
 
3
3
  class Redis
4
- VERSION = "2.1.0"
4
+ VERSION = "2.1.1"
5
5
 
6
6
  class ProtocolError < RuntimeError
7
7
  def initialize(reply_type)
@@ -86,7 +86,7 @@ class Redis
86
86
  # We want to make sure it reconnects on the next command after the
87
87
  # timeout. Otherwise the server may reply in the meantime leaving
88
88
  # the protocol in a desync status.
89
- connection.disconnect
89
+ disconnect
90
90
 
91
91
  raise Errno::EAGAIN, "Timeout reading from the socket"
92
92
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 2
7
7
  - 1
8
- - 0
9
- version: 2.1.0
8
+ - 1
9
+ version: 2.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ezra Zygmuntowicz