srb init has been deprecated in favour of tapioca [1], so switch to that at the same time. A few small code changes are included as well, to keep the new version of sorbet happy.
Sadly, I had to revert a few files from typed: strict back to typed: true. These have constants and the workaround from [2] no longer works in the new sorbet version.
Also required not loading sorbet on ruby < 3.0. Seems like sometime between 0.5.10001 and 0.5.10821 sorbet changed to only supporting ruby 3.0+
srb init
has been deprecated in favour of tapioca [1], so switch to that at the same time. A few small code changes are included as well, to keep the new version of sorbet happy.Sadly, I had to revert a few files from
typed: strict
back totyped: true
. These have constants and the workaround from [2] no longer works in the new sorbet version.Also required not loading sorbet on ruby < 3.0. Seems like sometime between
0.5.10001
and0.5.10821
sorbet changed to only supporting ruby 3.0+[1] https://sorbet.org/blog/2022/07/27/srb-tapioca [2] https://github.com/sorbet/sorbet/issues/5137