Skip to content

Commit

Permalink
Merge pull request #607 from Shopify/dependabot/bundler/minor-and-pat…
Browse files Browse the repository at this point in the history
…ch-16a03c4d06

Bump sorbet-static-and-runtime from 0.5.11553 to 0.5.11577 in the minor-and-patch group across 1 directory
  • Loading branch information
KaanOzkan authored Sep 26, 2024
2 parents 6024216 + fd3f77c commit 16bc1a5
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 22 deletions.
18 changes: 9 additions & 9 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ GEM
rdoc (6.6.3.1)
psych (>= 4.0.0)
regexp_parser (2.9.2)
reline (0.5.0)
reline (0.5.10)
io-console (~> 0.5)
rexml (3.3.6)
strscan
Expand All @@ -68,14 +68,14 @@ GEM
rubocop-sorbet (0.8.5)
rubocop (>= 1)
ruby-progressbar (1.13.0)
sorbet (0.5.11553)
sorbet-static (= 0.5.11553)
sorbet-runtime (0.5.11553)
sorbet-static (0.5.11553-universal-darwin)
sorbet-static (0.5.11553-x86_64-linux)
sorbet-static-and-runtime (0.5.11553)
sorbet (= 0.5.11553)
sorbet-runtime (= 0.5.11553)
sorbet (0.5.11577)
sorbet-static (= 0.5.11577)
sorbet-runtime (0.5.11577)
sorbet-static (0.5.11577-universal-darwin)
sorbet-static (0.5.11577-x86_64-linux)
sorbet-static-and-runtime (0.5.11577)
sorbet (= 0.5.11577)
sorbet-runtime (= 0.5.11577)
stringio (3.1.0)
strscan (3.1.0)
tapioca (0.16.2)
Expand Down
2 changes: 1 addition & 1 deletion lib/spoom/sorbet/metrics.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
module Spoom
module Sorbet
module MetricsParser
DEFAULT_PREFIX = "ruby_typer.unknown.."
DEFAULT_PREFIX = "ruby_typer.unknown."

class << self
extend T::Sig
Expand Down
13 changes: 3 additions & 10 deletions test/spoom/context/sorbet_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,10 @@ def test_context_run_srb_from_path
capture_err: true,
sorbet_bin: Spoom::Sorbet::BIN_PATH,
)
assert_equal(<<~OUT, result.err)
Typechecker for Ruby
assert_includes(result.err, <<~OUT)
Sorbet: A fast, powerful typechecker designed for Ruby
Usage:
sorbet [OPTION...] <path 1> <path 2> ...
-e string Parse an inline ruby string (default: "")
-q, --quiet Silence all non-critical errors
-v, --verbose Verbosity level [0-3]
-h Show short help
--help Show long help
--version Show version
sorbet [options] [[--] <path>...]
OUT
assert(result.status)
Expand Down
4 changes: 2 additions & 2 deletions test/spoom/sorbet/metrics_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ def test_parses_metrics
"uuid": "some-uuid",
"metrics": [
{
"name": "ruby_typer.unknown..error.total",
"name": "ruby_typer.unknown.error.total",
"value": 1
},
{
"name": "ruby_typer.unknown..types.input.sends.total",
"name": "ruby_typer.unknown.types.input.sends.total",
"value": 2094
}
]
Expand Down
1 change: 1 addition & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def spoom_gemfile
gemspec name: "spoom", path: "#{SPOOM_PATH}"
gem "tapioca"
gem "sorbet-static-and-runtime", "#{Sorbet::GEM_VERSION}"
gem "json", "2.7.2"
GEMFILE
end

Expand Down

0 comments on commit 16bc1a5

Please sign in to comment.