From 830ed9e53ddfb70e37beb3ee9726297463f3fb02 Mon Sep 17 00:00:00 2001 From: Pablo Herrero Date: Sat, 27 Jul 2024 00:56:35 -0300 Subject: [PATCH] Remove support for Ruby 2.x --- .github/workflows/tests.yml | 4 ++-- pathway.gemspec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d9ee418..644e091 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby-version: [2.6, 2.7, 3.0, 3.1, 3.2, 3.3] + ruby-version: [3.0, 3.1, 3.2, 3.3] steps: - uses: actions/checkout@v3 - name: Set up Ruby @@ -23,7 +23,7 @@ jobs: - name: Run tests run: bundle exec rake - name: Coveralls GitHub Action - if: matrix.ruby-version == '3.2' + if: matrix.ruby-version == '3.3' uses: coverallsapp/github-action@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/pathway.gemspec b/pathway.gemspec index bf6fe98..0cb9f81 100644 --- a/pathway.gemspec +++ b/pathway.gemspec @@ -27,7 +27,7 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] - spec.required_ruby_version = ">= 2.4.0" + spec.required_ruby_version = ">= 3.0.0" spec.add_dependency "dry-inflector", ">= 0.1.0" spec.add_dependency "contextualizer", "~> 0.0.4"