From afeb225111bf928be77385a6a43ad06c6efc3691 Mon Sep 17 00:00:00 2001 From: Sean Doyle Date: Thu, 29 Feb 2024 07:29:33 -0500 Subject: [PATCH] Drop support for Ruby 2.7 Drop support for [End of Life version 2.7][eol]. Exclude `ruby@3.0` and `rails@main`. Drop development depdendency on `webdrivers` in favor of `selenium-webdriver@4.11`'s support for installing drivers. [eol]: https://www.ruby-lang.org/en/downloads/branches/ --- .github/workflows/ci.yml | 6 +++++- CHANGELOG.md | 4 ++++ Gemfile | 1 - 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac27b5d..98c60c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,14 +9,17 @@ jobs: fail-fast: false matrix: ruby-version: - - "2.7" - "3.0" - "3.1" - "3.2" rails-version: + - "7.1" - "7.0" - "6.1" - "main" + exclude: + - ruby-version: "3.0" + rails-version: "main" env: RAILS_VERSION: ${{ matrix.rails-version }} @@ -32,6 +35,7 @@ jobs: bundler-cache: true - run: bin/rails standard + if: ${{ ruby-version }} != "3.2" - run: bin/rails test:all - run: bundle exec rspec - run: RSPEC_TYPE=feature bundle exec rspec diff --git a/CHANGELOG.md b/CHANGELOG.md index a71b769..4d073f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +- Drop support for [End of Life version 2.7](https://www.ruby-lang.org/en/downloads/branches/) + + *Sean Doyle* + ## 0.1.1 (September 26, 2023) - Support Capybara's modal block helpers like [accept_alert][] diff --git a/Gemfile b/Gemfile index e3f4fc8..2a4c381 100644 --- a/Gemfile +++ b/Gemfile @@ -21,4 +21,3 @@ gem "rspec-rails" gem "puma" gem "standard", "~> 1.12" gem "selenium-webdriver" -gem "webdrivers"