From f9a232a84395d1a9951bd449576cc8f040340fed Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 3 Feb 2022 18:04:32 +0000 Subject: [PATCH 1/3] build(deps): bump rubocop from 1.25.0 to 1.25.1 in /Library/Homebrew Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.25.0 to 1.25.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.25.0...v1.25.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 e6c714f9c3..a738d66308 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -123,7 +123,7 @@ GEM rspec (>= 3, < 4) rspec_junit_formatter (0.5.1) rspec-core (>= 2, < 4, != 2.12.0) - rubocop (1.25.0) + rubocop (1.25.1) parallel (~> 1.10) parser (>= 3.1.0.0) rainbow (>= 2.2.2, < 4.0) From e751bd1523d7d02e4ed248f418610a05e1f15ed3 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 3 Feb 2022 18:10:10 +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 ebf98f4a5a..17a8af5cf5 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -84,7 +84,7 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rspec_junit_formatter $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-ast-1.15.1/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/ruby-progressbar-1.11.0/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/unicode-display_width-2.1.0/lib" -$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-1.25.0/lib" +$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-1.25.1/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-performance-1.13.2/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rails-2.13.2/lib" $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rubocop-rspec-2.8.0/lib" From 2ea918536d0eaaaeda749437cfcc0d396b8719dd Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 3 Feb 2022 18:14:49 +0000 Subject: [PATCH 3/3] Update RBI files for rubocop. --- .../{rubocop@1.25.0.rbi => rubocop@1.25.1.rbi} | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{rubocop@1.25.0.rbi => rubocop@1.25.1.rbi} (99%) diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop@1.25.0.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop@1.25.1.rbi similarity index 99% rename from Library/Homebrew/sorbet/rbi/gems/rubocop@1.25.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubocop@1.25.1.rbi index 655adda083..b05ba24a4f 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop@1.25.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop@1.25.1.rbi @@ -1742,10 +1742,12 @@ module RuboCop::Cop::HashShorthandSyntax private def enforced_shorthand_syntax; end - def node_with_block_and_arguments?(node); end + def ignore_hash_shorthand_syntax?(pair_node); end def require_hash_value?(hash_key_source, node); end - def without_parentheses?(node); end - def without_parentheses_call_expr_follows?(node); end + def require_hash_value_for_around_hash_literal?(node); end + def use_element_of_hash_literal_as_receiver?(ancestor, parent); end + def use_modifier_form_without_parenthesized_method_call?(ancestor); end + def without_parentheses_call_expr_follows?(ancestor); end end RuboCop::Cop::HashShorthandSyntax::EXPLICIT_HASH_VALUE_MSG = T.let(T.unsafe(nil), String) @@ -2590,6 +2592,7 @@ class RuboCop::Cop::Layout::EmptyLinesAroundExceptionHandlingKeywords < ::RuboCo def keyword_locations(node); end def keyword_locations_in_ensure(node); end def keyword_locations_in_rescue(node); end + def last_rescue_and_end_on_same_line(body); end def message(location, keyword); end def style; end end @@ -2860,6 +2863,7 @@ class RuboCop::Cop::Layout::HashAlignment < ::RuboCop::Cop::Base def alignment_for_colons; end def alignment_for_hash_rockets; end def argument_alignment_config; end + def argument_before_hash(hash_node); end def autocorrect_incompatible_with_other_cops?(node); end def check_delta(delta, node:, alignment:); end def check_pairs(node); end @@ -9342,12 +9346,14 @@ module RuboCop::Cop::Style::MethodCallWithArgsParentheses::OmitParentheses def call_in_single_line_inheritance?(node); end def call_with_ambiguous_arguments?(node); end def call_with_braced_block?(node); end + def exist_next_line_expression?(node); end def hash_literal?(node); end def hash_literal_in_arguments?(node); end def inside_endless_method_def?(node); end def inside_string_interpolation?(node); end def legitimate_call_with_parentheses?(node); end def logical_operator?(node); end + def modifier_form?(node); end def offense_range(node); end def omit_parentheses(node); end def parentheses_at_the_end_of_multiline_call?(node); end @@ -10449,7 +10455,6 @@ class RuboCop::Cop::Style::RedundantBegin < ::RuboCop::Cop::Base private - def any_ancestor_assignment_node?(node); end def begin_block_has_multiline_statements?(node); end def condition_range(node); end def contain_rescue_or_ensure?(node); end @@ -12708,6 +12713,8 @@ class RuboCop::Formatter::DisabledConfigFormatter < ::RuboCop::Formatter::BaseFo def set_max(cfg, cop_name); end def show_offense_counts?; end def show_timestamp?; end + def supports_safe_auto_correct?(cop_class, default_cfg); end + def supports_unsafe_autocorrect?(cop_class, default_cfg); end def timestamp; end class << self