From 0c3cf8d6c252d2e6d12731993dc6d191d33841ea Mon Sep 17 00:00:00 2001 From: Marc Qualie <101022+marcqualie@users.noreply.github.com> Date: Mon, 12 Feb 2024 20:12:36 +0000 Subject: [PATCH] Drop ruby 2.x support (#139) Nokogiri requires 3.x so we need to upgrade our limitations. Ruby 2 is also past end of life, so there's no reason to continue supporting it. --- .github/workflows/test.yml | 6 +++--- test/rails_test.rb | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ad43532..d786f21 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,8 +12,7 @@ jobs: strategy: matrix: ruby: - - "2.7.5" - - "3.0.3" + - "3.0.6" steps: - uses: actions/checkout@v2 - name: Set up Ruby @@ -23,12 +22,13 @@ jobs: bundler-cache: true - name: Run rspec run: bundle exec rake test + rubocop: runs-on: ubuntu-latest strategy: matrix: ruby: - - "2.7.5" + - "3.0.6" steps: - uses: actions/checkout@v2 - name: Set up Ruby diff --git a/test/rails_test.rb b/test/rails_test.rb index 405ad80..9f081f5 100644 --- a/test/rails_test.rb +++ b/test/rails_test.rb @@ -6,9 +6,9 @@ require 'open3' RAILS_VERSIONS = %w[ - 6.0.4.4 - 6.1.4.4 - 7.0.1 + 6.0.6.1 + 6.1.7.6 + 7.0.8 ].freeze RAILS_FLAGS = %w[