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 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 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)) 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.