From e36a19a270454e6aecba0376ee80bebe9c0add92 Mon Sep 17 00:00:00 2001 From: Marc Anguera Date: Tue, 8 Oct 2024 11:07:59 +0200 Subject: [PATCH] Remove official support for Ruby 2.5 and 2.6 (#388) --- .github/workflows/ci.yml | 8 ++++++-- Gemfile | 5 +++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3034d7e..c62e455 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,10 @@ name: CI -on: [push] +on: + push: + branches: [master] + pull_request: + branches: [master] jobs: test: @@ -9,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - ruby-version: ["3.3", "3.2", "3.1", "3.0", "2.7", "2.6", "2.5"] + ruby-version: ["3.3", "3.2", "3.1", "3.0", "2.7"] steps: - uses: actions/checkout@v4 - name: Set up Ruby diff --git a/Gemfile b/Gemfile index 0f16a17..b42795c 100644 --- a/Gemfile +++ b/Gemfile @@ -15,13 +15,14 @@ gem 'yard', '~> 0.9', require: false # Test tools gem 'aruba', '~> 1.0', require: false gem 'capybara', '~> 3', require: false -gem 'cucumber', '~> 3.0', require: false +gem 'cucumber', require: false gem 'rspec', '~> 3.0', require: false gem 'timecop', '~> 0.6', require: false # Optional dependencies, included for tests gem 'kramdown' -gem 'nokogiri', RUBY_VERSION < '2.6' ? '~> 1.12.0' : '>= 0', require: false +gem 'rack', '< 3' +gem 'activesupport', RUBY_VERSION < '3.1' ? '< 7.1' : '>= 0' # Code Quality gem 'rubocop', require: false