test-prof 1.3.3 → 1.3.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/test_prof/before_all/adapters/active_record.rb +2 -2
- data/lib/test_prof/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60840c0d3e625673d2fc56a9d66f9581a1730dc137c31b4b7f00fe6791cf316e
|
4
|
+
data.tar.gz: 0a00ada331651604776b8f310c35344de860447953b43aab1a1d14437854c8dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d94cb3a4de94a249566ad0042bbff4cf0a8a855b291a54ef5233c33546d82e19cf149a636c2543574aa5af84dce9688484876ffdfd80715e8e47ac1b0470145
|
7
|
+
data.tar.gz: 777fc797f1dd4998c8859c985a303644e2c807afbc8cc4c94f557d29145bc48d9a3e44a16b062798fc6e32793fd8c7beb2f43f95d622d35bd86eb52b0bc96a72
|
@@ -10,14 +10,14 @@ module TestProf
|
|
10
10
|
class << self
|
11
11
|
def all_connections
|
12
12
|
@all_connections ||= if ::ActiveRecord::Base.respond_to? :connects_to
|
13
|
-
::ActiveRecord::Base.connection_handler.connection_pool_list(*POOL_ARGS).
|
13
|
+
::ActiveRecord::Base.connection_handler.connection_pool_list(*POOL_ARGS).map { |pool|
|
14
14
|
begin
|
15
15
|
pool.connection
|
16
16
|
rescue *pool_connection_errors => error
|
17
17
|
log_pool_connection_error(pool, error)
|
18
18
|
nil
|
19
19
|
end
|
20
|
-
}
|
20
|
+
}.compact
|
21
21
|
else
|
22
22
|
Array.wrap(::ActiveRecord::Base.connection)
|
23
23
|
end
|
data/lib/test_prof/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: test-prof
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.3
|
4
|
+
version: 1.3.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vladimir Dementyev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|