Browse files

Merge pull request #41 from doersf/master

bugfix + update dependency
  • Loading branch information...
2 parents 0fb3fb3 + 2998005 commit 8a67d2165eac9e38bcd70d15b998b0d940e2735e @mloughran committed Nov 11, 2015
Showing with 3 additions and 3 deletions.
  1. +1 −1 em-hiredis.gemspec
  2. +1 −1 lib/em-hiredis/base_client.rb
  3. +1 −1 lib/em-hiredis/version.rb
View
2 em-hiredis.gemspec
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
s.description = %q{Eventmachine redis client using hiredis native parser}
s.add_dependency 'eventmachine', '~> 1.0'
- s.add_dependency 'hiredis', '~> 0.5.0'
+ s.add_dependency 'hiredis', '~> 0.6.0'
s.add_development_dependency 'em-spec', '~> 0.2.5'
s.add_development_dependency 'rspec', '~> 2.6.0'
View
2 lib/em-hiredis/base_client.rb
@@ -109,8 +109,8 @@ def connect
@reconnect_failed_count = 0
@failed = false
- select(@db) unless @db == 0
auth(@password) if @password
+ select(@db) unless @db == 0
@command_queue.each do |df, command, args|
@connection.send_command(command, args)
View
2 lib/em-hiredis/version.rb
@@ -1,5 +1,5 @@
module EventMachine
module Hiredis
- VERSION = "0.3.0"
+ VERSION = "0.3.1"
end
end

0 comments on commit 8a67d21

Please sign in to comment.