seamless_database_pool 1.0.15 → 1.0.16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 49f36daf8b3d407d0a64c919cd55d41edb67299c
4
- data.tar.gz: 27a40dda0546f89699c713a692119fc312da0da6
3
+ metadata.gz: 03e34fd35e31a1aedfa669fb8dc9c44fee522eff
4
+ data.tar.gz: 4079cd1c5eb54ca43c751c542ec31af48e175a43
5
5
  SHA512:
6
- metadata.gz: 90c9a05dfb35afff08add517f6ddc3ab4f5ffeb2fe50d28a6102c9321c2d9fee384a6bbbccc08170a9290bf66950f3d8d72e50e952069a819293066367da6596
7
- data.tar.gz: 37090f84c9134e7fe74657d0ff66623871b23aefbbae54d20fa6d17e59809773a9ffccfee5cc8e9d5d94c0fbbab3f5498eb30082e2525df911272228ea10736f
6
+ metadata.gz: a8ce9df9ebb8686377dbf6033086311441cf6bfd86a48798eb7c3d3dcc6a31cbbbc2e32b56d43cfbfc6c57dee8ed0cdd4a888e3cea98e9a6a9f7992abae05742
7
+ data.tar.gz: fe5170dd7af5af551b240765339afbd365b986f9b359ac36fbc907933f33488c2cba872e5643e269905a4cf2b2e04c36e88e96450aae8eba71f0c185ea179f16
@@ -261,6 +261,10 @@ module ActiveRecord
261
261
  "#<#{self.class.name}:0x#{object_id.to_s(16)} #{all_connections.size} connections>"
262
262
  end
263
263
 
264
+ def inspect
265
+ to_s
266
+ end
267
+
264
268
  class DatabaseConnectionError < StandardError
265
269
  end
266
270
 
@@ -90,6 +90,7 @@ describe "SeamlessDatabasePoolAdapter" do
90
90
 
91
91
  it "should be able to be converted to a string" do
92
92
  pool_connection.to_s.should =~ /\A#<ActiveRecord::ConnectionAdapters::SeamlessDatabasePoolAdapter::Abstract:0x[0-9a-f]+ 3 connections>\z/
93
+ pool_connection.inspect.should == pool_connection.to_s
93
94
  end
94
95
 
95
96
  context "selecting a connection from the pool" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seamless_database_pool
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.15
4
+ version: 1.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Durand