From 3825faa821d5d33f5ea04e5136f483e9416873c7 Mon Sep 17 00:00:00 2001 From: Jesse Shawl Date: Sun, 4 Feb 2024 13:36:41 -0600 Subject: [PATCH 1/3] test against ruby 3.3 --- .github/workflows/ruby.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 9cf298c..df5ce28 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby-version: ['2.7'] + ruby-version: ['2.7', '3.3'] steps: - uses: actions/checkout@v3 From 66b5416e9fdb3e154bb9b957f8383fd2c76b0228 Mon Sep 17 00:00:00 2001 From: Jesse Shawl Date: Sun, 4 Feb 2024 13:37:53 -0600 Subject: [PATCH 2/3] unpin ruby/setup-ruby --- .github/workflows/ruby.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index df5ce28..72c1dcc 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -27,10 +27,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Set up Ruby - # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby, - # change this to (see https://github.com/ruby/setup-ruby#versioning): - # uses: ruby/setup-ruby@v1 - uses: ruby/setup-ruby@2b019609e2b0f1ea1a2bc8ca11cb82ab46ada124 + uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true # runs 'bundle install' and caches installed gems automatically From 73f9580ab1d2146a10ddcac60cc5771bd611377b Mon Sep 17 00:00:00 2001 From: Jesse Shawl Date: Sun, 4 Feb 2024 13:44:38 -0600 Subject: [PATCH 3/3] update rubocop --- Gemfile | 2 +- Gemfile.lock | 32 +++++++++++++++++++------------- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/Gemfile b/Gemfile index 5adc273..f877f0c 100644 --- a/Gemfile +++ b/Gemfile @@ -3,7 +3,7 @@ source 'https://rubygems.org' gem 'rspec', '~> 3.1' -gem 'rubocop', '~> 1.30' +gem 'rubocop', '~> 1.60' gem 'rubocop-rspec', '~> 2.10' gem 'simplecov', '~> 0.21', require: false gemspec diff --git a/Gemfile.lock b/Gemfile.lock index d50c08d..eb8bce6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -13,14 +13,18 @@ GEM docile (1.4.0) ed25519 (1.3.0) ffi (1.16.3) - parallel (1.22.1) - parser (3.1.2.0) + json (2.7.1) + language_server-protocol (3.17.0.3) + parallel (1.24.0) + parser (3.3.0.5) ast (~> 2.4.1) + racc + racc (1.7.3) rainbow (3.1.1) rbnacl (7.1.1) ffi - regexp_parser (2.5.0) - rexml (3.2.5) + regexp_parser (2.9.0) + rexml (3.2.6) rspec (3.11.0) rspec-core (~> 3.11.0) rspec-expectations (~> 3.11.0) @@ -34,27 +38,29 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.11.0) rspec-support (3.11.0) - rubocop (1.30.0) + rubocop (1.60.2) + json (~> 2.3) + language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.1.0.0) + parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.18.0, < 2.0) + rubocop-ast (>= 1.30.0, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 3.0) - rubocop-ast (1.18.0) - parser (>= 3.1.1.0) + unicode-display_width (>= 2.4.0, < 3.0) + rubocop-ast (1.30.0) + parser (>= 3.2.1.0) rubocop-rspec (2.11.1) rubocop (~> 1.19) - ruby-progressbar (1.11.0) + ruby-progressbar (1.13.0) simplecov (0.21.2) docile (~> 1.1) simplecov-html (~> 0.11) simplecov_json_formatter (~> 0.1) simplecov-html (0.12.3) simplecov_json_formatter (0.1.4) - unicode-display_width (2.1.0) + unicode-display_width (2.5.0) PLATFORMS ruby @@ -62,7 +68,7 @@ PLATFORMS DEPENDENCIES minisign! rspec (~> 3.1) - rubocop (~> 1.30) + rubocop (~> 1.60) rubocop-rspec (~> 2.10) simplecov (~> 0.21)