From 87854b38994da6e3f9fc01bed1e30af3eaad1b94 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Sep 2026 21:52:43 +0000 Subject: [PATCH 1/2] Bump the minor-and-patch group with 2 updates Bumps the minor-and-patch group with 2 updates: [rubocop-sorbet](https://github.com/shopify/rubocop-sorbet) and [sorbet-static-and-runtime](https://github.com/sorbet/sorbet). Updates `rubocop-sorbet` from 0.15.0 to 0.16.0 - [Release notes](https://github.com/shopify/rubocop-sorbet/releases) - [Commits](https://github.com/shopify/rubocop-sorbet/compare/v0.15.0...v0.16.0) Updates `sorbet-static-and-runtime` from 0.6.13454 to 0.6.13486 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) --- updated-dependencies: - dependency-name: rubocop-sorbet dependency-version: 0.16.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: sorbet-static-and-runtime dependency-version: 0.6.13486 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index ed566b56..c43d6eb2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -29,7 +29,7 @@ GEM pp (>= 0.6.0) rdoc (>= 4.0.0) reline (>= 0.4.2) - json (2.21.2) + json (3.0.0) language_server-protocol (3.17.0.6) lint_roller (1.1.0) logger (1.7.0) @@ -43,7 +43,7 @@ GEM minitest (>= 5.0, < 7) ruby-progressbar netrc (0.11.0) - parallel (2.1.0) + parallel (2.2.0) parser (3.3.12.0) ast (~> 2.4.1) racc @@ -94,7 +94,7 @@ GEM rubocop-shopify (3.0.2) lint_roller rubocop (~> 1.72, >= 1.72.1) - rubocop-sorbet (0.15.0) + rubocop-sorbet (0.16.0) lint_roller rbi (~> 0.4) rubocop (>= 1.75.2) @@ -103,14 +103,14 @@ GEM rubydex (0.2.6-arm64-darwin) rubydex (0.2.6-x86_64-darwin) rubydex (0.2.6-x86_64-linux) - sorbet (0.6.13454) - sorbet-static (= 0.6.13454) - sorbet-runtime (0.6.13454) - sorbet-static (0.6.13454-universal-darwin) - sorbet-static (0.6.13454-x86_64-linux) - sorbet-static-and-runtime (0.6.13454) - sorbet (= 0.6.13454) - sorbet-runtime (= 0.6.13454) + sorbet (0.6.13486) + sorbet-static (= 0.6.13486) + sorbet-runtime (0.6.13486) + sorbet-static (0.6.13486-universal-darwin) + sorbet-static (0.6.13486-x86_64-linux) + sorbet-static-and-runtime (0.6.13486) + sorbet (= 0.6.13486) + sorbet-runtime (= 0.6.13486) stringio (3.2.0) tapioca (0.19.2) benchmark From 2dd4f80d485543bd036dda92c6941410f8bdb90e Mon Sep 17 00:00:00 2001 From: Alexandre Terrasa Date: Wed, 9 Sep 2026 15:28:12 -0400 Subject: [PATCH 2/2] Make LSP diagnostics test order independent --- test/spoom/cli/srb/lsp_test.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/spoom/cli/srb/lsp_test.rb b/test/spoom/cli/srb/lsp_test.rb index 2c1baa6d..53a4b824 100644 --- a/test/spoom/cli/srb/lsp_test.rb +++ b/test/spoom/cli/srb/lsp_test.rb @@ -35,7 +35,7 @@ def foo(a) Bar.new.bar RB result = @project.spoom("srb lsp --no-color find Foo") - assert_equal(<<~MSG, result.err) + expected_lines = <<~MSG.lines Error: Sorbet returned typechecking errors for `/errors.rb` 8:11-8:11: Not enough arguments provided for method `Foo#foo`. Expected: `1`, got: `0` (7004) 3:2-3:5: Method `sig` does not exist on `T.class_of(Foo)` (fix available) (7003) @@ -43,6 +43,9 @@ def foo(a) 5:2-5:5: Expected `String` but found `NilClass` for method result type (7005) 9:0-9:3: Unable to resolve constant `Bar` (fix available) (5002) MSG + actual_lines = result.err&.lines || [] + assert_equal(expected_lines.first, actual_lines.first) + assert_equal(expected_lines.drop(1).sort, actual_lines.drop(1).sort) end # Defs