spoom
spoom copied to clipboard
Useful tools for Sorbet enthusiasts
Currently, `spoom` will swallow any error from Sorbet even if it's not a type checking error. For example, running this: ``` spoom tc --sorbet-options="--not-found" ``` Will fail silently. To solve...
Closes #127. Before this patch, we were listing, reading and checking _all_ the files (direct and in subdirs) we could find from the bump `directory`. This may be highly inefficient,...
**Describe the bug** Running `spoom bump` takes a very long time for us (>2 mins on a small codebase). Root cause is we use ActiveStorage, which in dev mode creates...
Running `bundle` locally on main is causing changes to `Gemfile.lock`: ``` spoom main % g diff diff --git a/Gemfile.lock b/Gemfile.lock index d0a6850..2cf1a68 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -40,8 +40,8...
Bumps the minor-and-patch group with 4 updates: [rubocop-sorbet](https://github.com/shopify/rubocop-sorbet), [minitest](https://github.com/minitest/minitest), [prism](https://github.com/ruby/prism) and [sorbet-static-and-runtime](https://github.com/sorbet/sorbet). Updates `rubocop-sorbet` from 0.7.8 to 0.8.0 Release notes Sourced from rubocop-sorbet's releases. v0.8.0 What's Changed [!NOTE] This version...
While working on https://github.com/Shopify/spoom/pull/504 I had no choice but to also include private methods as there is no way to know if a method is public or not currently from...
Either through `ignore_classes_inheriting_from` or through another form it would be great if this wasn't limited to a single level of inheritance.
**Describe the bug** Spoom ignores the `BUNDLE_PATH` when trying to bundle exec srb. **To Reproduce** Spoom version: 1.2.4 Steps to reproduce the behavior: 1. Set a BUNDLE_PATH 2. Run `bundle...
Sorbet now has a built in flag that tracks untyped calls: https://github.com/sorbet/sorbet/pull/6919 [sorbet.run](https://sorbet.run/?arg=--track-untyped&arg=--print=file-table-json#%23%20typed%3A%20true%0Aextend%20T%3A%3ASig%0A%0Asig%20%7B%20params%28arg0%3A%20T.untyped%29.returns%28Integer%29%20%7D%0Adef%20example_untyped%28arg0%29%0A%20%20result%20%3D%20arg0.foo%0A%0A%20%20if%20result%0A%20%20%20%20puts%28result%29%0A%20%20end%0A%0A%20%20result%0Aend) We currently get a similar metric in a snapshot by subtracting the typed calls from all calls....
* Make plugin ignore classes that inherit from `Minitest::Test` instead of those ending with `Test` * Modified the `on_define_method` method to ignore methods starting with `test_` or included in the...