From ac24681700992732af8d3b74d4b4111d0b82dbbd Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Thu, 7 Nov 2024 10:44:33 -0500 Subject: [PATCH 1/7] Add `arm64-darwin-24` to bundle platforms --- Gemfile.lock | 1 + 1 file changed, 1 insertion(+) diff --git a/Gemfile.lock b/Gemfile.lock index 6d53e8a..c2b2b39 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -59,6 +59,7 @@ GEM PLATFORMS arm64-darwin-22 arm64-darwin-23 + arm64-darwin-24 x86_64-linux DEPENDENCIES From 8ebf9c2b33b79624f4677181b772994c6abaf0b8 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Thu, 7 Nov 2024 10:45:07 -0500 Subject: [PATCH 2/7] Update parser to version 3.3.6.0 --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index c2b2b39..313d3a1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -18,7 +18,7 @@ GEM method_source (1.1.0) minitest (5.25.1) parallel (1.26.3) - parser (3.3.5.1) + parser (3.3.6.0) ast (~> 2.4.1) racc racc (1.8.1) From a011c6eb8910c0ee490bae3071bb4bfd8b394363 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Thu, 7 Nov 2024 10:45:45 -0500 Subject: [PATCH 3/7] Use bundler version 2.5.23 --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 313d3a1..7a4ea1f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -70,4 +70,4 @@ DEPENDENCIES standard-custom! BUNDLED WITH - 2.5.22 + 2.5.23 From bd435dc8a30e0bc15e3c63b41c079140057c5049 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Thu, 7 Nov 2024 10:51:33 -0500 Subject: [PATCH 4/7] Update standard to version 1.41.1 --- Gemfile.lock | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 7a4ea1f..8e5b2bc 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -9,7 +9,7 @@ GEM remote: https://rubygems.org/ specs: ast (2.4.2) - json (2.7.5) + json (2.8.1) language_server-protocol (3.17.0.3) lint_roller (1.1.0) m (1.6.2) @@ -25,35 +25,31 @@ GEM rainbow (3.1.1) rake (13.2.1) regexp_parser (2.9.2) - rexml (3.3.0) - strscan - rubocop (1.64.1) + rubocop (1.66.1) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) 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.31.1, < 2.0) + regexp_parser (>= 2.4, < 3.0) + rubocop-ast (>= 1.32.2, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.31.3) + rubocop-ast (1.34.0) parser (>= 3.3.1.0) - rubocop-performance (1.21.1) + rubocop-performance (1.22.1) rubocop (>= 1.48.1, < 2.0) rubocop-ast (>= 1.31.1, < 2.0) ruby-progressbar (1.13.0) - standard (1.37.0) + standard (1.41.1) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.0) - rubocop (~> 1.64.0) + rubocop (~> 1.66.0) standard-custom (~> 1.0.0) - standard-performance (~> 1.4) - standard-performance (1.4.0) + standard-performance (~> 1.5) + standard-performance (1.5.0) lint_roller (~> 1.1) - rubocop-performance (~> 1.21.0) - strscan (3.1.0) + rubocop-performance (~> 1.22.0) unicode-display_width (2.6.0) PLATFORMS From 6f2c67334d84ed6565dd08414b1303159c5d6bb8 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Thu, 7 Nov 2024 11:35:07 -0500 Subject: [PATCH 5/7] Update `actions/checkout` to v4 (node 16->20) --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b4d0016..b561d3e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Ruby ${{ matrix.ruby-version }} uses: ruby/setup-ruby@v1 with: From a2e55f31bfd88d6c394f97a6cf9b7ddd66ac6398 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Thu, 7 Nov 2024 11:45:19 -0500 Subject: [PATCH 6/7] Add simplecov configuration --- Gemfile | 5 +++-- Gemfile.lock | 8 ++++++++ test/test_helper.rb | 8 ++++++++ 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index 5521082..687403b 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,8 @@ source "https://rubygems.org" gemspec -gem "rake" +gem "m" gem "minitest" +gem "rake" +gem "simplecov" gem "standard" -gem "m" diff --git a/Gemfile.lock b/Gemfile.lock index 8e5b2bc..a33c2c5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -9,6 +9,7 @@ GEM remote: https://rubygems.org/ specs: ast (2.4.2) + docile (1.4.1) json (2.8.1) language_server-protocol (3.17.0.3) lint_roller (1.1.0) @@ -41,6 +42,12 @@ GEM rubocop (>= 1.48.1, < 2.0) rubocop-ast (>= 1.31.1, < 2.0) ruby-progressbar (1.13.0) + simplecov (0.22.0) + docile (~> 1.1) + simplecov-html (~> 0.11) + simplecov_json_formatter (~> 0.1) + simplecov-html (0.13.1) + simplecov_json_formatter (0.1.4) standard (1.41.1) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.0) @@ -62,6 +69,7 @@ DEPENDENCIES m minitest rake + simplecov standard standard-custom! diff --git a/test/test_helper.rb b/test/test_helper.rb index 96a1eb5..fb82b95 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,4 +1,12 @@ $LOAD_PATH.unshift File.expand_path("../lib", __dir__) +begin + require "simplecov" + SimpleCov.start do + load_profile "test_frameworks" + end +rescue LoadError +end + require "standard/custom" require "minitest/autorun" From 46341092e96ba66a29e216baa42b48824630d33c Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Fri, 8 Nov 2024 15:52:53 -0500 Subject: [PATCH 7/7] Update rubocop-ast to version 1.34.1 --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index a33c2c5..2c9ada0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -36,7 +36,7 @@ GEM rubocop-ast (>= 1.32.2, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.34.0) + rubocop-ast (1.34.1) parser (>= 3.3.1.0) rubocop-performance (1.22.1) rubocop (>= 1.48.1, < 2.0)