Skip to content

Commit 10b4d7c

Browse files
Drop support for EOL Rails (#34)
**Summary of changes:** This pull request drops support for Rails versions having reached end of life (< Rails 7.2), in order to streamline the supportability bracket. By doing so, It also cuts a minor version release.
1 parent b918105 commit 10b4d7c

File tree

14 files changed

+19
-482
lines changed

14 files changed

+19
-482
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ jobs:
1414
matrix:
1515
ruby: ["3.2", "3.3", "3.4"]
1616
gemfile:
17-
- gemfiles/rails_7_0.gemfile
18-
- gemfiles/rails_7_1.gemfile
1917
- gemfiles/rails_7_2.gemfile
2018
- gemfiles/rails_8_0.gemfile
2119
services:

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ inherit_mode:
88

99
AllCops:
1010
TargetRubyVersion: 3.2
11-
TargetRailsVersion: 7.0
11+
TargetRailsVersion: 7.2
1212
Exclude:
1313
- gemfiles/*.gemfile
1414

Appraisals

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
# frozen_string_literal: true
22

3-
appraise 'rails-7-0' do
4-
gem 'railties', '~> 7.0.0'
5-
gem 'base64'
6-
gem 'bigdecimal'
7-
gem 'benchmark'
8-
gem 'concurrent-ruby', '1.3.4'
9-
gem 'drb'
10-
gem 'logger'
11-
gem 'mutex_m'
12-
end
13-
14-
appraise 'rails-7-1' do
15-
gem 'railties', '~> 7.1.0'
16-
end
17-
183
appraise 'rails-7-2' do
194
gem 'railties', '~> 7.2.0'
205
end

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project aims to adhere to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## [3.1.0]
9+
10+
### Removed
11+
12+
- Removed support for < Rails 7.2
13+
814
## [3.0.0]
915

1016
### Removed

Gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
PATH
22
remote: .
33
specs:
4-
with_transactional_lock (3.0.0)
5-
activerecord (>= 7.0, < 8.1)
6-
railties (>= 7.0, < 8.1)
4+
with_transactional_lock (3.1.0)
5+
activerecord (>= 7.2, < 8.1)
6+
railties (>= 7.2, < 8.1)
77

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

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ load 'rails/tasks/statistics.rake'
2222

2323
Bundler::GemHelper.install_tasks
2424

25-
if (Rails.env.development? || Rails.env.test?) && defined? Dummy
25+
if Rails.env.local? && defined? Dummy
2626
require 'rspec/core'
2727
require 'rspec/core/rake_task'
2828
require 'rubocop/rake_task'

gemfiles/rails_7_0.gemfile

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

gemfiles/rails_7_0.gemfile.lock

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

gemfiles/rails_7_1.gemfile

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

0 commit comments

Comments
 (0)