Permalink
Browse files

v0.4.0.2 fix Tarantool.close

  • Loading branch information...
1 parent 9370576 commit 0965829a9ae8dce4ff1c174571c1c75f89f5dbca @funny-falcon funny-falcon committed Jul 19, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 lib/tarantool.rb
  2. +1 −1 lib/tarantool/version.rb
View
@@ -137,8 +137,8 @@ def _shard(number)
end
def close_connection
- @connections.each do |name, conn|
- conn.close
+ @connections.each do |number, replicas|
+ replicas.each(&:close)
end
@connections.clear
end
View
@@ -1,4 +1,4 @@
module Tarantool
- VERSION = "0.4.0.1"
+ VERSION = "0.4.0.2"
RECORD_VERSION = "0.4.0"
end

0 comments on commit 0965829

Please sign in to comment.