lib/tapioca/helpers/sorbet_helper.rb in tapioca-0.10.2 vs lib/tapioca/helpers/sorbet_helper.rb in tapioca-0.10.3
- old
+ new
@@ -18,12 +18,10 @@
SORBET_EXE_PATH_ENV_VAR = "TAPIOCA_SORBET_EXE"
SORBET_PAYLOAD_URL = "https://github.com/sorbet/sorbet/tree/master/rbi"
FEATURE_REQUIREMENTS = T.let({
- to_ary_nil_support: ::Gem::Requirement.new(">= 0.5.9220"), # https://github.com/sorbet/sorbet/pull/4706
- print_payload_sources: ::Gem::Requirement.new(">= 0.5.9818"), # https://github.com/sorbet/sorbet/pull/5504
- type_variable_block_syntax: ::Gem::Requirement.new(">= 0.5.9892"), # https://github.com/sorbet/sorbet/pull/5639
+ # feature_name: ::Gem::Requirement.new(">= ___"), # https://github.com/sorbet/sorbet/pull/___
}.freeze, T::Hash[Symbol, ::Gem::Requirement])
sig { params(sorbet_args: String).returns(Spoom::ExecResult) }
def sorbet(*sorbet_args)
Spoom::Sorbet.srb(sorbet_args.join(" "), sorbet_bin: sorbet_path, capture_err: true)