lib/tapioca/helpers/sorbet_helper.rb in tapioca-0.8.3 vs lib/tapioca/helpers/sorbet_helper.rb in tapioca-0.9.0

- old
+ new

@@ -1,11 +1,8 @@ # typed: strict # frozen_string_literal: true -require "pathname" -require "shellwords" - module Tapioca module SorbetHelper extend T::Sig SORBET_GEM_SPEC = T.let( @@ -17,9 +14,11 @@ Pathname.new(SORBET_GEM_SPEC.full_gem_path) / "libexec" / "sorbet", Pathname ) 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