Skip to content

Commit

Permalink
Merge pull request #296 from Shopify/dependabot/bundler/gem/minor-and…
Browse files Browse the repository at this point in the history
…-patch-eeccf6bb2e

Bump the minor-and-patch group in /gem with 5 updates
  • Loading branch information
github-actions[bot] authored Dec 2, 2024
2 parents 12762cc + 5908c31 commit 0879f89
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 41 deletions.
40 changes: 21 additions & 19 deletions gem/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,19 @@ GEM
irb (1.12.0)
rdoc
reline (>= 0.4.2)
json (2.7.5)
json-schema (5.0.1)
json (2.8.2)
json-schema (5.1.0)
addressable (~> 2.8)
language_server-protocol (3.17.0.3)
minitest (5.25.1)
minitest (5.25.2)
minitest-reporters (1.7.1)
ansi
builder
minitest (>= 5.0)
ruby-progressbar
netrc (0.11.0)
parallel (1.26.3)
parser (3.3.5.1)
parser (3.3.6.0)
ast (~> 2.4.1)
racc
prism (1.2.0)
Expand All @@ -57,41 +57,41 @@ GEM
sorbet-runtime (>= 0.5.9204)
rdoc (6.6.3.1)
psych (>= 4.0.0)
regexp_parser (2.9.2)
regexp_parser (2.9.3)
reline (0.5.0)
io-console (~> 0.5)
rubocop (1.68.0)
rubocop (1.69.0)
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 (>= 2.4, < 3.0)
rubocop-ast (>= 1.32.2, < 2.0)
rubocop-ast (>= 1.36.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.33.0)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.36.2)
parser (>= 3.3.1.0)
rubocop-shopify (2.15.1)
rubocop (~> 1.51)
rubocop-sorbet (0.8.7)
rubocop (>= 1)
ruby-progressbar (1.13.0)
sorbet (0.5.11630)
sorbet-static (= 0.5.11630)
sorbet-runtime (0.5.11630)
sorbet-static (0.5.11630-universal-darwin)
sorbet-static (0.5.11630-x86_64-linux)
sorbet-static-and-runtime (0.5.11630)
sorbet (= 0.5.11630)
sorbet-runtime (= 0.5.11630)
sorbet (0.5.11670)
sorbet-static (= 0.5.11670)
sorbet-runtime (0.5.11670)
sorbet-static (0.5.11670-universal-darwin)
sorbet-static (0.5.11670-x86_64-linux)
sorbet-static-and-runtime (0.5.11670)
sorbet (= 0.5.11670)
sorbet-runtime (= 0.5.11670)
spoom (1.5.0)
erubi (>= 1.10.0)
prism (>= 0.28.0)
sorbet-static-and-runtime (>= 0.5.10187)
thor (>= 0.19.2)
stringio (3.1.0)
tapioca (0.16.3)
tapioca (0.16.5)
bundler (>= 2.2.25)
netrc (>= 0.11.0)
parallel (>= 1.21.0)
Expand All @@ -101,7 +101,9 @@ GEM
thor (>= 1.2.0)
yard-sorbet
thor (1.3.2)
unicode-display_width (2.6.0)
unicode-display_width (3.1.2)
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
yard (0.9.37)
yard-sorbet (0.9.0)
sorbet-runtime
Expand Down
19 changes: 9 additions & 10 deletions gem/test/rbi-central/cli/check_index_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ class CheckIndexTest < TestWithRepo
def test_index_valid
@repo.write_index!(<<~JSON)
{
"gem1": {
}
"gem1": {}
}
JSON
@repo.write_annotations_file!("gem1", "<rbi>")
Expand Down Expand Up @@ -66,15 +65,15 @@ def test_index_with_other_errors
Error: Formatting errors found in `index.json`:
--- expected
+++ index.json
@@ -1,8 +1,7 @@
@@ -1,5 +1,7 @@
{
"gem1": {
},
- "gem2": {
- },
+ "gem2": {},
"gem3": {
}
- "gem1": {},
+ "gem1": {
+ },
"gem2": {},
- "gem3": {}
+ "gem3": {
+ }
}
Some checks failed. See above for details.
Expand Down
9 changes: 3 additions & 6 deletions gem/test/rbi-central/cli/check_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,8 @@ def test_check_index_modified
@repo.git_commit!
@repo.write_index!(<<~JSON)
{
"gem1": {
},
"gem2": {
}
"gem1": {},
"gem2": {}
}
JSON
res = @repo.repo("check --no-rubocop --no-runtime --no-static")
Expand Down Expand Up @@ -238,8 +236,7 @@ def test_check_index_modified
ERR
refute(res.status)
@repo.write_index!(<<~JSON)
{
}
{}
JSON
res = @repo.repo("check --no-rubocop --no-runtime --no-static")
assert_equal(<<~ERR, RBICentral.filter_parser_warning(T.must(res.err)))
Expand Down
3 changes: 1 addition & 2 deletions gem/test/rbi-central/index_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ def test_to_formatted_json
})
assert_equal(<<~JSON, index.to_formatted_json)
{
"gem1": {
},
"gem1": {},
"gem2": {
"dependencies": [
"a",
Expand Down
6 changes: 2 additions & 4 deletions gem/test/rbi-central/repo_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,9 @@ def test_check_index_format
Formatting errors found in `index.json`:
--- expected
+++ index.json
@@ -1,13 +1,7 @@
@@ -1,12 +1,7 @@
{
- "gem1": {
- },
+ "gem1": {},
"gem1": {},
"gem2": {
- "dependencies": [
- "a",
Expand Down

0 comments on commit 0879f89

Please sign in to comment.