From 8da2a28b71072bfd2e75aa7f92950f72b08617fe Mon Sep 17 00:00:00 2001 From: Justin Collins Date: Fri, 23 Aug 2024 00:39:02 -0600 Subject: [PATCH] New end-of-support dates for Rails --- lib/brakeman/checks/check_eol_rails.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/brakeman/checks/check_eol_rails.rb b/lib/brakeman/checks/check_eol_rails.rb index 93046400e6..11cf2ad721 100644 --- a/lib/brakeman/checks/check_eol_rails.rb +++ b/lib/brakeman/checks/check_eol_rails.rb @@ -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), @@ -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