From 8aa342c9d48decf5d207bdb8a031be59abf84330 Mon Sep 17 00:00:00 2001 From: peter scholz Date: Fri, 29 Dec 2023 11:03:59 +0100 Subject: [PATCH] Support Ruby 3.3 (#914) * Adds ruby 3.3 to Actions. * Adds CHANGELOG entry. --- .github/workflows/ci.yml | 10 +++++----- .rubocop.yml | 2 +- CHANGELOG.md | 4 +++- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d6820d5e..024771f4 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 @@ -30,7 +30,7 @@ jobs: GRAPE_VERSION: '1.7.1' strategy: matrix: - ruby-version: ['3.1', '3.2', 'head'] + ruby-version: ['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', 'head'] + ruby-version: ['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', 'head'] + ruby-version: ['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', 'head'] + ruby-version: ['3.1', '3.2', '3.3', 'head'] steps: - name: Check out branch uses: actions/checkout@v4 diff --git a/.rubocop.yml b/.rubocop.yml index 7b2bf145..9930e560 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -6,7 +6,7 @@ AllCops: - example/**/* UseCache: true NewCops: enable - TargetRubyVersion: 3.2 + TargetRubyVersion: 3.3 SuggestExtensions: false # Layout stuff diff --git a/CHANGELOG.md b/CHANGELOG.md index 1dae029b..356a3042 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,12 +4,14 @@ * Your contribution here. +* [#914](https://github.com/ruby-grape/grape-swagger/pull/914): Support Ruby 3.3 - [@LeFnord](https://github.com/LeFnord) + #### Fixes * Your contribution here. -### 2.0.0 (November7, 2023) +### 2.0.0 (November 7, 2023) #### Features