From 83c4cc9c9e2f9f93df8b61552c233677b3e4b717 Mon Sep 17 00:00:00 2001 From: LeFnord Date: Tue, 7 Jan 2025 22:45:50 +0100 Subject: [PATCH] Drop ruby 3.0 --- .github/workflows/ci.yml | 26 +++++++++++++------------- grape-swagger.gemspec | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e68f6dae..c31a71a5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: - ruby-version: '3.3' + ruby-version: '3.4' bundler-cache: true - name: Run rubocop run: bundle exec rubocop --parallel --format progress @@ -26,36 +26,36 @@ jobs: strategy: matrix: entry: - - { ruby: '3.0', grape: '1.7.1' } - { ruby: '3.1', grape: '1.7.1' } - { ruby: '3.2', grape: '1.7.1' } - { ruby: '3.3', grape: '1.7.1' } - - { ruby: 'head', grape: '1.7.1' } - - { ruby: '3.0', grape: '1.8.0' } + - { ruby: '3.4', grape: '1.7.1' } + # - { ruby: 'head', grape: '1.7.1' } - { ruby: '3.1', grape: '1.8.0' } - { ruby: '3.2', grape: '1.8.0' } - { ruby: '3.3', grape: '1.8.0' } - - { ruby: 'head', grape: '1.8.0' } - - { ruby: '3.0', grape: '2.0.0' } + - { ruby: '3.4', grape: '1.8.0' } + # - { ruby: 'head', grape: '1.8.0' } - { ruby: '3.1', grape: '2.0.0' } - { ruby: '3.2', grape: '2.0.0' } - { ruby: '3.3', grape: '2.0.0' } - - { ruby: 'head', grape: '2.0.0' } - - { ruby: '3.0', grape: '2.1.3' } + - { ruby: '3.4', grape: '2.0.0' } + # - { ruby: 'head', grape: '2.0.0' } - { ruby: '3.1', grape: '2.1.3' } - { ruby: '3.2', grape: '2.1.3' } - { ruby: '3.3', grape: '2.1.3' } - - { ruby: 'head', grape: '2.1.3' } - - { ruby: '3.0', grape: '2.2.0' } + - { ruby: '3.4', grape: '2.1.3' } + # - { ruby: 'head', grape: '2.1.3' } - { ruby: '3.1', grape: '2.2.0' } - { ruby: '3.2', grape: '2.2.0' } - { ruby: '3.3', grape: '2.2.0' } - - { ruby: 'head', grape: '2.2.0' } - - { ruby: '3.0', grape: 'HEAD' } + - { ruby: '3.4', grape: '2.2.0' } + # - { ruby: 'head', grape: '2.2.0' } - { ruby: '3.1', grape: 'HEAD' } - { ruby: '3.2', grape: 'HEAD' } - { ruby: '3.3', grape: 'HEAD' } - - { ruby: 'head', grape: 'HEAD' } + - { ruby: '3.4', grape: 'HEAD' } + # - { ruby: 'head', grape: 'HEAD' } name: test (ruby=${{ matrix.entry.ruby }}, grape=${{ matrix.entry.grape }}) runs-on: ubuntu-latest needs: ['rubocop'] diff --git a/grape-swagger.gemspec b/grape-swagger.gemspec index cd6c693f..c8007a0c 100644 --- a/grape-swagger.gemspec +++ b/grape-swagger.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |s| s.metadata['rubygems_mfa_required'] = 'true' - s.required_ruby_version = '>= 3.0' + s.required_ruby_version = '>= 3.1' s.add_dependency 'grape', '>= 1.7', '< 3.0' s.add_dependency 'rack-test', '~> 2'