Skip to content

Commit

Permalink
Merge pull request #1865 from presidentbeef/update_eol_dates_for_rails
Browse files Browse the repository at this point in the history
New end-of-support dates for Rails
  • Loading branch information
presidentbeef authored Aug 28, 2024
2 parents 1713d5f + 8da2a28 commit f99539b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/brakeman/checks/check_eol_rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ def run_check
check_eol_version :rails, RAILS_EOL_DATES
end

# https://rubyonrails.org/maintenance
# https://endoflife.date/rails
RAILS_EOL_DATES = {
['2.0.0', '2.3.99'] => Date.new(2013, 6, 25),
['3.0.0', '3.2.99'] => Date.new(2016, 6, 30),
Expand All @@ -19,5 +21,9 @@ def run_check
['5.1.0', '5.1.99'] => Date.new(2019, 8, 25),
['5.2.0', '5.2.99'] => Date.new(2022, 6, 1),
['6.0.0', '6.0.99'] => Date.new(2023, 6, 1),
['6.1.0', '6.1.99'] => Date.new(2024, 10, 1),
['7.0.0', '7.0.99'] => Date.new(2025, 4, 1),
['7.1.0', '7.1.99'] => Date.new(2025, 10, 1),
['7.2.0', '7.2.99'] => Date.new(2026, 8, 9),
}
end

0 comments on commit f99539b

Please sign in to comment.