From 32f2f75c640072674bf578ab4393dcadf09d39a0 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 26 Jan 2023 11:37:43 +0000 Subject: [PATCH] Update RBI files for rubocop. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- .../sorbet/rbi/gems/rspec-wait@0.0.9.rbi | 91 ------------------- ...{rubocop@1.44.0.rbi => rubocop@1.44.1.rbi} | 8 ++ 2 files changed, 8 insertions(+), 91 deletions(-) delete mode 100644 Library/Homebrew/sorbet/rbi/gems/rspec-wait@0.0.9.rbi rename Library/Homebrew/sorbet/rbi/gems/{rubocop@1.44.0.rbi => rubocop@1.44.1.rbi} (99%) diff --git a/Library/Homebrew/sorbet/rbi/gems/rspec-wait@0.0.9.rbi b/Library/Homebrew/sorbet/rbi/gems/rspec-wait@0.0.9.rbi deleted file mode 100644 index e91ffd7b18..0000000000 --- a/Library/Homebrew/sorbet/rbi/gems/rspec-wait@0.0.9.rbi +++ /dev/null @@ -1,91 +0,0 @@ -# typed: true - -# DO NOT EDIT MANUALLY -# This is an autogenerated file for types exported from the `rspec-wait` gem. -# Please instead update this file by running `bin/tapioca gem rspec-wait`. - -module RSpec - extend ::RSpec::Support::Warnings - extend ::RSpec::Core::Warnings - - class << self - def clear_examples; end - def configuration; end - def configuration=(_arg0); end - def configure; end - def const_missing(name); end - def context(*args, &example_group_block); end - def current_example; end - def current_example=(example); end - def current_scope; end - def current_scope=(scope); end - def describe(*args, &example_group_block); end - def example_group(*args, &example_group_block); end - def fcontext(*args, &example_group_block); end - def fdescribe(*args, &example_group_block); end - def reset; end - def shared_context(name, *args, &block); end - def shared_examples(name, *args, &block); end - def shared_examples_for(name, *args, &block); end - def world; end - def world=(_arg0); end - def xcontext(*args, &example_group_block); end - def xdescribe(*args, &example_group_block); end - end -end - -RSpec::MODULES_TO_AUTOLOAD = T.let(T.unsafe(nil), Hash) -RSpec::SharedContext = RSpec::Core::SharedContext - -module RSpec::Wait - private - - def wait(timeout = T.unsafe(nil), options = T.unsafe(nil)); end - def wait_for(value = T.unsafe(nil), &block); end - def with_wait(options); end - - class << self - def wait(timeout = T.unsafe(nil), options = T.unsafe(nil)); end - def wait_for(value = T.unsafe(nil), &block); end - def with_wait(options); end - end -end - -class RSpec::Wait::Error < ::StandardError; end - -module RSpec::Wait::Handler - def handle_matcher(target, *args, &block); end -end - -class RSpec::Wait::NegativeHandler < ::RSpec::Expectations::NegativeExpectationHandler - extend ::RSpec::Wait::Handler -end - -class RSpec::Wait::PositiveHandler < ::RSpec::Expectations::PositiveExpectationHandler - extend ::RSpec::Wait::Handler -end - -class RSpec::Wait::Proxy - def initialize(options); end - - def for(value = T.unsafe(nil), &block); end -end - -class RSpec::Wait::Target < ::RSpec::Expectations::ExpectationTarget - def initialize(target, options); end - - def not_to(matcher = T.unsafe(nil), message = T.unsafe(nil), &block); end - def to(matcher = T.unsafe(nil), message = T.unsafe(nil), &block); end - def to_not(matcher = T.unsafe(nil), message = T.unsafe(nil), &block); end - - private - - def with_wait; end - - class << self - def for(value, block, options = T.unsafe(nil)); end - end -end - -module RSpec::Wait::Target::UndefinedValue; end -class RSpec::Wait::TimeoutError < ::RSpec::Wait::Error; end diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop@1.44.0.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop@1.44.1.rbi similarity index 99% rename from Library/Homebrew/sorbet/rbi/gems/rubocop@1.44.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubocop@1.44.1.rbi index 66771c3495..2a687f87d8 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop@1.44.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop@1.44.1.rbi @@ -4418,6 +4418,10 @@ class RuboCop::Cop::Lint::AmbiguousOperator < ::RuboCop::Cop::Base def offense_node(node); end def offense_position?(node, diagnostic); end def unary_operator?(node, diagnostic); end + + class << self + def autocorrect_incompatible_with; end + end end RuboCop::Cop::Lint::AmbiguousOperator::AMBIGUITIES = T.let(T.unsafe(nil), Hash) @@ -6977,6 +6981,10 @@ class RuboCop::Cop::Naming::BlockForwarding < ::RuboCop::Cop::Base def register_offense(block_argument, node); end def use_block_argument_as_local_variable?(node, last_argument); end def use_kwarg_in_method_definition?(node); end + + class << self + def autocorrect_incompatible_with; end + end end RuboCop::Cop::Naming::BlockForwarding::MSG = T.let(T.unsafe(nil), String)