ar-multidb 0.1.9 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -56,7 +56,7 @@ module Multidb
56
56
  end
57
57
 
58
58
  def disconnect!
59
- @candidates.values.each do |candidate|
59
+ @candidates.values.flatten.each do |candidate|
60
60
  candidate.connection_pool.disconnect!
61
61
  end
62
62
  end
@@ -1,3 +1,3 @@
1
1
  module Multidb
2
- VERSION = '0.1.9'
2
+ VERSION = '0.1.10'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ar-multidb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: