Skip to content

Commit

Permalink
Drop support for End of Life Ruby and Rails versions (#570)
Browse files Browse the repository at this point in the history
- Ruby 2.7 is EOL
- Rails 5.x and 6.0 are EOL
- Rails 6.1 active support is over, and security support ends in 4 weeks

https://endoflife.date/rails
  • Loading branch information
jeromedalbert authored Sep 14, 2024
1 parent 080ce0b commit 2ca1f4c
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 123 deletions.
43 changes: 0 additions & 43 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,64 +15,21 @@ jobs:
fail-fast: false
matrix:
ruby:
- "2.7"
- "3.0"
- "3.1"
- "3.2"
- "3.3"

gemfile:
- "rails_6_1"
- "rails_7_0"
- "rails_7_1"
- "rails_head"

exclude:
- ruby: 2.7
gemfile: rails_head
- ruby: '3.0'
gemfile: rails_head

include:
- ruby: 2.2
gemfile: rails_5_0
- ruby: 2.2
gemfile: rails_5_1
- ruby: 2.3
gemfile: rails_5_0
- ruby: 2.3
gemfile: rails_5_1
- ruby: 2.3
gemfile: rails_5_2
- ruby: 2.4
gemfile: rails_5_0
- ruby: 2.4
gemfile: rails_5_1
- ruby: 2.4
gemfile: rails_5_2
- ruby: 2.5
gemfile: rails_5_0
- ruby: 2.5
gemfile: rails_5_1
- ruby: 2.5
gemfile: rails_5_2
- ruby: 2.5
gemfile: rails_6_0
- ruby: 2.5
gemfile: rails_6_1
- ruby: 2.6
gemfile: rails_5_0
- ruby: 2.6
gemfile: rails_5_1
- ruby: 2.6
gemfile: rails_5_2
- ruby: 2.6
gemfile: rails_6_0
- ruby: 2.6
gemfile: rails_6_1
- ruby: 2.7
gemfile: rails_6_0

- ruby: '3.1'
gemfile: rails_head
- ruby: '3.2'
Expand Down
27 changes: 0 additions & 27 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,30 +1,3 @@
if RUBY_VERSION < "2.7.0"
appraise "rails-5-0" do
gem "rails", "~> 5.0.0"
gem "loofah", "< 2.21.0"
end

appraise "rails-5-1" do
gem "rails", "~> 5.1.0"
gem "loofah", "< 2.21.0"
end

appraise "rails-5-2" do
gem "rails", "~> 5.2.0"
gem "loofah", "< 2.21.0"
end
end

if RUBY_VERSION >= "2.5.0"
appraise "rails-6-0" do
gem "rails", "~> 6.0.0"
end

appraise "rails-6-1" do
gem "rails", "~> 6.1.0"
end
end

if RUBY_VERSION >= "2.7.0"
appraise "rails-7-0" do
gem "rails", "~> 7.0.0"
Expand Down
11 changes: 0 additions & 11 deletions gemfiles/rails_5_0.gemfile

This file was deleted.

11 changes: 0 additions & 11 deletions gemfiles/rails_5_1.gemfile

This file was deleted.

11 changes: 0 additions & 11 deletions gemfiles/rails_5_2.gemfile

This file was deleted.

10 changes: 0 additions & 10 deletions gemfiles/rails_6_0.gemfile

This file was deleted.

10 changes: 0 additions & 10 deletions gemfiles/rails_6_1.gemfile

This file was deleted.

0 comments on commit 2ca1f4c

Please sign in to comment.