From 0500b488c5f0066951c92726ee8c3dcef9f98813 Mon Sep 17 00:00:00 2001 From: Alejandro Perea Date: Sat, 9 Dec 2023 22:20:38 +0100 Subject: [PATCH] Add Rails 7.1 to CI Matrix and drop support for Ruby 2.6 (#1022) This does three things: Add Rails 7.1 to the matrix Drops support for Ruby 2.6 (almost 2 years EOL) Removes Gemfile for Rails 5.2 --- .github/workflows/test.yml | 6 ++---- gemfiles/{Gemfile.rails-5.2.rb => Gemfile.rails-7.1.rb} | 8 ++++---- 2 files changed, 6 insertions(+), 8 deletions(-) rename gemfiles/{Gemfile.rails-5.2.rb => Gemfile.rails-7.1.rb} (60%) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b357c28a..e6c390f2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,11 +10,9 @@ jobs: strategy: matrix: database: [ mysql, postgresql ] - gemfile: [ '7.0', '6.1', '6.0' ] - ruby: [ '2.6', '2.7', '3.0', '3.1', '3.2' ] + gemfile: [ '7.1', '7.0', '6.1', '6.0' ] + ruby: [ '2.7', '3.0', '3.1', '3.2' ] exclude: - - ruby: '2.6' - gemfile: '7.0' - ruby: '3.2' gemfile: '6.0' - ruby: '3.2' diff --git a/gemfiles/Gemfile.rails-5.2.rb b/gemfiles/Gemfile.rails-7.1.rb similarity index 60% rename from gemfiles/Gemfile.rails-5.2.rb rename to gemfiles/Gemfile.rails-7.1.rb index a9758ab3..8200662a 100644 --- a/gemfiles/Gemfile.rails-5.2.rb +++ b/gemfiles/Gemfile.rails-7.1.rb @@ -2,14 +2,14 @@ gemspec path: "../" -gem "activerecord", "~> 5.2.0" -gem "railties", "~> 5.2.0" +gem "activerecord", "~> 7.1.0" +gem "railties", "~> 7.1.0" # Database Configuration group :development, :test do platforms :jruby do - gem "activerecord-jdbcmysql-adapter", "~> 51.1" - gem "activerecord-jdbcpostgresql-adapter", "~> 51.1" + gem "activerecord-jdbcmysql-adapter", "~> 61.0" + gem "activerecord-jdbcpostgresql-adapter", "~> 61.0" gem "kramdown" end