From d4b89008a2b64d9793e8e005283abb334fd645a8 Mon Sep 17 00:00:00 2001 From: Faisal N Jawdat Date: Fri, 17 Jan 2025 21:12:30 +0000 Subject: [PATCH] Update CI harness include and use Ruby 3.4. (#501) --- .github/workflows/main.yml | 6 +++++- CHANGELOG.md | 3 ++- rubycritic.gemspec | 2 ++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d3abeba6..d5725091 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,6 +32,7 @@ jobs: - '3.1' - '3.2' - '3.3' + - '3.4' experimental: [false] include: - ruby-version: 'ruby-head' @@ -61,6 +62,7 @@ jobs: - '3.1' - '3.2' - '3.3' + - '3.4' experimental: [false] include: - ruby-version: 'ruby-head' @@ -90,6 +92,7 @@ jobs: - '3.1' - '3.2' - '3.3' + - '3.4' experimental: [false] include: - ruby-version: 'ruby-head' @@ -119,6 +122,7 @@ jobs: - '3.1' - '3.2' - '3.3' + - '3.4' experimental: [false] include: - ruby-version: 'ruby-head' @@ -146,7 +150,7 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: '3.3' + ruby-version: '3.4' bundler-cache: true cache-version: 1 - name: Run markdownlint diff --git a/CHANGELOG.md b/CHANGELOG.md index ad819a71..5e9ad6e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # main [(unreleased)](https://github.com/whitesmith/rubycritic/compare/v4.9.1...main) -* [CHANGE] Add .solargraph.yml config file to enable Solargraph LSP use in editors such as BBedit (by [@faisal]) +* [CHANGE] Add ostruct and rdoc development dependencies, needed for Ruby 3.5 support (by [@faisal][]) +* [CHANGE] Add .solargraph.yml config file to enable Solargraph LSP use in editors such as BBedit (by [@faisal][]) * [CHANGE] Drop support for Ruby 3.0.x (by [@faisal][]) * [CHANGE] Bump minitest, mocha, rubocop dependencies (by [@faisal][]) * [CHANGE] Drop support for Ruby 2.7.x (by [@faisal][]) diff --git a/rubycritic.gemspec b/rubycritic.gemspec index ca118b9b..79e1b2b9 100644 --- a/rubycritic.gemspec +++ b/rubycritic.gemspec @@ -56,7 +56,9 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'minitest', '~> 5.25.2', '>= 5.3.0' spec.add_development_dependency 'minitest-around', '~> 0.5.0', '>= 0.4.0' spec.add_development_dependency 'mocha', '~> 2.6.1' + spec.add_development_dependency 'ostruct' spec.add_development_dependency 'rake', '~> 13.2.0', '>= 11.0.0' + spec.add_development_dependency 'rdoc' spec.add_development_dependency 'rexml', '>= 3.2.0' spec.add_development_dependency 'rubocop', '~> 1.69.0', '>= 1.54.0' spec.add_development_dependency 'rubocop-minitest'