From f7851d0bf420c9b2d931056cd3dfaccd3271d2be Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 12 Apr 2023 18:58:54 +0000 Subject: [PATCH 1/3] build(deps): bump rubocop from 1.50.0 to 1.50.1 in /Library/Homebrew Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.50.0 to 1.50.1. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.50.0...v1.50.1) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:production 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 f0259f733b..04a741c145 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -130,7 +130,7 @@ GEM rspec-support (3.12.0) rspec_junit_formatter (0.6.0) rspec-core (>= 2, < 4, != 2.12.0) - rubocop (1.50.0) + rubocop (1.50.1) json (~> 2.3) parallel (~> 1.10) parser (>= 3.2.0.0) From 009b50c73b2df730d7a4980bb204238220c2e942 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 12 Apr 2023 19:02:50 +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 7882653365..21f0710733 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -103,7 +103,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-ast-1.28.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-progressbar-1.13.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unicode-display_width-2.4.2/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.50.0/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.50.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-capybara-2.17.1/lib") $:.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.0/lib") From 503305b185d73a08e471de54777eb04179d14dc0 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 12 Apr 2023 19:11:07 +0000 Subject: [PATCH 3/3] Update RBI files for rubocop. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- .../gems/{rubocop@1.50.0.rbi => rubocop@1.50.1.rbi} | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{rubocop@1.50.0.rbi => rubocop@1.50.1.rbi} (99%) diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop@1.50.0.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop@1.50.1.rbi similarity index 99% rename from Library/Homebrew/sorbet/rbi/gems/rubocop@1.50.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubocop@1.50.1.rbi index f26246eb31..36a03bc123 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop@1.50.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop@1.50.1.rbi @@ -11160,8 +11160,8 @@ class RuboCop::Cop::Style::ParallelAssignment < ::RuboCop::Cop::Base def allowed_lhs?(node); end def allowed_masign?(lhs_elements, rhs_elements); end def allowed_rhs?(node); end - def assignment_corrector(node, order); end - def autocorrect(corrector, node); end + def assignment_corrector(node, rhs, order); end + def autocorrect(corrector, node, lhs, rhs); end def find_valid_order(left_elements, right_elements); end def modifier_statement?(node); end def return_of_method_call?(node); end @@ -11185,12 +11185,14 @@ end class RuboCop::Cop::Style::ParallelAssignment::GenericCorrector include ::RuboCop::Cop::Alignment - def initialize(node, config, new_elements); end + def initialize(node, rhs, modifier, config, new_elements); end def config; end def correction; end def correction_range; end def node; end + def rescue_result; end + def rhs; end protected @@ -11730,8 +11732,10 @@ class RuboCop::Cop::Style::RedundantLineContinuation < ::RuboCop::Cop::Base def argument_newline?(node); end def ends_with_backslash_without_comment?(source_line); end def find_node_for_line(line); end - def inside_string_literal?(range); end + def inside_string_literal?(range, token); end + def inside_string_literal_or_method_with_argument?(range); end def method_call_with_arguments?(node); end + def method_with_argument?(current_token, next_token); end def redundant_line_continuation?(range); end def require_line_continuation?(range); end def same_line?(node, line); end