Skip to content

Commit

Permalink
New end-of-support dates for Rails
Browse files Browse the repository at this point in the history
  • Loading branch information
presidentbeef committed Aug 23, 2024
1 parent 281e580 commit 8da2a28
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 8da2a28

Please sign in to comment.