From 65f717cdc4fcda51a4b8ed7d9e969239e153faa7 Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin Date: Tue, 2 Jan 2024 18:58:07 +0800 Subject: [PATCH] Restore support for Ruby 3.0 --- .github/workflows/ci.yml | 8 ++++---- grape-swagger.gemspec | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 024771f4..0297d8d9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: GRAPE_VERSION: '1.7.1' strategy: matrix: - ruby-version: ['3.1', '3.2', '3.3', 'head'] + ruby-version: ['3.0', 3.1', '3.2', '3.3', 'head'] steps: - name: Check out branch uses: actions/checkout@v4 @@ -62,7 +62,7 @@ jobs: GRAPE_VERSION: '1.8.0' strategy: matrix: - ruby-version: ['3.1', '3.2', '3.3', 'head'] + ruby-version: ['3.0', 3.1', '3.2', '3.3', 'head'] steps: - name: Check out branch uses: actions/checkout@v4 @@ -94,7 +94,7 @@ jobs: GRAPE_VERSION: '2.0.0' strategy: matrix: - ruby-version: ['3.1', '3.2', '3.3', 'head'] + ruby-version: ['3.0', 3.1', '3.2', '3.3', 'head'] steps: - name: Check out branch uses: actions/checkout@v4 @@ -126,7 +126,7 @@ jobs: GRAPE_VERSION: 'HEAD' strategy: matrix: - ruby-version: ['3.1', '3.2', '3.3', 'head'] + ruby-version: ['3.0', 3.1', '3.2', '3.3', 'head'] steps: - name: Check out branch uses: actions/checkout@v4 diff --git a/grape-swagger.gemspec b/grape-swagger.gemspec index c4211a7a..80377959 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.1' + s.required_ruby_version = '>= 3.0' s.add_runtime_dependency 'grape', '>= 1.7', '< 3.0' s.add_runtime_dependency 'rack-test', '~> 2'