Skip to content

Commit afb6c4c

Browse files
committed
Remove Rails 7.1
`ActiveRecordHostPool` is confusing enough to try to understand without having conditional branches based on Rails version... Rails 7.1 is EOL in just over a month anyway.
1 parent 79eb55d commit afb6c4c

14 files changed

+56
-288
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ jobs:
3636
- "3.3"
3737
- "3.4"
3838
gemfile:
39-
- rails7.1
4039
- rails7.2
4140
- rails8.0
4241
adapter_mysql:

Changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ and as of v1.0.0 this project adheres to [Semantic Versioning](https://semver.or
66

77
## [Unreleased]
88

9+
### Removed
10+
- Support for Rails 7.1.
11+
912
## [4.2.0]
1013

1114
### Changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# frozen_string_literal: true
22

3-
eval_gemfile "gemfiles/rails7.1.gemfile"
3+
eval_gemfile "gemfiles/rails7.2.gemfile"

Gemfile.lock

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,29 @@ PATH
22
remote: .
33
specs:
44
active_record_host_pool (4.2.0)
5-
activerecord (>= 7.1.0)
5+
activerecord (>= 7.2.0)
66

77
GEM
88
remote: https://rubygems.org/
99
specs:
10-
activemodel (7.1.5.1)
11-
activesupport (= 7.1.5.1)
12-
activerecord (7.1.5.1)
13-
activemodel (= 7.1.5.1)
14-
activesupport (= 7.1.5.1)
10+
activemodel (7.2.2.2)
11+
activesupport (= 7.2.2.2)
12+
activerecord (7.2.2.2)
13+
activemodel (= 7.2.2.2)
14+
activesupport (= 7.2.2.2)
1515
timeout (>= 0.4.0)
16-
activesupport (7.1.5.1)
16+
activesupport (7.2.2.2)
1717
base64
1818
benchmark (>= 0.3)
1919
bigdecimal
20-
concurrent-ruby (~> 1.0, >= 1.0.2)
20+
concurrent-ruby (~> 1.0, >= 1.3.1)
2121
connection_pool (>= 2.2.5)
2222
drb
2323
i18n (>= 1.6, < 2)
2424
logger (>= 1.4.2)
2525
minitest (>= 5.1)
26-
mutex_m
2726
securerandom (>= 0.3)
28-
tzinfo (~> 2.0)
27+
tzinfo (~> 2.0, >= 2.0.5)
2928
ast (2.4.2)
3029
base64 (0.2.0)
3130
benchmark (0.4.0)
@@ -48,7 +47,6 @@ GEM
4847
minitest-line (0.6.5)
4948
minitest (~> 5.0)
5049
minitest-mock_expectations (1.2.0)
51-
mutex_m (0.3.0)
5250
mysql2 (0.5.6)
5351
parallel (1.26.3)
5452
parser (3.3.6.0)
@@ -108,7 +106,7 @@ PLATFORMS
108106

109107
DEPENDENCIES
110108
active_record_host_pool!
111-
activerecord (~> 7.1.0)
109+
activerecord (~> 7.2.0)
112110
minitest (>= 5.10.0)
113111
minitest-fail-fast
114112
minitest-line

active_record_host_pool.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ Gem::Specification.new do |s|
1717

1818
s.required_ruby_version = ">= 3.2.0"
1919

20-
s.add_runtime_dependency("activerecord", ">= 7.1.0")
20+
s.add_runtime_dependency("activerecord", ">= 7.2.0")
2121
end

gemfiles/rails7.1.gemfile

Lines changed: 0 additions & 9 deletions
This file was deleted.

gemfiles/rails7.1.gemfile.lock

Lines changed: 0 additions & 123 deletions
This file was deleted.

gemfiles/rails7.2.gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PATH
22
remote: ..
33
specs:
44
active_record_host_pool (4.2.0)
5-
activerecord (>= 7.1.0)
5+
activerecord (>= 7.2.0)
66

77
GEM
88
remote: https://rubygems.org/

gemfiles/rails8.0.gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PATH
22
remote: ..
33
specs:
44
active_record_host_pool (4.2.0)
5-
activerecord (>= 7.1.0)
5+
activerecord (>= 7.2.0)
66

77
GEM
88
remote: https://rubygems.org/

lib/active_record_host_pool.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
:noop
1717
end
1818

19-
require "active_record_host_pool/clear_query_cache_patch"
2019
require "active_record_host_pool/connection_proxy"
2120
require "active_record_host_pool/pool_proxy"
2221
require "active_record_host_pool/connection_adapter_mixin"

0 commit comments

Comments
 (0)