Skip to content

Commit

Permalink
Drop Ruby 2.76 and Rails 6.0 (#1005)
Browse files Browse the repository at this point in the history
- Drops support for Rails 6.0, see https://endoflife.date/rails
- Drops support for Ruby 2.7.6, see https://endoflife.date/ruby
- Drop unused gemfiles and update Gemfile.lock
  • Loading branch information
sej3506 authored Apr 15, 2024
1 parent d65cecc commit b4022f5
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 96 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ jobs:
fail-fast: false
matrix:
gemfile:
- "6.0"
- "6.1"
- "7.0"
- "7.1"
ruby:
- "2.7.6"
- "3.0.4"
- "3.1.2"
- "3.2.2"
Expand Down
6 changes: 0 additions & 6 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
appraise "rails_6.0" do
gem "railties", "~> 6.0.0"
gem "net-smtp", require: false # not bundled in ruby 3.1
gem "psych", "< 4" # psych 4 switched from unsafe load to safe load
end

appraise "rails_6.1" do
gem "railties", "~> 6.1.0"
gem "net-smtp", require: false # not bundled in ruby 3.1
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ complete changelog, see the git history for each version via the version links.

## [Unreleased]

- Drops support for Rails 6.0, see https://endoflife.date/rails
- Drops support for Ruby 2.7.6, see https://endoflife.date/ruby

[Unreleased]: https://github.com/thoughtbot/clearance/compare/v2.6.2...main

## [2.6.2] January 15, 2024
Expand All @@ -20,6 +23,8 @@ deprecated active record handling in application.rb (#998)
- Replace mentions of NEWS.md with CHANGELOG.md (#982)
- Fix broken thoughtbot logo on README.md

[2.6.2]: https://github.com/thoughtbot/clearance/compare/v2.6.1...v2.6.2

## [2.6.1] - September 23, 2022
- Document how to report security issues
- Only update the `env["QUERY_STRING"]` if the `as` parameter is present in
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ GEM
thor (~> 1.0)
zeitwerk (~> 2.5)
rainbow (3.1.1)
rake (13.0.6)
rake (13.1.0)
regexp_parser (2.5.0)
rexml (3.2.5)
rspec-core (3.11.0)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ monitored by contributors.

## Getting Started

Clearance is a Rails engine tested against Rails `>= 6.0` and Ruby `>= 2.7.0`.
Clearance is a Rails engine tested against Rails `>= 6.1` and Ruby `>= 3.0.0`.

You can add it to your Gemfile with:

Expand Down
21 changes: 0 additions & 21 deletions gemfiles/rails_5.0.gemfile

This file was deleted.

21 changes: 0 additions & 21 deletions gemfiles/rails_5.1.gemfile

This file was deleted.

21 changes: 0 additions & 21 deletions gemfiles/rails_5.2.gemfile

This file was deleted.

23 changes: 0 additions & 23 deletions gemfiles/rails_6.0.gemfile

This file was deleted.

0 comments on commit b4022f5

Please sign in to comment.