From 032f64c7bb937981e65dff0473855eeb2cb4b9f4 Mon Sep 17 00:00:00 2001 From: LeFnord Date: Wed, 10 Apr 2024 15:42:38 +0200 Subject: [PATCH] Aligns ruby version with other gems. - min version is now: 3.0 - add 3.3 to CI --- .github/workflows/ci.yml | 4 ++-- grape-entity.gemspec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f056506..bc5d84d 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.2' + ruby-version: '3.3' bundler-cache: true - name: Run rubocop run: bundle exec rubocop --parallel --format progress @@ -28,7 +28,7 @@ jobs: needs: ['rubocop'] strategy: matrix: - ruby-version: ['3.0', '3.1', '3.2', '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-entity.gemspec b/grape-entity.gemspec index 8e7de26..f6fc2be 100644 --- a/grape-entity.gemspec +++ b/grape-entity.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |s| s.description = 'Extracted from Grape, A Ruby framework for rapid API development with great conventions.' s.license = 'MIT' - s.required_ruby_version = '>= 2.7' + s.required_ruby_version = '>= 3.0' s.add_runtime_dependency 'activesupport', '>= 3.0.0' # FIXME: remove dependecy