test-prof 1.3.3 → 1.3.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a719a17544a705f447aeefc448f75bb2ffc11c268661735c11095b593e0d9417
4
- data.tar.gz: 3d461a0c4573a0a7c43a7db57b8ecce96baf2c1a60998f56019c437a20ad1f60
3
+ metadata.gz: 60840c0d3e625673d2fc56a9d66f9581a1730dc137c31b4b7f00fe6791cf316e
4
+ data.tar.gz: 0a00ada331651604776b8f310c35344de860447953b43aab1a1d14437854c8dc
5
5
  SHA512:
6
- metadata.gz: '0549376752f1b0e6d718333f2e378c2d0cd3bee94a18f52440c0110710f9ab9bc1a23aaaadcd84e1cbf1171402d11cd4eaa98718bbc736cfdcc3f50740cc7e89'
7
- data.tar.gz: 3f6546e3d091b6c0aba067d94c12bfd1bf8542d0725b851f06cac81b8507685de4ef7ca25bd38b2bec9b2a98f21c99cfddd68997dca90ab739bbc3f19820fef6
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).filter_map { |pool|
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TestProf
4
- VERSION = "1.3.3"
4
+ VERSION = "1.3.3.1"
5
5
  end
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-04-19 00:00:00.000000000 Z
11
+ date: 2024-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler