From db8bff7a5c68f8f97943454e785b557999429152 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 18 Jul 2025 16:14:56 +0000 Subject: [PATCH] Update RBI files for all. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- ...{rubocop@1.77.0.rbi => rubocop@1.78.0.rbi} | 114 +++++---- ...uby-lsp@0.24.2.rbi => ruby-lsp@0.25.0.rbi} | 0 .../sorbet/rbi/gems/simplecov-html@0.13.1.rbi | 220 ------------------ .../sorbet/rbi/gems/simplecov-html@0.13.2.rbi | 96 ++++++++ ...{tapioca@0.17.6.rbi => tapioca@0.17.7.rbi} | 0 5 files changed, 149 insertions(+), 281 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{rubocop@1.77.0.rbi => rubocop@1.78.0.rbi} (98%) rename Library/Homebrew/sorbet/rbi/gems/{ruby-lsp@0.24.2.rbi => ruby-lsp@0.25.0.rbi} (100%) delete mode 100644 Library/Homebrew/sorbet/rbi/gems/simplecov-html@0.13.1.rbi create mode 100644 Library/Homebrew/sorbet/rbi/gems/simplecov-html@0.13.2.rbi rename Library/Homebrew/sorbet/rbi/gems/{tapioca@0.17.6.rbi => tapioca@0.17.7.rbi} (100%) diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop@1.77.0.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop@1.78.0.rbi similarity index 98% rename from Library/Homebrew/sorbet/rbi/gems/rubocop@1.77.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubocop@1.78.0.rbi index 60b8bb82b5..d79ae6687f 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop@1.77.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop@1.78.0.rbi @@ -47,44 +47,50 @@ class RuboCop::CLI private - # source://rubocop//lib/rubocop/cli.rb#156 + # source://rubocop//lib/rubocop/cli.rb#157 def act_on_options; end - # source://rubocop//lib/rubocop/cli.rb#198 + # source://rubocop//lib/rubocop/cli.rb#205 def apply_default_formatter; end - # source://rubocop//lib/rubocop/cli.rb#125 + # source://rubocop//lib/rubocop/cli.rb#126 def execute_runners; end - # source://rubocop//lib/rubocop/cli.rb#182 + # source://rubocop//lib/rubocop/cli.rb#189 def handle_editor_mode; end # @raise [Finished] # - # source://rubocop//lib/rubocop/cli.rb#187 + # source://rubocop//lib/rubocop/cli.rb#194 def handle_exiting_options; end - # source://rubocop//lib/rubocop/cli.rb#144 + # source://rubocop//lib/rubocop/cli.rb#145 def parallel_by_default!; end - # source://rubocop//lib/rubocop/cli.rb#80 + # source://rubocop//lib/rubocop/cli.rb#81 def profile_if_needed; end - # source://rubocop//lib/rubocop/cli.rb#113 + # source://rubocop//lib/rubocop/cli.rb#219 + def report_pending_cops; end + + # source://rubocop//lib/rubocop/cli.rb#114 def require_gem(name); end - # source://rubocop//lib/rubocop/cli.rb#121 + # source://rubocop//lib/rubocop/cli.rb#122 def run_command(name); end - # source://rubocop//lib/rubocop/cli.rb#174 + # source://rubocop//lib/rubocop/cli.rb#176 def set_options_to_config_loader; end - # source://rubocop//lib/rubocop/cli.rb#133 + # source://rubocop//lib/rubocop/cli.rb#184 + def set_options_to_pending_cops_reporter; end + + # source://rubocop//lib/rubocop/cli.rb#134 def suggest_extensions; end # @raise [OptionArgumentError] # - # source://rubocop//lib/rubocop/cli.rb#137 + # source://rubocop//lib/rubocop/cli.rb#138 def validate_options_vs_config; end end @@ -1006,7 +1012,7 @@ class RuboCop::ConfigLoader extend ::RuboCop::FileFinder class << self - # source://rubocop//lib/rubocop/config_loader.rb#152 + # source://rubocop//lib/rubocop/config_loader.rb#130 def add_excludes_from_files(config, config_file); end # Used to add features that were required inside a config or from @@ -1014,7 +1020,7 @@ class RuboCop::ConfigLoader # # @api private # - # source://rubocop//lib/rubocop/config_loader.rb#241 + # source://rubocop//lib/rubocop/config_loader.rb#204 def add_loaded_features(loaded_features); end # Used to add plugins that were required inside a config or from @@ -1022,13 +1028,13 @@ class RuboCop::ConfigLoader # # @api private # - # source://rubocop//lib/rubocop/config_loader.rb#234 + # source://rubocop//lib/rubocop/config_loader.rb#197 def add_loaded_plugins(loaded_plugins); end - # source://rubocop//lib/rubocop/config_loader.rb#91 + # source://rubocop//lib/rubocop/config_loader.rb#83 def add_missing_namespaces(path, hash); end - # source://rubocop//lib/rubocop/config_loader.rb#41 + # source://rubocop//lib/rubocop/config_loader.rb#33 def clear_options; end # Returns the path of .rubocop.yml searching upwards in the @@ -1037,90 +1043,90 @@ class RuboCop::ConfigLoader # user's home directory is checked. If there's no .rubocop.yml # there either, the path to the default file is returned. # - # source://rubocop//lib/rubocop/config_loader.rb#119 + # source://rubocop//lib/rubocop/config_loader.rb#111 def configuration_file_for(target_dir); end - # source://rubocop//lib/rubocop/config_loader.rb#123 + # source://rubocop//lib/rubocop/config_loader.rb#115 def configuration_from_file(config_file, check: T.unsafe(nil)); end # Returns the value of attribute debug. # - # source://rubocop//lib/rubocop/config_loader.rb#33 + # source://rubocop//lib/rubocop/config_loader.rb#25 def debug; end # Sets the attribute debug # # @param value the value to set the attribute debug to. # - # source://rubocop//lib/rubocop/config_loader.rb#33 + # source://rubocop//lib/rubocop/config_loader.rb#25 def debug=(_arg0); end # Returns the value of attribute debug. # - # source://rubocop//lib/rubocop/config_loader.rb#38 + # source://rubocop//lib/rubocop/config_loader.rb#30 def debug?; end - # source://rubocop//lib/rubocop/config_loader.rb#162 + # source://rubocop//lib/rubocop/config_loader.rb#140 def default_configuration; end # Sets the attribute default_configuration # # @param value the value to set the attribute default_configuration to. # - # source://rubocop//lib/rubocop/config_loader.rb#35 + # source://rubocop//lib/rubocop/config_loader.rb#27 def default_configuration=(_arg0); end # Returns the value of attribute disable_pending_cops. # - # source://rubocop//lib/rubocop/config_loader.rb#33 + # source://rubocop//lib/rubocop/config_loader.rb#25 def disable_pending_cops; end # Sets the attribute disable_pending_cops # # @param value the value to set the attribute disable_pending_cops to. # - # source://rubocop//lib/rubocop/config_loader.rb#33 + # source://rubocop//lib/rubocop/config_loader.rb#25 def disable_pending_cops=(_arg0); end # Returns the value of attribute enable_pending_cops. # - # source://rubocop//lib/rubocop/config_loader.rb#33 + # source://rubocop//lib/rubocop/config_loader.rb#25 def enable_pending_cops; end # Sets the attribute enable_pending_cops # # @param value the value to set the attribute enable_pending_cops to. # - # source://rubocop//lib/rubocop/config_loader.rb#33 + # source://rubocop//lib/rubocop/config_loader.rb#25 def enable_pending_cops=(_arg0); end # Returns the value of attribute ignore_parent_exclusion. # - # source://rubocop//lib/rubocop/config_loader.rb#33 + # source://rubocop//lib/rubocop/config_loader.rb#25 def ignore_parent_exclusion; end # Sets the attribute ignore_parent_exclusion # # @param value the value to set the attribute ignore_parent_exclusion to. # - # source://rubocop//lib/rubocop/config_loader.rb#33 + # source://rubocop//lib/rubocop/config_loader.rb#25 def ignore_parent_exclusion=(_arg0); end # Returns the value of attribute ignore_parent_exclusion. # - # source://rubocop//lib/rubocop/config_loader.rb#39 + # source://rubocop//lib/rubocop/config_loader.rb#31 def ignore_parent_exclusion?; end # Returns the value of attribute ignore_unrecognized_cops. # - # source://rubocop//lib/rubocop/config_loader.rb#33 + # source://rubocop//lib/rubocop/config_loader.rb#25 def ignore_unrecognized_cops; end # Sets the attribute ignore_unrecognized_cops # # @param value the value to set the attribute ignore_unrecognized_cops to. # - # source://rubocop//lib/rubocop/config_loader.rb#33 + # source://rubocop//lib/rubocop/config_loader.rb#25 def ignore_unrecognized_cops=(_arg0); end # This API is primarily intended for testing and documenting plugins. @@ -1128,83 +1134,69 @@ class RuboCop::ConfigLoader # so this API is usually not needed. It is intended to be used only when implementing tests # that do not use `rubocop/rspec/support`. # - # source://rubocop//lib/rubocop/config_loader.rb#174 + # source://rubocop//lib/rubocop/config_loader.rb#152 def inject_defaults!(config_yml_path); end - # source://rubocop//lib/rubocop/config_loader.rb#53 + # source://rubocop//lib/rubocop/config_loader.rb#45 def load_file(file, check: T.unsafe(nil)); end # @raise [TypeError] # - # source://rubocop//lib/rubocop/config_loader.rb#78 + # source://rubocop//lib/rubocop/config_loader.rb#70 def load_yaml_configuration(absolute_path); end # Returns the value of attribute loaded_features. # - # source://rubocop//lib/rubocop/config_loader.rb#36 + # source://rubocop//lib/rubocop/config_loader.rb#28 def loaded_features; end # Returns the value of attribute loaded_plugins. # - # source://rubocop//lib/rubocop/config_loader.rb#36 + # source://rubocop//lib/rubocop/config_loader.rb#28 def loaded_plugins; end # Return a recursive merge of two hashes. That is, a normal hash merge, # with the addition that any value that is a hash, and occurs in both # arguments, will also be merged. And so on. # - # source://rubocop//lib/rubocop/config_loader.rb#110 + # source://rubocop//lib/rubocop/config_loader.rb#102 def merge(base_hash, derived_hash); end # Merges the given configuration with the default one. # - # source://rubocop//lib/rubocop/config_loader.rb#227 + # source://rubocop//lib/rubocop/config_loader.rb#190 def merge_with_default(config, config_file, unset_nil: T.unsafe(nil)); end - # source://rubocop//lib/rubocop/config_loader.rb#143 - def pending_cops_only_qualified(pending_cops); end - - # @return [Boolean] - # - # source://rubocop//lib/rubocop/config_loader.rb#147 - def possible_new_cops?(config); end - # Returns the path RuboCop inferred as the root of the project. No file # searches will go past this directory. # # @deprecated Use `RuboCop::ConfigFinder.project_root` instead. # - # source://rubocop//lib/rubocop/config_loader.rb#202 + # source://rubocop//lib/rubocop/config_loader.rb#180 def project_root; end - # source://rubocop//lib/rubocop/config_loader.rb#211 - def warn_on_pending_cops(pending_cops); end - - # source://rubocop//lib/rubocop/config_loader.rb#219 - def warn_pending_cop(cop); end - private - # source://rubocop//lib/rubocop/config_loader.rb#255 + # source://rubocop//lib/rubocop/config_loader.rb#218 def check_duplication(yaml_code, absolute_path); end - # source://rubocop//lib/rubocop/config_loader.rb#247 + # source://rubocop//lib/rubocop/config_loader.rb#210 def file_path(file); end # Read the specified file, or exit with a friendly, concise message on # stderr. Care is taken to use the standard OS exit code for a "file not # found" error. # - # source://rubocop//lib/rubocop/config_loader.rb#275 + # source://rubocop//lib/rubocop/config_loader.rb#238 def read_file(absolute_path); end - # source://rubocop//lib/rubocop/config_loader.rb#251 + # source://rubocop//lib/rubocop/config_loader.rb#214 def resolver; end - # source://rubocop//lib/rubocop/config_loader.rb#281 + # source://rubocop//lib/rubocop/config_loader.rb#244 def yaml_tree_to_hash(yaml_tree); end - # source://rubocop//lib/rubocop/config_loader.rb#291 + # source://rubocop//lib/rubocop/config_loader.rb#254 def yaml_tree_to_hash!(yaml_tree); end end end diff --git a/Library/Homebrew/sorbet/rbi/gems/ruby-lsp@0.24.2.rbi b/Library/Homebrew/sorbet/rbi/gems/ruby-lsp@0.25.0.rbi similarity index 100% rename from Library/Homebrew/sorbet/rbi/gems/ruby-lsp@0.24.2.rbi rename to Library/Homebrew/sorbet/rbi/gems/ruby-lsp@0.25.0.rbi diff --git a/Library/Homebrew/sorbet/rbi/gems/simplecov-html@0.13.1.rbi b/Library/Homebrew/sorbet/rbi/gems/simplecov-html@0.13.1.rbi deleted file mode 100644 index 46e3391e67..0000000000 --- a/Library/Homebrew/sorbet/rbi/gems/simplecov-html@0.13.1.rbi +++ /dev/null @@ -1,220 +0,0 @@ -# typed: true - -# DO NOT EDIT MANUALLY -# This is an autogenerated file for types exported from the `simplecov-html` gem. -# Please instead update this file by running `bin/tapioca gem simplecov-html`. - - -# source://simplecov-html//lib/simplecov-html.rb#16 -module SimpleCov - class << self - # source://simplecov/0.22.0/lib/simplecov.rb#174 - def at_exit_behavior; end - - # source://simplecov/0.22.0/lib/simplecov.rb#170 - def clear_result; end - - # source://simplecov/0.22.0/lib/simplecov.rb#86 - def collate(result_filenames, profile = T.unsafe(nil), ignore_timeout: T.unsafe(nil), &block); end - - # source://simplecov/0.22.0/lib/simplecov.rb#223 - def exit_and_report_previous_error(exit_status); end - - # source://simplecov/0.22.0/lib/simplecov.rb#200 - def exit_status_from_exception; end - - # source://simplecov/0.22.0/lib/simplecov.rb#28 - def external_at_exit; end - - # source://simplecov/0.22.0/lib/simplecov.rb#28 - def external_at_exit=(_arg0); end - - # source://simplecov/0.22.0/lib/simplecov.rb#28 - def external_at_exit?; end - - # source://simplecov/0.22.0/lib/simplecov.rb#131 - def filtered(files); end - - # source://simplecov/0.22.0/lib/simplecov.rb#268 - def final_result_process?; end - - # source://simplecov/0.22.0/lib/simplecov.rb#142 - def grouped(files); end - - # source://simplecov/0.22.0/lib/simplecov.rb#162 - def load_adapter(name); end - - # source://simplecov/0.22.0/lib/simplecov.rb#158 - def load_profile(name); end - - # source://simplecov/0.22.0/lib/simplecov.rb#24 - def pid; end - - # source://simplecov/0.22.0/lib/simplecov.rb#24 - def pid=(_arg0); end - - # source://simplecov/0.22.0/lib/simplecov.rb#213 - def previous_error?(error_exit_status); end - - # source://simplecov/0.22.0/lib/simplecov.rb#248 - def process_result(result); end - - # source://simplecov/0.22.0/lib/simplecov.rb#233 - def process_results_and_report_error; end - - # source://simplecov/0.22.0/lib/simplecov.rb#229 - def ready_to_process_results?; end - - # source://simplecov/0.22.0/lib/simplecov.rb#101 - def result; end - - # source://simplecov/0.22.0/lib/simplecov.rb#124 - def result?; end - - # source://simplecov/0.22.0/lib/simplecov.rb#256 - def result_exit_status(result); end - - # source://simplecov/0.22.0/lib/simplecov.rb#296 - def round_coverage(coverage); end - - # source://simplecov/0.22.0/lib/simplecov.rb#186 - def run_exit_tasks!; end - - # source://simplecov/0.22.0/lib/simplecov.rb#24 - def running; end - - # source://simplecov/0.22.0/lib/simplecov.rb#24 - def running=(_arg0); end - - # source://simplecov/0.22.0/lib/simplecov.rb#48 - def start(profile = T.unsafe(nil), &block); end - - # source://simplecov/0.22.0/lib/simplecov.rb#276 - def wait_for_other_processes; end - - # source://simplecov/0.22.0/lib/simplecov.rb#285 - def write_last_run(result); end - - private - - # source://simplecov/0.22.0/lib/simplecov.rb#399 - def adapt_coverage_result; end - - # source://simplecov/0.22.0/lib/simplecov.rb#371 - def add_not_loaded_files(result); end - - # source://simplecov/0.22.0/lib/simplecov.rb#302 - def initial_setup(profile, &block); end - - # source://simplecov/0.22.0/lib/simplecov.rb#363 - def lookup_corresponding_ruby_coverage_name(criterion); end - - # source://simplecov/0.22.0/lib/simplecov.rb#425 - def make_parallel_tests_available; end - - # source://simplecov/0.22.0/lib/simplecov.rb#434 - def probably_running_parallel_tests?; end - - # source://simplecov/0.22.0/lib/simplecov.rb#388 - def process_coverage_result; end - - # source://simplecov/0.22.0/lib/simplecov.rb#410 - def remove_useless_results; end - - # source://simplecov/0.22.0/lib/simplecov.rb#420 - def result_with_not_loaded_files; end - - # source://simplecov/0.22.0/lib/simplecov.rb#314 - def start_coverage_measurement; end - - # source://simplecov/0.22.0/lib/simplecov.rb#349 - def start_coverage_with_criteria; end - end -end - -# source://simplecov-html//lib/simplecov-html.rb#17 -module SimpleCov::Formatter; end - -# source://simplecov-html//lib/simplecov-html.rb#18 -class SimpleCov::Formatter::HTMLFormatter - # @return [HTMLFormatter] a new instance of HTMLFormatter - # - # source://simplecov-html//lib/simplecov-html.rb#19 - def initialize; end - - # source://simplecov-html//lib/simplecov-html.rb#26 - def format(result); end - - private - - # source://simplecov-html//lib/simplecov-html.rb#94 - def asset_inline(name); end - - # source://simplecov-html//lib/simplecov-html.rb#72 - def asset_output_path; end - - # source://simplecov-html//lib/simplecov-html.rb#80 - def assets_path(name); end - - # @return [Boolean] - # - # source://simplecov-html//lib/simplecov-html.rb#41 - def branchable_result?; end - - # source://simplecov-html//lib/simplecov-html.rb#125 - def coverage_css_class(covered_percent); end - - # source://simplecov-html//lib/simplecov-html.rb#121 - def covered_percent(percent); end - - # Returns a table containing the given source files - # - # source://simplecov-html//lib/simplecov-html.rb#112 - def formatted_file_list(title, source_files); end - - # Returns the html for the given source_file - # - # source://simplecov-html//lib/simplecov-html.rb#105 - def formatted_source_file(source_file); end - - # Return a (kind of) unique id for the source file given. Uses SHA1 on path for the id - # - # source://simplecov-html//lib/simplecov-html.rb#146 - def id(source_file); end - - # @return [Boolean] - # - # source://simplecov-html//lib/simplecov-html.rb#48 - def line_status?(source_file, line); end - - # source://simplecov-html//lib/simplecov-html.rb#158 - def link_to_source_file(source_file); end - - # source://simplecov-html//lib/simplecov-html.rb#56 - def output_message(result); end - - # source://simplecov-html//lib/simplecov-html.rb#68 - def output_path; end - - # source://simplecov-html//lib/simplecov-html.rb#154 - def shortened_filename(source_file); end - - # source://simplecov-html//lib/simplecov-html.rb#135 - def strength_css_class(covered_strength); end - - # Returns the an erb instance for the template of given name - # - # source://simplecov-html//lib/simplecov-html.rb#64 - def template(name); end - - # source://simplecov-html//lib/simplecov-html.rb#150 - def timeago(time); end -end - -# Only have a few content types, just hardcode them -# -# source://simplecov-html//lib/simplecov-html.rb#87 -SimpleCov::Formatter::HTMLFormatter::CONTENT_TYPES = T.let(T.unsafe(nil), Hash) - -# source://simplecov-html//lib/simplecov-html/version.rb#6 -SimpleCov::Formatter::HTMLFormatter::VERSION = T.let(T.unsafe(nil), String) diff --git a/Library/Homebrew/sorbet/rbi/gems/simplecov-html@0.13.2.rbi b/Library/Homebrew/sorbet/rbi/gems/simplecov-html@0.13.2.rbi new file mode 100644 index 0000000000..c4eb02a52f --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/gems/simplecov-html@0.13.2.rbi @@ -0,0 +1,96 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `simplecov-html` gem. +# Please instead update this file by running `bin/tapioca gem simplecov-html`. + + +# source://simplecov-html//lib/simplecov-html.rb#15 +module SimpleCov; end + +# source://simplecov-html//lib/simplecov-html.rb#16 +module SimpleCov::Formatter; end + +# source://simplecov-html//lib/simplecov-html.rb#17 +class SimpleCov::Formatter::HTMLFormatter + # @return [HTMLFormatter] a new instance of HTMLFormatter + # + # source://simplecov-html//lib/simplecov-html.rb#26 + def initialize; end + + # source://simplecov-html//lib/simplecov-html.rb#33 + def format(result); end + + private + + # source://simplecov-html//lib/simplecov-html.rb#93 + def asset_inline(name); end + + # source://simplecov-html//lib/simplecov-html.rb#79 + def asset_output_path; end + + # source://simplecov-html//lib/simplecov-html.rb#87 + def assets_path(name); end + + # @return [Boolean] + # + # source://simplecov-html//lib/simplecov-html.rb#48 + def branchable_result?; end + + # source://simplecov-html//lib/simplecov-html.rb#124 + def coverage_css_class(covered_percent); end + + # source://simplecov-html//lib/simplecov-html.rb#120 + def covered_percent(percent); end + + # Returns a table containing the given source files + # + # source://simplecov-html//lib/simplecov-html.rb#111 + def formatted_file_list(title, source_files); end + + # Returns the html for the given source_file + # + # source://simplecov-html//lib/simplecov-html.rb#104 + def formatted_source_file(source_file); end + + # Return a (kind of) unique id for the source file given. Uses SHA1 on path for the id + # + # source://simplecov-html//lib/simplecov-html.rb#145 + def id(source_file); end + + # @return [Boolean] + # + # source://simplecov-html//lib/simplecov-html.rb#55 + def line_status?(source_file, line); end + + # source://simplecov-html//lib/simplecov-html.rb#157 + def link_to_source_file(source_file); end + + # source://simplecov-html//lib/simplecov-html.rb#63 + def output_message(result); end + + # source://simplecov-html//lib/simplecov-html.rb#75 + def output_path; end + + # source://simplecov-html//lib/simplecov-html.rb#153 + def shortened_filename(source_file); end + + # source://simplecov-html//lib/simplecov-html.rb#134 + def strength_css_class(covered_strength); end + + # Returns the an erb instance for the template of given name + # + # source://simplecov-html//lib/simplecov-html.rb#71 + def template(name); end + + # source://simplecov-html//lib/simplecov-html.rb#149 + def timeago(time); end +end + +# Only have a few content types, just hardcode them +# +# source://simplecov-html//lib/simplecov-html.rb#19 +SimpleCov::Formatter::HTMLFormatter::CONTENT_TYPES = T.let(T.unsafe(nil), Hash) + +# source://simplecov-html//lib/simplecov-html/version.rb#6 +SimpleCov::Formatter::HTMLFormatter::VERSION = T.let(T.unsafe(nil), String) diff --git a/Library/Homebrew/sorbet/rbi/gems/tapioca@0.17.6.rbi b/Library/Homebrew/sorbet/rbi/gems/tapioca@0.17.7.rbi similarity index 100% rename from Library/Homebrew/sorbet/rbi/gems/tapioca@0.17.6.rbi rename to Library/Homebrew/sorbet/rbi/gems/tapioca@0.17.7.rbi