From 009de5eff5f78c5a373969ff1acdb85ca2fe6a19 Mon Sep 17 00:00:00 2001 From: Murilo Dal Ri Date: Mon, 20 Mar 2023 10:54:36 +0000 Subject: [PATCH 1/4] Drop Ruby 2.7 support --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b8437e0..dd6ae32 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: fail-fast: false matrix: # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0' - ruby: [2.7, '3.0', 3.1, 3.2] + ruby: ['3.0', 3.1, 3.2] runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 From 4300fec558bc12ffd4340f918fab3779fff335c7 Mon Sep 17 00:00:00 2001 From: Murilo Dal Ri Date: Tue, 21 Mar 2023 15:37:38 +0000 Subject: [PATCH 2/4] Upgrade Ruby to 3.0.5 --- .ruby-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ruby-version b/.ruby-version index 49cdd66..eca690e 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.7.6 +3.0.5 From f25d5afa8ff06b8bfbb57e8496a79ca65f717e23 Mon Sep 17 00:00:00 2001 From: Murilo Dal Ri Date: Fri, 24 Mar 2023 10:50:21 +0000 Subject: [PATCH 3/4] Add minimum required Ruby version to Gemspec --- govuk_test.gemspec | 1 + 1 file changed, 1 insertion(+) diff --git a/govuk_test.gemspec b/govuk_test.gemspec index bcbe9a9..2603e35 100644 --- a/govuk_test.gemspec +++ b/govuk_test.gemspec @@ -12,6 +12,7 @@ Gem::Specification.new do |spec| spec.description = %q{Test configuration and dependencies for applications on GOV.UK} spec.homepage = "https://github.com/alphagov/govuk_test" spec.license = "MIT" + spec.required_ruby_version = ">= 3.0" # Specify which files should be added to the gem when it is released. # The `git ls-files -z` loads the files in the RubyGem that have been added into git. From e0ecfd9c1d20529b805737d54e8f84b218ac7b9d Mon Sep 17 00:00:00 2001 From: Murilo Dal Ri Date: Fri, 24 Mar 2023 11:37:45 +0000 Subject: [PATCH 4/4] Update CHANGELOG.md Updates the CHANGELOG.md file to include the following changes: Drop support for Ruby 2.7. --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index dfa9c69..76dc96e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ useful summary for people upgrading their application, not a replication of the commit log. +## Unreleased + +* Drop support for Ruby 2.7. + ## 3.0.1 * Resolve Selenium deprecation warning on options argument by requiring higher minimum versions ([#44](https://github.com/alphagov/govuk_test/pull/44))