Skip to content

Commit 1b09a80

Browse files
committedFeb 20, 2025··
chore: remove support for Rails 7.0
BREAKING CHANGE: Authie no longer supports Rails <= 7.0. Official support for Rails 7.0 ended over a year ago, we don't need to continue supporting it in Authie 5.0 and higher. Rails 7.0 can continue to use the 4.x releases.
1 parent 588b5e7 commit 1b09a80

File tree

4 files changed

+2
-33
lines changed

4 files changed

+2
-33
lines changed
 

‎.github/workflows/ci.yml

-3
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,12 @@ jobs:
4141
- 3.3
4242
- 3.4
4343
gemfile:
44-
- rails_7.0
4544
- rails_7.1
4645
- rails_7.2
4746
- rails_8.0
4847
exclude:
4948
- ruby_version: 3.1
5049
gemfile: rails_8.0
51-
- ruby_version: 3.4
52-
gemfile: rails_7.0
5350
env:
5451
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
5552
steps:

‎Appraisals

-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
# frozen_string_literal: true
22

3-
appraise 'rails-7.0' do
4-
gem 'rails', '~> 7.0.0'
5-
gem 'sqlite3', '1.4.2'
6-
end
7-
83
appraise 'rails-7.1' do
94
gem 'rails', '~> 7.1.0'
105
end

‎gemfiles/rails_7.0.gemfile

-19
This file was deleted.

‎spec/spec_helper.rb

+2-6
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,8 @@
4848
end
4949

5050
config.before(:suite) do
51-
context = if Gem::Version.new(Rails.version) >= Gem::Version.new('7.0')
52-
ActiveRecord::MigrationContext.new(File.expand_path('../db/migrate', __dir__))
53-
else
54-
ActiveRecord::MigrationContext.new(File.expand_path('../db/migrate', __dir__),
55-
ActiveRecord::SchemaMigration)
56-
end
51+
context = ActiveRecord::MigrationContext.new(File.expand_path('../db/migrate', __dir__),
52+
ActiveRecord::SchemaMigration)
5753
context.migrate(nil)
5854
end
5955

0 commit comments

Comments
 (0)
Please sign in to comment.