activerecord-dynamic_timeout 0.0.1.rc1 → 0.0.1.rc2

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
  SHA256:
3
- metadata.gz: 0f13bd79fe5a35f5979b91ec7f702ad0fe0d95ff743a2a91dc3a81a9c8e78fa7
4
- data.tar.gz: d1c6f748961cb9c812215f2ee710fc88f99d7230a67986710152ecda8bb8f811
3
+ metadata.gz: 55639dda91869cb0dc47c52543cd9becb00c99d0401fe3ba8de74895137798c6
4
+ data.tar.gz: 7435229decada73df01abdaad9183da8d850512aeb30f2efe30148a0e6e9d981
5
5
  SHA512:
6
- metadata.gz: 57286088e5d8fdb64d24e24e949dce507ff8afb10d295182c42926df5eef6fa2c4d1abc5e3a55812596b32d56969f8b9ad2b0eadbd6c7fc1443b973a6109c32b
7
- data.tar.gz: 24e3f13a1c85ab0efd0d68222fe9b8e2fd4e1a84816c01fe28b00736e386c33a6d70ed94ae6261ecb57400a644d24a2e9415c89c55e4d851945ccfe94c417e6b
6
+ metadata.gz: 296df3e1d3484a39921f718ab1ed19ba23fdb009d7adba17cddb7e6320babb23b146cd08e3272bdde7260b150a12a942e75d56ff9405bcc806ba20aa404eb478
7
+ data.tar.gz: 45ef043b9e41620cb3b8e2561b8f09b12d4d523001f0fa146eff7dbfd35c5db335d172954bbe2cc2d4b1acec743a70f3e0384a01af19549e0617c4910968d4e9
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- activerecord-dynamic_timeout (0.0.1.rc1)
4
+ activerecord-dynamic_timeout (0.0.1.rc2)
5
5
  activerecord (>= 6.1)
6
6
 
7
7
  GEM
@@ -52,7 +52,7 @@ module ActiveRecord::DynamicTimeout
52
52
  # This ensures new connections from reconnects have the correct timeout.
53
53
  def configure_connection
54
54
  super
55
- if active_record_dynamic_timeout && !timeout_set_client_side?
55
+ if supports_dynamic_timeouts? && active_record_dynamic_timeout
56
56
  set_connection_timeout(@raw_connection, active_record_dynamic_timeout)
57
57
  end
58
58
  end
@@ -81,7 +81,7 @@ module ActiveRecord::DynamicTimeout
81
81
  # This ensures new connections from reconnects have the correct timeout.
82
82
  def configure_connection
83
83
  super
84
- if active_record_dynamic_timeout && !timeout_set_client_side?
84
+ if supports_dynamic_timeouts? && active_record_dynamic_timeout
85
85
  set_connection_timeout(@connection, active_record_dynamic_timeout)
86
86
  end
87
87
  end
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module DynamicTimeout
3
- VERSION = '0.0.1.rc1'
3
+ VERSION = '0.0.1.rc2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-dynamic_timeout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.rc1
4
+ version: 0.0.1.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tristan Starck
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-21 00:00:00.000000000 Z
11
+ date: 2024-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord