seamless_database_pool 1.0.8 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -39,9 +39,9 @@ module SeamlessDatabasePool
39
39
 
40
40
  protected
41
41
 
42
- def select_with_connection_statistics(sql, name = nil)
42
+ def select_with_connection_statistics(sql, name = nil, *args)
43
43
  increment_connection_statistic(:select) do
44
- select_without_connection_statistics(sql, name)
44
+ select_without_connection_statistics(sql, name, *args)
45
45
  end
46
46
  end
47
47
 
@@ -19,7 +19,7 @@ describe SeamlessDatabasePool::ConnectionStatistics do
19
19
 
20
20
  protected
21
21
 
22
- def select (sql, name = nil)
22
+ def select (sql, name = nil, binds = [])
23
23
  "SELECT #{sql}/#{name}"
24
24
  end
25
25
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seamless_database_pool
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 8
10
- version: 1.0.8
9
+ - 9
10
+ version: 1.0.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brian Durand
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-07-06 00:00:00 -05:00
18
+ date: 2011-07-20 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency