From cba5f63ee32aab8256d504f9f2b9ffa92f96a15d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 31 Oct 2023 18:46:55 +0000 Subject: [PATCH 1/3] build(deps-dev): bump rubocop-sorbet in /Library/Homebrew Bumps [rubocop-sorbet](https://github.com/shopify/rubocop-sorbet) from 0.7.4 to 0.7.5. - [Release notes](https://github.com/shopify/rubocop-sorbet/releases) - [Commits](https://github.com/shopify/rubocop-sorbet/compare/v0.7.4...v0.7.5) --- updated-dependencies: - dependency-name: rubocop-sorbet dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 144424ba3e351..12528971d582f 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -118,7 +118,7 @@ GEM rubocop-rspec (2.20.0) rubocop (~> 1.33) rubocop-capybara (~> 2.17) - rubocop-sorbet (0.7.4) + rubocop-sorbet (0.7.5) rubocop (>= 0.90.0) ruby-macho (4.0.0) ruby-prof (1.4.3) From 3577d1e13805d88f5255994d9995b7019940640a Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 31 Oct 2023 18:50:33 +0000 Subject: [PATCH 2/3] brew vendor-gems: commit updates. --- Library/Homebrew/vendor/bundle/bundler/setup.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index a09ea94f50014..e46520923682b 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -99,7 +99,7 @@ def self.extension_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-performance-1.17.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rails-2.19.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rspec-2.20.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-sorbet-0.7.4/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-sorbet-0.7.5/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-macho-4.0.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/universal-darwin-22/#{Gem.extension_api_version}/ruby-prof-1.4.3") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-prof-1.4.3/lib") From 9c585da273afbf475a2c561fdda74985812d8b37 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 31 Oct 2023 18:55:26 +0000 Subject: [PATCH 3/3] Update RBI files for rubocop-sorbet. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- ...bet@0.7.4.rbi => rubocop-sorbet@0.7.5.rbi} | 50 +++++++++++++------ 1 file changed, 34 insertions(+), 16 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{rubocop-sorbet@0.7.4.rbi => rubocop-sorbet@0.7.5.rbi} (93%) diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop-sorbet@0.7.4.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop-sorbet@0.7.5.rbi similarity index 93% rename from Library/Homebrew/sorbet/rbi/gems/rubocop-sorbet@0.7.4.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubocop-sorbet@0.7.5.rbi index 4d4cae117f4c7..deae740b8c683 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop-sorbet@0.7.4.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop-sorbet@0.7.5.rbi @@ -61,8 +61,9 @@ end RuboCop::Cop::Sorbet::CallbackConditionalsBinding::CALLBACKS = T.let(T.unsafe(nil), Array) -class RuboCop::Cop::Sorbet::CheckedTrueInSignature < ::RuboCop::Cop::Sorbet::SignatureCop +class RuboCop::Cop::Sorbet::CheckedTrueInSignature < ::RuboCop::Cop::Cop include ::RuboCop::Cop::RangeHelp + include ::RuboCop::Cop::Sorbet::SignatureHelp def offending_node(param0); end def on_signature(node); end @@ -75,17 +76,22 @@ class RuboCop::Cop::Sorbet::ConstantsFromStrings < ::RuboCop::Cop::Cop def on_send(node); end end -class RuboCop::Cop::Sorbet::EmptyLineAfterSig < ::RuboCop::Cop::Sorbet::SignatureCop +class RuboCop::Cop::Sorbet::EmptyLineAfterSig < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp + include ::RuboCop::Cop::Sorbet::SignatureHelp + extend ::RuboCop::Cop::AutoCorrector - def autocorrect(node); end - def on_signature(node); end + def on_signature(sig); end + def sig_or_signable_method_definition?(param0 = T.unsafe(nil)); end private - def next_method(node); end + def lines_between(node1, node2, buffer: T.unsafe(nil)); end + def next_sibling(node); end end +RuboCop::Cop::Sorbet::EmptyLineAfterSig::MSG = T.let(T.unsafe(nil), String) + class RuboCop::Cop::Sorbet::EnforceSigilOrder < ::RuboCop::Cop::Sorbet::ValidSigil include ::RuboCop::Cop::RangeHelp @@ -104,7 +110,9 @@ RuboCop::Cop::Sorbet::EnforceSigilOrder::INDENT_REGEX = T.let(T.unsafe(nil), Reg RuboCop::Cop::Sorbet::EnforceSigilOrder::MAGIC_REGEX = T.let(T.unsafe(nil), Regexp) RuboCop::Cop::Sorbet::EnforceSigilOrder::PREFERRED_ORDER = T.let(T.unsafe(nil), Hash) -class RuboCop::Cop::Sorbet::EnforceSignatures < ::RuboCop::Cop::Sorbet::SignatureCop +class RuboCop::Cop::Sorbet::EnforceSignatures < ::RuboCop::Cop::Cop + include ::RuboCop::Cop::Sorbet::SignatureHelp + def initialize(config = T.unsafe(nil), options = T.unsafe(nil)); end def accessor?(param0 = T.unsafe(nil)); end @@ -163,17 +171,20 @@ end RuboCop::Cop::Sorbet::ForbidExtendTSigHelpersInShims::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Sorbet::ForbidExtendTSigHelpersInShims::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -class RuboCop::Cop::Sorbet::ForbidIncludeConstLiteral < ::RuboCop::Cop::Cop - def initialize(*_arg0); end +class RuboCop::Cop::Sorbet::ForbidIncludeConstLiteral < ::RuboCop::Cop::Base + extend ::RuboCop::Cop::AutoCorrector - def autocorrect(node); end - def not_lit_const_include?(param0 = T.unsafe(nil)); end + def dynamic_inclusion?(param0 = T.unsafe(nil)); end def on_send(node); end - def used_names; end - def used_names=(_arg0); end + + private + + def neither_const_nor_self?(node); end + def within_onymous_module?(node); end end RuboCop::Cop::Sorbet::ForbidIncludeConstLiteral::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::Sorbet::ForbidIncludeConstLiteral::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) class RuboCop::Cop::Sorbet::ForbidRBIOutsideOfAllowedPaths < ::RuboCop::Cop::Cop include ::RuboCop::Cop::RangeHelp @@ -224,6 +235,7 @@ class RuboCop::Cop::Sorbet::ForbidTStruct::Property def initialize_sig_param; end def kind; end def name; end + def nilable?; end def node; end def type; end end @@ -289,7 +301,9 @@ RuboCop::Cop::Sorbet::ImplicitConversionMethod::IMPLICIT_CONVERSION_METHODS = T. RuboCop::Cop::Sorbet::ImplicitConversionMethod::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Sorbet::ImplicitConversionMethod::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -class RuboCop::Cop::Sorbet::KeywordArgumentOrdering < ::RuboCop::Cop::Sorbet::SignatureCop +class RuboCop::Cop::Sorbet::KeywordArgumentOrdering < ::RuboCop::Cop::Cop + include ::RuboCop::Cop::Sorbet::SignatureHelp + def on_signature(node); end private @@ -348,7 +362,9 @@ end RuboCop::Cop::Sorbet::RedundantExtendTSig::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Sorbet::RedundantExtendTSig::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -class RuboCop::Cop::Sorbet::SignatureBuildOrder < ::RuboCop::Cop::Sorbet::SignatureCop +class RuboCop::Cop::Sorbet::SignatureBuildOrder < ::RuboCop::Cop::Cop + include ::RuboCop::Cop::Sorbet::SignatureHelp + def autocorrect(node); end def on_signature(node); end def root_call(param0); end @@ -363,10 +379,12 @@ end class RuboCop::Cop::Sorbet::SignatureBuildOrder::ModernBuilder < ::RuboCop::AST::Builder; end RuboCop::Cop::Sorbet::SignatureBuildOrder::ORDER = T.let(T.unsafe(nil), Hash) -class RuboCop::Cop::Sorbet::SignatureCop < ::RuboCop::Cop::Cop +module RuboCop::Cop::Sorbet::SignatureHelp + extend ::RuboCop::AST::NodePattern::Macros + def on_block(node); end def on_numblock(node); end - def on_signature(_); end + def on_signature(_node); end def signature?(param0 = T.unsafe(nil)); end def with_runtime?(param0 = T.unsafe(nil)); end def without_runtime?(param0 = T.unsafe(nil)); end