rubocop 1.50.2 → 1.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/LICENSE.txt +1 -1
 - data/README.md +73 -72
 - data/assets/output.css.erb +159 -0
 - data/assets/output.html.erb +1 -160
 - data/config/default.yml +316 -38
 - data/config/internal_affairs.yml +11 -0
 - data/config/obsoletion.yml +5 -0
 - data/exe/rubocop +4 -3
 - data/lib/rubocop/cached_data.rb +21 -5
 - data/lib/rubocop/cli/command/auto_generate_config.rb +28 -15
 - data/lib/rubocop/cli/command/execute_runner.rb +1 -1
 - data/lib/rubocop/cli/command/lsp.rb +19 -0
 - data/lib/rubocop/cli/command/show_docs_url.rb +2 -2
 - data/lib/rubocop/cli/command/version.rb +2 -2
 - data/lib/rubocop/cli.rb +14 -2
 - data/lib/rubocop/comment_config.rb +1 -1
 - data/lib/rubocop/config.rb +45 -13
 - data/lib/rubocop/config_finder.rb +14 -4
 - data/lib/rubocop/config_loader.rb +15 -10
 - data/lib/rubocop/config_loader_resolver.rb +17 -11
 - data/lib/rubocop/config_obsoletion/parameter_rule.rb +9 -1
 - data/lib/rubocop/config_obsoletion.rb +13 -10
 - data/lib/rubocop/config_validator.rb +17 -9
 - data/lib/rubocop/cop/autocorrect_logic.rb +30 -3
 - data/lib/rubocop/cop/base.rb +78 -19
 - data/lib/rubocop/cop/bundler/duplicated_gem.rb +1 -0
 - data/lib/rubocop/cop/bundler/duplicated_group.rb +127 -0
 - data/lib/rubocop/cop/bundler/gem_comment.rb +3 -3
 - data/lib/rubocop/cop/bundler/gem_version.rb +6 -7
 - data/lib/rubocop/cop/bundler/ordered_gems.rb +9 -1
 - data/lib/rubocop/cop/cop.rb +30 -4
 - data/lib/rubocop/cop/correctors/alignment_corrector.rb +2 -13
 - data/lib/rubocop/cop/correctors/each_to_for_corrector.rb +4 -8
 - data/lib/rubocop/cop/correctors/for_to_each_corrector.rb +5 -13
 - data/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb +7 -4
 - data/lib/rubocop/cop/correctors/line_break_corrector.rb +2 -0
 - data/lib/rubocop/cop/correctors/parentheses_corrector.rb +1 -1
 - data/lib/rubocop/cop/correctors/percent_literal_corrector.rb +10 -0
 - data/lib/rubocop/cop/documentation.rb +32 -5
 - data/lib/rubocop/cop/exclude_limit.rb +1 -1
 - data/lib/rubocop/cop/force.rb +12 -0
 - data/lib/rubocop/cop/gemspec/add_runtime_dependency.rb +38 -0
 - data/lib/rubocop/cop/gemspec/dependency_version.rb +5 -7
 - data/lib/rubocop/cop/gemspec/deprecated_attribute_assignment.rb +2 -2
 - data/lib/rubocop/cop/gemspec/development_dependencies.rb +1 -1
 - data/lib/rubocop/cop/gemspec/duplicated_assignment.rb +2 -2
 - data/lib/rubocop/cop/gemspec/ordered_dependencies.rb +9 -1
 - data/lib/rubocop/cop/gemspec/required_ruby_version.rb +5 -1
 - data/lib/rubocop/cop/gemspec/ruby_version_globals_usage.rb +3 -3
 - data/lib/rubocop/cop/generator/require_file_injector.rb +1 -1
 - data/lib/rubocop/cop/internal_affairs/cop_description.rb +32 -12
 - data/lib/rubocop/cop/internal_affairs/empty_line_between_expect_offense_and_correction.rb +2 -1
 - data/lib/rubocop/cop/internal_affairs/example_description.rb +46 -24
 - data/lib/rubocop/cop/internal_affairs/location_line_equality_comparison.rb +3 -1
 - data/lib/rubocop/cop/internal_affairs/method_name_end_with.rb +8 -6
 - data/lib/rubocop/cop/internal_affairs/method_name_equal.rb +19 -20
 - data/lib/rubocop/cop/internal_affairs/node_first_or_last_argument.rb +53 -0
 - data/lib/rubocop/cop/internal_affairs/node_matcher_directive.rb +128 -34
 - data/lib/rubocop/cop/internal_affairs/redundant_expect_offense_arguments.rb +34 -0
 - data/lib/rubocop/cop/internal_affairs/redundant_message_argument.rb +6 -21
 - data/lib/rubocop/cop/internal_affairs/redundant_method_dispatch_node.rb +11 -2
 - data/lib/rubocop/cop/internal_affairs/redundant_source_range.rb +8 -1
 - data/lib/rubocop/cop/internal_affairs/undefined_config.rb +11 -1
 - data/lib/rubocop/cop/internal_affairs/useless_message_assertion.rb +2 -5
 - data/lib/rubocop/cop/internal_affairs.rb +18 -0
 - data/lib/rubocop/cop/layout/access_modifier_indentation.rb +5 -1
 - data/lib/rubocop/cop/layout/argument_alignment.rb +1 -1
 - data/lib/rubocop/cop/layout/assignment_indentation.rb +3 -2
 - data/lib/rubocop/cop/layout/block_alignment.rb +30 -12
 - data/lib/rubocop/cop/layout/case_indentation.rb +1 -1
 - data/lib/rubocop/cop/layout/class_structure.rb +7 -0
 - data/lib/rubocop/cop/layout/closing_heredoc_indentation.rb +1 -2
 - data/lib/rubocop/cop/layout/comment_indentation.rb +1 -1
 - data/lib/rubocop/cop/layout/condition_position.rb +0 -4
 - data/lib/rubocop/cop/layout/def_end_alignment.rb +1 -1
 - data/lib/rubocop/cop/layout/dot_position.rb +1 -5
 - data/lib/rubocop/cop/layout/empty_comment.rb +3 -1
 - data/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb +43 -10
 - data/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb +14 -7
 - data/lib/rubocop/cop/layout/empty_line_after_multiline_condition.rb +1 -1
 - data/lib/rubocop/cop/layout/empty_line_between_defs.rb +29 -5
 - data/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb +10 -3
 - data/lib/rubocop/cop/layout/end_alignment.rb +15 -3
 - data/lib/rubocop/cop/layout/extra_spacing.rb +4 -10
 - data/lib/rubocop/cop/layout/first_argument_indentation.rb +2 -2
 - data/lib/rubocop/cop/layout/first_array_element_indentation.rb +24 -10
 - data/lib/rubocop/cop/layout/first_method_argument_line_break.rb +8 -0
 - data/lib/rubocop/cop/layout/first_parameter_indentation.rb +1 -1
 - data/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb +4 -4
 - data/lib/rubocop/cop/layout/heredoc_indentation.rb +5 -2
 - data/lib/rubocop/cop/layout/indentation_style.rb +1 -1
 - data/lib/rubocop/cop/layout/indentation_width.rb +8 -9
 - data/lib/rubocop/cop/layout/leading_comment_space.rb +57 -2
 - data/lib/rubocop/cop/layout/line_continuation_leading_space.rb +17 -9
 - data/lib/rubocop/cop/layout/line_continuation_spacing.rb +1 -1
 - data/lib/rubocop/cop/layout/line_end_string_concatenation_indentation.rb +2 -0
 - data/lib/rubocop/cop/layout/line_length.rb +20 -20
 - data/lib/rubocop/cop/layout/multiline_method_call_indentation.rb +18 -3
 - data/lib/rubocop/cop/layout/redundant_line_break.rb +30 -7
 - data/lib/rubocop/cop/layout/rescue_ensure_alignment.rb +4 -4
 - data/lib/rubocop/cop/layout/single_line_block_chain.rb +5 -0
 - data/lib/rubocop/cop/layout/space_after_comma.rb +9 -1
 - data/lib/rubocop/cop/layout/space_after_not.rb +1 -1
 - data/lib/rubocop/cop/layout/space_around_method_call_operator.rb +2 -2
 - data/lib/rubocop/cop/layout/space_around_operators.rb +56 -21
 - data/lib/rubocop/cop/layout/space_before_block_braces.rb +19 -10
 - data/lib/rubocop/cop/layout/space_before_brackets.rb +5 -5
 - data/lib/rubocop/cop/layout/space_inside_block_braces.rb +6 -0
 - data/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb +1 -1
 - data/lib/rubocop/cop/layout/space_inside_parens.rb +1 -1
 - data/lib/rubocop/cop/layout/space_inside_range_literal.rb +1 -1
 - data/lib/rubocop/cop/layout/space_inside_string_interpolation.rb +3 -4
 - data/lib/rubocop/cop/layout/trailing_empty_lines.rb +5 -0
 - data/lib/rubocop/cop/legacy/corrector.rb +12 -2
 - data/lib/rubocop/cop/lint/ambiguous_block_association.rb +13 -3
 - data/lib/rubocop/cop/lint/ambiguous_operator.rb +0 -2
 - data/lib/rubocop/cop/lint/ambiguous_range.rb +4 -1
 - data/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +0 -2
 - data/lib/rubocop/cop/lint/assignment_in_condition.rb +6 -6
 - data/lib/rubocop/cop/lint/big_decimal_new.rb +4 -7
 - data/lib/rubocop/cop/lint/binary_operator_with_identical_operands.rb +2 -2
 - data/lib/rubocop/cop/lint/boolean_symbol.rb +1 -3
 - data/lib/rubocop/cop/lint/circular_argument_reference.rb +0 -13
 - data/lib/rubocop/cop/lint/constant_overwritten_in_rescue.rb +1 -1
 - data/lib/rubocop/cop/lint/debugger.rb +45 -10
 - data/lib/rubocop/cop/lint/deprecated_class_methods.rb +1 -1
 - data/lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb +0 -10
 - data/lib/rubocop/cop/lint/duplicate_branch.rb +39 -4
 - data/lib/rubocop/cop/lint/duplicate_case_condition.rb +1 -5
 - data/lib/rubocop/cop/lint/duplicate_hash_key.rb +2 -5
 - data/lib/rubocop/cop/lint/duplicate_methods.rb +1 -11
 - data/lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb +46 -19
 - data/lib/rubocop/cop/lint/duplicate_set_element.rb +74 -0
 - data/lib/rubocop/cop/lint/each_with_object_argument.rb +0 -4
 - data/lib/rubocop/cop/lint/else_layout.rb +0 -2
 - data/lib/rubocop/cop/lint/empty_block.rb +1 -1
 - data/lib/rubocop/cop/lint/empty_conditional_body.rb +29 -8
 - data/lib/rubocop/cop/lint/empty_ensure.rb +1 -11
 - data/lib/rubocop/cop/lint/empty_interpolation.rb +0 -4
 - data/lib/rubocop/cop/lint/empty_when.rb +1 -3
 - data/lib/rubocop/cop/lint/ensure_return.rb +1 -9
 - data/lib/rubocop/cop/lint/erb_new_arguments.rb +27 -21
 - data/lib/rubocop/cop/lint/float_comparison.rb +10 -0
 - data/lib/rubocop/cop/lint/float_out_of_range.rb +0 -4
 - data/lib/rubocop/cop/lint/format_parameter_mismatch.rb +0 -10
 - data/lib/rubocop/cop/lint/hash_compare_by_identity.rb +2 -1
 - data/lib/rubocop/cop/lint/heredoc_method_call_position.rb +1 -1
 - data/lib/rubocop/cop/lint/identity_comparison.rb +0 -1
 - data/lib/rubocop/cop/lint/implicit_string_concatenation.rb +23 -12
 - data/lib/rubocop/cop/lint/incompatible_io_select_with_fiber_scheduler.rb +5 -3
 - data/lib/rubocop/cop/lint/ineffective_access_modifier.rb +0 -7
 - data/lib/rubocop/cop/lint/inherit_exception.rb +9 -0
 - data/lib/rubocop/cop/lint/interpolation_check.rb +0 -4
 - data/lib/rubocop/cop/lint/it_without_arguments_in_block.rb +47 -0
 - data/lib/rubocop/cop/lint/lambda_without_literal_block.rb +1 -1
 - data/lib/rubocop/cop/lint/literal_as_condition.rb +1 -1
 - data/lib/rubocop/cop/lint/literal_assignment_in_condition.rb +85 -0
 - data/lib/rubocop/cop/lint/literal_in_interpolation.rb +26 -7
 - data/lib/rubocop/cop/lint/loop.rb +6 -12
 - data/lib/rubocop/cop/lint/missing_super.rb +34 -5
 - data/lib/rubocop/cop/lint/mixed_case_range.rb +116 -0
 - data/lib/rubocop/cop/lint/nested_method_definition.rb +1 -7
 - data/lib/rubocop/cop/lint/next_without_accumulator.rb +6 -25
 - data/lib/rubocop/cop/lint/no_return_in_begin_end_blocks.rb +0 -5
 - data/lib/rubocop/cop/lint/non_atomic_file_operation.rb +17 -7
 - data/lib/rubocop/cop/lint/non_deterministic_require_order.rb +3 -5
 - data/lib/rubocop/cop/lint/number_conversion.rb +14 -4
 - data/lib/rubocop/cop/lint/numbered_parameter_assignment.rb +2 -2
 - data/lib/rubocop/cop/lint/ordered_magic_comments.rb +0 -1
 - data/lib/rubocop/cop/lint/out_of_range_regexp_ref.rb +2 -2
 - data/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +5 -6
 - data/lib/rubocop/cop/lint/percent_string_array.rb +0 -4
 - data/lib/rubocop/cop/lint/percent_symbol_array.rb +0 -4
 - data/lib/rubocop/cop/lint/rand_one.rb +0 -4
 - data/lib/rubocop/cop/lint/redundant_cop_enable_directive.rb +3 -1
 - data/lib/rubocop/cop/lint/redundant_regexp_quantifiers.rb +130 -0
 - data/lib/rubocop/cop/lint/redundant_require_statement.rb +12 -3
 - data/lib/rubocop/cop/lint/redundant_safe_navigation.rb +72 -8
 - data/lib/rubocop/cop/lint/redundant_splat_expansion.rb +1 -1
 - data/lib/rubocop/cop/lint/redundant_string_coercion.rb +1 -5
 - data/lib/rubocop/cop/lint/redundant_with_index.rb +6 -2
 - data/lib/rubocop/cop/lint/redundant_with_object.rb +2 -2
 - data/lib/rubocop/cop/lint/require_parentheses.rb +0 -4
 - data/lib/rubocop/cop/lint/rescue_exception.rb +0 -4
 - data/lib/rubocop/cop/lint/rescue_type.rb +1 -3
 - data/lib/rubocop/cop/lint/return_in_void_context.rb +0 -2
 - data/lib/rubocop/cop/lint/safe_navigation_chain.rb +23 -12
 - data/lib/rubocop/cop/lint/safe_navigation_consistency.rb +107 -41
 - data/lib/rubocop/cop/lint/script_permission.rb +3 -3
 - data/lib/rubocop/cop/lint/self_assignment.rb +38 -0
 - data/lib/rubocop/cop/lint/send_with_mixin_argument.rb +1 -2
 - data/lib/rubocop/cop/lint/shadowed_argument.rb +1 -0
 - data/lib/rubocop/cop/lint/shadowed_exception.rb +5 -11
 - data/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +13 -11
 - data/lib/rubocop/cop/lint/struct_new_override.rb +12 -12
 - data/lib/rubocop/cop/lint/suppressed_exception.rb +2 -2
 - data/lib/rubocop/cop/lint/symbol_conversion.rb +9 -4
 - data/lib/rubocop/cop/lint/syntax.rb +6 -3
 - data/lib/rubocop/cop/lint/to_enum_arguments.rb +6 -6
 - data/lib/rubocop/cop/lint/top_level_return_with_argument.rb +23 -9
 - data/lib/rubocop/cop/lint/trailing_comma_in_attribute_declaration.rb +1 -1
 - data/lib/rubocop/cop/lint/unescaped_bracket_in_regexp.rb +88 -0
 - data/lib/rubocop/cop/lint/unified_integer.rb +0 -4
 - data/lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb +3 -2
 - data/lib/rubocop/cop/lint/unreachable_code.rb +4 -7
 - data/lib/rubocop/cop/lint/unreachable_loop.rb +8 -2
 - data/lib/rubocop/cop/lint/uri_regexp.rb +25 -7
 - data/lib/rubocop/cop/lint/useless_access_modifier.rb +2 -2
 - data/lib/rubocop/cop/lint/useless_assignment.rb +102 -15
 - data/lib/rubocop/cop/lint/useless_else_without_rescue.rb +0 -4
 - data/lib/rubocop/cop/lint/useless_numeric_operation.rb +77 -0
 - data/lib/rubocop/cop/lint/useless_setter_call.rb +0 -4
 - data/lib/rubocop/cop/lint/useless_times.rb +2 -2
 - data/lib/rubocop/cop/lint/void.rb +128 -15
 - data/lib/rubocop/cop/metrics/abc_size.rb +3 -3
 - data/lib/rubocop/cop/metrics/block_length.rb +7 -6
 - data/lib/rubocop/cop/metrics/block_nesting.rb +19 -7
 - data/lib/rubocop/cop/metrics/class_length.rb +14 -8
 - data/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +4 -1
 - data/lib/rubocop/cop/metrics/method_length.rb +7 -6
 - data/lib/rubocop/cop/metrics/module_length.rb +6 -5
 - data/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb +1 -2
 - data/lib/rubocop/cop/metrics/utils/code_length_calculator.rb +37 -9
 - data/lib/rubocop/cop/migration/department_name.rb +2 -2
 - data/lib/rubocop/cop/mixin/alignment.rb +5 -1
 - data/lib/rubocop/cop/mixin/allowed_methods.rb +7 -1
 - data/lib/rubocop/cop/mixin/allowed_pattern.rb +15 -3
 - data/lib/rubocop/cop/mixin/allowed_receivers.rb +34 -0
 - data/lib/rubocop/cop/mixin/annotation_comment.rb +0 -2
 - data/lib/rubocop/cop/mixin/check_line_breakable.rb +11 -1
 - data/lib/rubocop/cop/mixin/code_length.rb +12 -1
 - data/lib/rubocop/cop/mixin/comments_help.rb +19 -11
 - data/lib/rubocop/cop/mixin/configurable_formatting.rb +1 -0
 - data/lib/rubocop/cop/mixin/configurable_max.rb +5 -1
 - data/lib/rubocop/cop/mixin/def_node.rb +1 -1
 - data/lib/rubocop/cop/mixin/end_keyword_alignment.rb +1 -1
 - data/lib/rubocop/cop/mixin/endless_method_rewriter.rb +24 -0
 - data/lib/rubocop/cop/mixin/frozen_string_literal.rb +22 -10
 - data/lib/rubocop/cop/mixin/hash_shorthand_syntax.rb +23 -13
 - data/lib/rubocop/cop/mixin/heredoc.rb +6 -2
 - data/lib/rubocop/cop/mixin/line_length_help.rb +7 -2
 - data/lib/rubocop/cop/mixin/method_complexity.rb +15 -6
 - data/lib/rubocop/cop/mixin/multiline_expression_indentation.rb +4 -3
 - data/lib/rubocop/cop/mixin/percent_array.rb +1 -1
 - data/lib/rubocop/cop/mixin/percent_literal.rb +1 -1
 - data/lib/rubocop/cop/mixin/preceding_following_alignment.rb +6 -8
 - data/lib/rubocop/cop/mixin/rescue_node.rb +4 -0
 - data/lib/rubocop/cop/mixin/safe_assignment.rb +1 -1
 - data/lib/rubocop/cop/mixin/space_after_punctuation.rb +1 -1
 - data/lib/rubocop/cop/mixin/space_before_punctuation.rb +1 -1
 - data/lib/rubocop/cop/mixin/statement_modifier.rb +3 -2
 - data/lib/rubocop/cop/mixin/string_help.rb +4 -2
 - data/lib/rubocop/cop/mixin/string_literals_help.rb +12 -0
 - data/lib/rubocop/cop/mixin/trailing_comma.rb +1 -1
 - data/lib/rubocop/cop/naming/accessor_method_name.rb +5 -0
 - data/lib/rubocop/cop/naming/block_forwarding.rb +35 -8
 - data/lib/rubocop/cop/naming/constant_name.rb +2 -3
 - data/lib/rubocop/cop/naming/file_name.rb +3 -3
 - data/lib/rubocop/cop/naming/heredoc_delimiter_naming.rb +3 -1
 - data/lib/rubocop/cop/naming/inclusive_language.rb +13 -5
 - data/lib/rubocop/cop/naming/memoized_instance_variable_name.rb +26 -11
 - data/lib/rubocop/cop/naming/predicate_name.rb +55 -29
 - data/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb +21 -4
 - data/lib/rubocop/cop/naming/variable_name.rb +6 -1
 - data/lib/rubocop/cop/offense.rb +4 -5
 - data/lib/rubocop/cop/registry.rb +1 -1
 - data/lib/rubocop/cop/security/compound_hash.rb +2 -2
 - data/lib/rubocop/cop/security/open.rb +2 -2
 - data/lib/rubocop/cop/style/access_modifier_declarations.rb +63 -3
 - data/lib/rubocop/cop/style/accessor_grouping.rb +14 -2
 - data/lib/rubocop/cop/style/alias.rb +11 -9
 - data/lib/rubocop/cop/style/ambiguous_endless_method_definition.rb +79 -0
 - data/lib/rubocop/cop/style/arguments_forwarding.rb +459 -63
 - data/lib/rubocop/cop/style/array_first_last.rb +64 -0
 - data/lib/rubocop/cop/style/array_intersect.rb +13 -5
 - data/lib/rubocop/cop/style/attr.rb +11 -1
 - data/lib/rubocop/cop/style/auto_resource_cleanup.rb +21 -14
 - data/lib/rubocop/cop/style/begin_block.rb +1 -2
 - data/lib/rubocop/cop/style/bisected_attr_accessor.rb +2 -2
 - data/lib/rubocop/cop/style/bitwise_predicate.rb +100 -0
 - data/lib/rubocop/cop/style/block_comments.rb +1 -1
 - data/lib/rubocop/cop/style/block_delimiters.rb +36 -7
 - data/lib/rubocop/cop/style/case_like_if.rb +5 -5
 - data/lib/rubocop/cop/style/class_and_module_children.rb +1 -1
 - data/lib/rubocop/cop/style/class_check.rb +1 -0
 - data/lib/rubocop/cop/style/class_equality_comparison.rb +24 -39
 - data/lib/rubocop/cop/style/class_vars.rb +3 -3
 - data/lib/rubocop/cop/style/collection_compact.rb +31 -11
 - data/lib/rubocop/cop/style/collection_methods.rb +2 -0
 - data/lib/rubocop/cop/style/colon_method_call.rb +2 -2
 - data/lib/rubocop/cop/style/combinable_defined.rb +115 -0
 - data/lib/rubocop/cop/style/combinable_loops.rb +43 -8
 - data/lib/rubocop/cop/style/commented_keyword.rb +12 -3
 - data/lib/rubocop/cop/style/concat_array_literals.rb +2 -1
 - data/lib/rubocop/cop/style/conditional_assignment.rb +13 -12
 - data/lib/rubocop/cop/style/copyright.rb +36 -23
 - data/lib/rubocop/cop/style/data_inheritance.rb +1 -1
 - data/lib/rubocop/cop/style/date_time.rb +5 -4
 - data/lib/rubocop/cop/style/def_with_parentheses.rb +0 -2
 - data/lib/rubocop/cop/style/dir.rb +1 -1
 - data/lib/rubocop/cop/style/dir_empty.rb +8 -14
 - data/lib/rubocop/cop/style/document_dynamic_eval_definition.rb +1 -1
 - data/lib/rubocop/cop/style/documentation.rb +25 -25
 - data/lib/rubocop/cop/style/documentation_method.rb +20 -0
 - data/lib/rubocop/cop/style/each_for_simple_loop.rb +7 -8
 - data/lib/rubocop/cop/style/each_with_object.rb +2 -2
 - data/lib/rubocop/cop/style/empty_case_condition.rb +6 -1
 - data/lib/rubocop/cop/style/empty_else.rb +6 -5
 - data/lib/rubocop/cop/style/empty_heredoc.rb +1 -14
 - data/lib/rubocop/cop/style/empty_literal.rb +32 -23
 - data/lib/rubocop/cop/style/endless_method.rb +1 -14
 - data/lib/rubocop/cop/style/eval_with_location.rb +24 -32
 - data/lib/rubocop/cop/style/exact_regexp_match.rb +70 -0
 - data/lib/rubocop/cop/style/explicit_block_argument.rb +2 -2
 - data/lib/rubocop/cop/style/file_read.rb +4 -7
 - data/lib/rubocop/cop/style/file_write.rb +2 -5
 - data/lib/rubocop/cop/style/for.rb +3 -1
 - data/lib/rubocop/cop/style/format_string.rb +33 -12
 - data/lib/rubocop/cop/style/format_string_token.rb +2 -2
 - data/lib/rubocop/cop/style/frozen_string_literal_comment.rb +3 -1
 - data/lib/rubocop/cop/style/global_std_stream.rb +7 -1
 - data/lib/rubocop/cop/style/guard_clause.rb +45 -2
 - data/lib/rubocop/cop/style/hash_conversion.rb +10 -0
 - data/lib/rubocop/cop/style/hash_each_methods.rb +112 -33
 - data/lib/rubocop/cop/style/hash_except.rb +29 -14
 - data/lib/rubocop/cop/style/hash_syntax.rb +26 -4
 - data/lib/rubocop/cop/style/hash_transform_keys.rb +2 -2
 - data/lib/rubocop/cop/style/hash_transform_values.rb +2 -2
 - data/lib/rubocop/cop/style/identical_conditional_branches.rb +34 -5
 - data/lib/rubocop/cop/style/if_inside_else.rb +7 -1
 - data/lib/rubocop/cop/style/if_unless_modifier.rb +3 -0
 - data/lib/rubocop/cop/style/if_with_boolean_literal_branches.rb +5 -4
 - data/lib/rubocop/cop/style/if_with_semicolon.rb +51 -8
 - data/lib/rubocop/cop/style/in_pattern_then.rb +6 -2
 - data/lib/rubocop/cop/style/inverse_methods.rb +14 -13
 - data/lib/rubocop/cop/style/invertible_unless_condition.rb +56 -10
 - data/lib/rubocop/cop/style/keyword_arguments_merging.rb +67 -0
 - data/lib/rubocop/cop/style/lambda.rb +4 -4
 - data/lib/rubocop/cop/style/lambda_call.rb +5 -0
 - data/lib/rubocop/cop/style/magic_comment_format.rb +1 -1
 - data/lib/rubocop/cop/style/map_compact_with_conditional_block.rb +82 -50
 - data/lib/rubocop/cop/style/map_into_array.rb +233 -0
 - data/lib/rubocop/cop/style/map_to_hash.rb +18 -8
 - data/lib/rubocop/cop/style/map_to_set.rb +1 -1
 - data/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb +40 -15
 - data/lib/rubocop/cop/style/method_call_with_args_parentheses.rb +3 -5
 - data/lib/rubocop/cop/style/method_call_without_args_parentheses.rb +22 -2
 - data/lib/rubocop/cop/style/method_def_parentheses.rb +1 -1
 - data/lib/rubocop/cop/style/missing_else.rb +0 -4
 - data/lib/rubocop/cop/style/missing_respond_to_missing.rb +2 -2
 - data/lib/rubocop/cop/style/mixin_grouping.rb +1 -1
 - data/lib/rubocop/cop/style/multiline_block_chain.rb +1 -1
 - data/lib/rubocop/cop/style/multiline_memoization.rb +1 -1
 - data/lib/rubocop/cop/style/multiline_method_signature.rb +10 -1
 - data/lib/rubocop/cop/style/multiline_ternary_operator.rb +6 -4
 - data/lib/rubocop/cop/style/multiline_when_then.rb +0 -4
 - data/lib/rubocop/cop/style/multiple_comparison.rb +41 -46
 - data/lib/rubocop/cop/style/nested_modifier.rb +1 -1
 - data/lib/rubocop/cop/style/nested_parenthesized_calls.rb +1 -1
 - data/lib/rubocop/cop/style/nested_ternary_operator.rb +3 -11
 - data/lib/rubocop/cop/style/next.rb +1 -1
 - data/lib/rubocop/cop/style/nil_comparison.rb +2 -0
 - data/lib/rubocop/cop/style/numeric_literal_prefix.rb +1 -1
 - data/lib/rubocop/cop/style/numeric_literals.rb +1 -1
 - data/lib/rubocop/cop/style/numeric_predicate.rb +12 -4
 - data/lib/rubocop/cop/style/object_then.rb +5 -3
 - data/lib/rubocop/cop/style/one_line_conditional.rb +6 -2
 - data/lib/rubocop/cop/style/open_struct_use.rb +1 -1
 - data/lib/rubocop/cop/style/operator_method_call.rb +32 -7
 - data/lib/rubocop/cop/style/parallel_assignment.rb +8 -9
 - data/lib/rubocop/cop/style/parentheses_around_condition.rb +8 -0
 - data/lib/rubocop/cop/style/percent_literal_delimiters.rb +1 -1
 - data/lib/rubocop/cop/style/preferred_hash_methods.rb +1 -1
 - data/lib/rubocop/cop/style/quoted_symbols.rb +1 -3
 - data/lib/rubocop/cop/style/raise_args.rb +4 -1
 - data/lib/rubocop/cop/style/redundant_argument.rb +33 -4
 - data/lib/rubocop/cop/style/redundant_array_constructor.rb +77 -0
 - data/lib/rubocop/cop/style/redundant_assignment.rb +10 -2
 - data/lib/rubocop/cop/style/redundant_begin.rb +15 -3
 - data/lib/rubocop/cop/style/redundant_condition.rb +4 -4
 - data/lib/rubocop/cop/style/redundant_conditional.rb +2 -10
 - data/lib/rubocop/cop/style/redundant_current_directory_in_path.rb +39 -0
 - data/lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb +93 -5
 - data/lib/rubocop/cop/style/redundant_each.rb +7 -4
 - data/lib/rubocop/cop/style/redundant_exception.rb +32 -12
 - data/lib/rubocop/cop/style/redundant_fetch_block.rb +3 -3
 - data/lib/rubocop/cop/style/redundant_file_extension_in_require.rb +1 -1
 - data/lib/rubocop/cop/style/redundant_filter_chain.rb +118 -0
 - data/lib/rubocop/cop/style/redundant_interpolation_unfreeze.rb +46 -0
 - data/lib/rubocop/cop/style/redundant_line_continuation.rb +48 -9
 - data/lib/rubocop/cop/style/redundant_parentheses.rb +80 -33
 - data/lib/rubocop/cop/style/redundant_percent_q.rb +1 -1
 - data/lib/rubocop/cop/style/redundant_regexp_argument.rb +103 -0
 - data/lib/rubocop/cop/style/redundant_regexp_constructor.rb +46 -0
 - data/lib/rubocop/cop/style/redundant_regexp_escape.rb +9 -24
 - data/lib/rubocop/cop/style/redundant_return.rb +14 -3
 - data/lib/rubocop/cop/style/redundant_self.rb +17 -2
 - data/lib/rubocop/cop/style/redundant_self_assignment_branch.rb +8 -1
 - data/lib/rubocop/cop/style/redundant_sort.rb +10 -9
 - data/lib/rubocop/cop/style/redundant_sort_by.rb +2 -2
 - data/lib/rubocop/cop/style/redundant_string_escape.rb +3 -1
 - data/lib/rubocop/cop/style/regexp_literal.rb +11 -2
 - data/lib/rubocop/cop/style/require_order.rb +13 -7
 - data/lib/rubocop/cop/style/rescue_modifier.rb +14 -4
 - data/lib/rubocop/cop/style/return_nil.rb +6 -2
 - data/lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb +137 -0
 - data/lib/rubocop/cop/style/safe_navigation.rb +106 -52
 - data/lib/rubocop/cop/style/safe_navigation_chain_length.rb +52 -0
 - data/lib/rubocop/cop/style/sample.rb +3 -4
 - data/lib/rubocop/cop/style/select_by_regexp.rb +29 -15
 - data/lib/rubocop/cop/style/self_assignment.rb +1 -1
 - data/lib/rubocop/cop/style/semicolon.rb +21 -5
 - data/lib/rubocop/cop/style/send.rb +4 -4
 - data/lib/rubocop/cop/style/send_with_literal_method_name.rb +104 -0
 - data/lib/rubocop/cop/style/signal_exception.rb +1 -1
 - data/lib/rubocop/cop/style/single_argument_dig.rb +7 -3
 - data/lib/rubocop/cop/style/single_line_do_end_block.rb +67 -0
 - data/lib/rubocop/cop/style/single_line_methods.rb +1 -1
 - data/lib/rubocop/cop/style/slicing_with_range.rb +76 -10
 - data/lib/rubocop/cop/style/sole_nested_conditional.rb +27 -4
 - data/lib/rubocop/cop/style/special_global_vars.rb +4 -6
 - data/lib/rubocop/cop/style/string_chars.rb +1 -0
 - data/lib/rubocop/cop/style/string_literals_in_interpolation.rb +30 -5
 - data/lib/rubocop/cop/style/strip.rb +7 -4
 - data/lib/rubocop/cop/style/struct_inheritance.rb +1 -1
 - data/lib/rubocop/cop/style/super_arguments.rb +174 -0
 - data/lib/rubocop/cop/style/super_with_args_parentheses.rb +35 -0
 - data/lib/rubocop/cop/style/symbol_array.rb +35 -15
 - data/lib/rubocop/cop/style/symbol_proc.rb +75 -5
 - data/lib/rubocop/cop/style/ternary_parentheses.rb +26 -5
 - data/lib/rubocop/cop/style/top_level_method_definition.rb +1 -1
 - data/lib/rubocop/cop/style/trivial_accessors.rb +1 -1
 - data/lib/rubocop/cop/style/unpack_first.rb +11 -14
 - data/lib/rubocop/cop/style/while_until_do.rb +0 -2
 - data/lib/rubocop/cop/style/while_until_modifier.rb +0 -1
 - data/lib/rubocop/cop/style/yaml_file_read.rb +66 -0
 - data/lib/rubocop/cop/style/yoda_condition.rb +4 -2
 - data/lib/rubocop/cop/style/yoda_expression.rb +8 -7
 - data/lib/rubocop/cop/style/zero_length_predicate.rb +32 -24
 - data/lib/rubocop/cop/team.rb +27 -3
 - data/lib/rubocop/cop/util.rb +9 -3
 - data/lib/rubocop/cop/utils/regexp_ranges.rb +113 -0
 - data/lib/rubocop/cop/variable_force/assignment.rb +62 -6
 - data/lib/rubocop/cop/variable_force/branch.rb +1 -1
 - data/lib/rubocop/cop/variable_force/variable.rb +5 -1
 - data/lib/rubocop/cop/variable_force/variable_table.rb +4 -4
 - data/lib/rubocop/cop/variable_force.rb +14 -1
 - data/lib/rubocop/cops_documentation_generator.rb +97 -44
 - data/lib/rubocop/core_ext/string.rb +2 -6
 - data/lib/rubocop/directive_comment.rb +10 -8
 - data/lib/rubocop/ext/regexp_node.rb +18 -35
 - data/lib/rubocop/ext/regexp_parser.rb +7 -21
 - data/lib/rubocop/file_finder.rb +11 -9
 - data/lib/rubocop/formatter/clang_style_formatter.rb +3 -7
 - data/lib/rubocop/formatter/disabled_config_formatter.rb +24 -9
 - data/lib/rubocop/formatter/formatter_set.rb +7 -1
 - data/lib/rubocop/formatter/html_formatter.rb +37 -14
 - data/lib/rubocop/formatter/json_formatter.rb +0 -1
 - data/lib/rubocop/formatter/junit_formatter.rb +71 -24
 - data/lib/rubocop/formatter/offense_count_formatter.rb +12 -2
 - data/lib/rubocop/formatter/tap_formatter.rb +3 -7
 - data/lib/rubocop/formatter.rb +1 -1
 - data/lib/rubocop/lockfile.rb +58 -7
 - data/lib/rubocop/lsp/logger.rb +22 -0
 - data/lib/rubocop/lsp/routes.rb +243 -0
 - data/lib/rubocop/lsp/runtime.rb +101 -0
 - data/lib/rubocop/lsp/server.rb +72 -0
 - data/lib/rubocop/lsp/severity.rb +27 -0
 - data/lib/rubocop/lsp.rb +36 -0
 - data/lib/rubocop/magic_comment.rb +13 -11
 - data/lib/rubocop/options.rb +28 -13
 - data/lib/rubocop/path_util.rb +6 -2
 - data/lib/rubocop/rake_task.rb +1 -1
 - data/lib/rubocop/remote_config.rb +5 -1
 - data/lib/rubocop/result_cache.rb +7 -10
 - data/lib/rubocop/rspec/cop_helper.rb +8 -2
 - data/lib/rubocop/rspec/expect_offense.rb +17 -8
 - data/lib/rubocop/rspec/shared_contexts.rb +77 -21
 - data/lib/rubocop/rspec/support.rb +3 -0
 - data/lib/rubocop/runner.rb +36 -12
 - data/lib/rubocop/server/cache.rb +16 -1
 - data/lib/rubocop/server/client_command/exec.rb +5 -5
 - data/lib/rubocop/server/client_command/start.rb +1 -1
 - data/lib/rubocop/server/core.rb +5 -0
 - data/lib/rubocop/server/server_command/exec.rb +0 -1
 - data/lib/rubocop/string_interpreter.rb +3 -3
 - data/lib/rubocop/target_finder.rb +91 -81
 - data/lib/rubocop/target_ruby.rb +90 -79
 - data/lib/rubocop/version.rb +53 -13
 - data/lib/rubocop/yaml_duplication_checker.rb +20 -26
 - data/lib/rubocop.rb +40 -1
 - metadata +73 -36
 - /data/lib/rubocop/formatter/{git_hub_actions_formatter.rb → github_actions_formatter.rb} +0 -0
 
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: rubocop
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.68.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Bozhidar Batsov
         
     | 
| 
         @@ -10,7 +10,7 @@ authors: 
     | 
|
| 
       10 
10 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       11 
11 
     | 
    
         
             
            bindir: exe
         
     | 
| 
       12 
12 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       13 
     | 
    
         
            -
            date:  
     | 
| 
      
 13 
     | 
    
         
            +
            date: 2024-10-31 00:00:00.000000000 Z
         
     | 
| 
       14 
14 
     | 
    
         
             
            dependencies:
         
     | 
| 
       15 
15 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       16 
16 
     | 
    
         
             
              name: json
         
     | 
| 
         @@ -26,6 +26,20 @@ dependencies: 
     | 
|
| 
       26 
26 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       27 
27 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       28 
28 
     | 
    
         
             
                    version: '2.3'
         
     | 
| 
      
 29 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 30 
     | 
    
         
            +
              name: language_server-protocol
         
     | 
| 
      
 31 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 32 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 33 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 34 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 35 
     | 
    
         
            +
                    version: 3.17.0
         
     | 
| 
      
 36 
     | 
    
         
            +
              type: :runtime
         
     | 
| 
      
 37 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 38 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 39 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 40 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 41 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 42 
     | 
    
         
            +
                    version: 3.17.0
         
     | 
| 
       29 
43 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       30 
44 
     | 
    
         
             
              name: parallel
         
     | 
| 
       31 
45 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -46,14 +60,14 @@ dependencies: 
     | 
|
| 
       46 
60 
     | 
    
         
             
                requirements:
         
     | 
| 
       47 
61 
     | 
    
         
             
                - - ">="
         
     | 
| 
       48 
62 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       49 
     | 
    
         
            -
                    version: 3. 
     | 
| 
      
 63 
     | 
    
         
            +
                    version: 3.3.0.2
         
     | 
| 
       50 
64 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       51 
65 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       52 
66 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       53 
67 
     | 
    
         
             
                requirements:
         
     | 
| 
       54 
68 
     | 
    
         
             
                - - ">="
         
     | 
| 
       55 
69 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       56 
     | 
    
         
            -
                    version: 3. 
     | 
| 
      
 70 
     | 
    
         
            +
                    version: 3.3.0.2
         
     | 
| 
       57 
71 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       58 
72 
     | 
    
         
             
              name: rainbow
         
     | 
| 
       59 
73 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -80,7 +94,7 @@ dependencies: 
     | 
|
| 
       80 
94 
     | 
    
         
             
                requirements:
         
     | 
| 
       81 
95 
     | 
    
         
             
                - - ">="
         
     | 
| 
       82 
96 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       83 
     | 
    
         
            -
                    version: ' 
     | 
| 
      
 97 
     | 
    
         
            +
                    version: '2.4'
         
     | 
| 
       84 
98 
     | 
    
         
             
                - - "<"
         
     | 
| 
       85 
99 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       86 
100 
     | 
    
         
             
                    version: '3.0'
         
     | 
| 
         @@ -90,37 +104,17 @@ dependencies: 
     | 
|
| 
       90 
104 
     | 
    
         
             
                requirements:
         
     | 
| 
       91 
105 
     | 
    
         
             
                - - ">="
         
     | 
| 
       92 
106 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       93 
     | 
    
         
            -
                    version: ' 
     | 
| 
      
 107 
     | 
    
         
            +
                    version: '2.4'
         
     | 
| 
       94 
108 
     | 
    
         
             
                - - "<"
         
     | 
| 
       95 
109 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       96 
110 
     | 
    
         
             
                    version: '3.0'
         
     | 
| 
       97 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency
         
     | 
| 
       98 
     | 
    
         
            -
              name: rexml
         
     | 
| 
       99 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       100 
     | 
    
         
            -
                requirements:
         
     | 
| 
       101 
     | 
    
         
            -
                - - ">="
         
     | 
| 
       102 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       103 
     | 
    
         
            -
                    version: 3.2.5
         
     | 
| 
       104 
     | 
    
         
            -
                - - "<"
         
     | 
| 
       105 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       106 
     | 
    
         
            -
                    version: '4.0'
         
     | 
| 
       107 
     | 
    
         
            -
              type: :runtime
         
     | 
| 
       108 
     | 
    
         
            -
              prerelease: false
         
     | 
| 
       109 
     | 
    
         
            -
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       110 
     | 
    
         
            -
                requirements:
         
     | 
| 
       111 
     | 
    
         
            -
                - - ">="
         
     | 
| 
       112 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       113 
     | 
    
         
            -
                    version: 3.2.5
         
     | 
| 
       114 
     | 
    
         
            -
                - - "<"
         
     | 
| 
       115 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       116 
     | 
    
         
            -
                    version: '4.0'
         
     | 
| 
       117 
111 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       118 
112 
     | 
    
         
             
              name: rubocop-ast
         
     | 
| 
       119 
113 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       120 
114 
     | 
    
         
             
                requirements:
         
     | 
| 
       121 
115 
     | 
    
         
             
                - - ">="
         
     | 
| 
       122 
116 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       123 
     | 
    
         
            -
                    version: 1. 
     | 
| 
      
 117 
     | 
    
         
            +
                    version: 1.32.2
         
     | 
| 
       124 
118 
     | 
    
         
             
                - - "<"
         
     | 
| 
       125 
119 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       126 
120 
     | 
    
         
             
                    version: '2.0'
         
     | 
| 
         @@ -130,7 +124,7 @@ dependencies: 
     | 
|
| 
       130 
124 
     | 
    
         
             
                requirements:
         
     | 
| 
       131 
125 
     | 
    
         
             
                - - ">="
         
     | 
| 
       132 
126 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       133 
     | 
    
         
            -
                    version: 1. 
     | 
| 
      
 127 
     | 
    
         
            +
                    version: 1.32.2
         
     | 
| 
       134 
128 
     | 
    
         
             
                - - "<"
         
     | 
| 
       135 
129 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       136 
130 
     | 
    
         
             
                    version: '2.0'
         
     | 
| 
         @@ -168,9 +162,9 @@ dependencies: 
     | 
|
| 
       168 
162 
     | 
    
         
             
                - - "<"
         
     | 
| 
       169 
163 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       170 
164 
     | 
    
         
             
                    version: '3.0'
         
     | 
| 
       171 
     | 
    
         
            -
            description: | 
     | 
| 
       172 
     | 
    
         
            -
             
     | 
| 
       173 
     | 
    
         
            -
             
     | 
| 
      
 165 
     | 
    
         
            +
            description: |
         
     | 
| 
      
 166 
     | 
    
         
            +
              RuboCop is a Ruby code style checking and code formatting tool.
         
     | 
| 
      
 167 
     | 
    
         
            +
              It aims to enforce the community-driven Ruby Style Guide.
         
     | 
| 
       174 
168 
     | 
    
         
             
            email: rubocop@googlegroups.com
         
     | 
| 
       175 
169 
     | 
    
         
             
            executables:
         
     | 
| 
       176 
170 
     | 
    
         
             
            - rubocop
         
     | 
| 
         @@ -182,8 +176,10 @@ files: 
     | 
|
| 
       182 
176 
     | 
    
         
             
            - LICENSE.txt
         
     | 
| 
       183 
177 
     | 
    
         
             
            - README.md
         
     | 
| 
       184 
178 
     | 
    
         
             
            - assets/logo.png
         
     | 
| 
      
 179 
     | 
    
         
            +
            - assets/output.css.erb
         
     | 
| 
       185 
180 
     | 
    
         
             
            - assets/output.html.erb
         
     | 
| 
       186 
181 
     | 
    
         
             
            - config/default.yml
         
     | 
| 
      
 182 
     | 
    
         
            +
            - config/internal_affairs.yml
         
     | 
| 
       187 
183 
     | 
    
         
             
            - config/obsoletion.yml
         
     | 
| 
       188 
184 
     | 
    
         
             
            - exe/rubocop
         
     | 
| 
       189 
185 
     | 
    
         
             
            - lib/rubocop.rb
         
     | 
| 
         @@ -198,6 +194,7 @@ files: 
     | 
|
| 
       198 
194 
     | 
    
         
             
            - lib/rubocop/cli/command/base.rb
         
     | 
| 
       199 
195 
     | 
    
         
             
            - lib/rubocop/cli/command/execute_runner.rb
         
     | 
| 
       200 
196 
     | 
    
         
             
            - lib/rubocop/cli/command/init_dotfile.rb
         
     | 
| 
      
 197 
     | 
    
         
            +
            - lib/rubocop/cli/command/lsp.rb
         
     | 
| 
       201 
198 
     | 
    
         
             
            - lib/rubocop/cli/command/show_cops.rb
         
     | 
| 
       202 
199 
     | 
    
         
             
            - lib/rubocop/cli/command/show_docs_url.rb
         
     | 
| 
       203 
200 
     | 
    
         
             
            - lib/rubocop/cli/command/suggest_extensions.rb
         
     | 
| 
         @@ -225,6 +222,7 @@ files: 
     | 
|
| 
       225 
222 
     | 
    
         
             
            - lib/rubocop/cop/badge.rb
         
     | 
| 
       226 
223 
     | 
    
         
             
            - lib/rubocop/cop/base.rb
         
     | 
| 
       227 
224 
     | 
    
         
             
            - lib/rubocop/cop/bundler/duplicated_gem.rb
         
     | 
| 
      
 225 
     | 
    
         
            +
            - lib/rubocop/cop/bundler/duplicated_group.rb
         
     | 
| 
       228 
226 
     | 
    
         
             
            - lib/rubocop/cop/bundler/gem_comment.rb
         
     | 
| 
       229 
227 
     | 
    
         
             
            - lib/rubocop/cop/bundler/gem_filename.rb
         
     | 
| 
       230 
228 
     | 
    
         
             
            - lib/rubocop/cop/bundler/gem_version.rb
         
     | 
| 
         @@ -253,6 +251,7 @@ files: 
     | 
|
| 
       253 
251 
     | 
    
         
             
            - lib/rubocop/cop/documentation.rb
         
     | 
| 
       254 
252 
     | 
    
         
             
            - lib/rubocop/cop/exclude_limit.rb
         
     | 
| 
       255 
253 
     | 
    
         
             
            - lib/rubocop/cop/force.rb
         
     | 
| 
      
 254 
     | 
    
         
            +
            - lib/rubocop/cop/gemspec/add_runtime_dependency.rb
         
     | 
| 
       256 
255 
     | 
    
         
             
            - lib/rubocop/cop/gemspec/dependency_version.rb
         
     | 
| 
       257 
256 
     | 
    
         
             
            - lib/rubocop/cop/gemspec/deprecated_attribute_assignment.rb
         
     | 
| 
       258 
257 
     | 
    
         
             
            - lib/rubocop/cop/gemspec/development_dependencies.rb
         
     | 
| 
         @@ -278,6 +277,7 @@ files: 
     | 
|
| 
       278 
277 
     | 
    
         
             
            - lib/rubocop/cop/internal_affairs/method_name_end_with.rb
         
     | 
| 
       279 
278 
     | 
    
         
             
            - lib/rubocop/cop/internal_affairs/method_name_equal.rb
         
     | 
| 
       280 
279 
     | 
    
         
             
            - lib/rubocop/cop/internal_affairs/node_destructuring.rb
         
     | 
| 
      
 280 
     | 
    
         
            +
            - lib/rubocop/cop/internal_affairs/node_first_or_last_argument.rb
         
     | 
| 
       281 
281 
     | 
    
         
             
            - lib/rubocop/cop/internal_affairs/node_matcher_directive.rb
         
     | 
| 
       282 
282 
     | 
    
         
             
            - lib/rubocop/cop/internal_affairs/node_type_predicate.rb
         
     | 
| 
       283 
283 
     | 
    
         
             
            - lib/rubocop/cop/internal_affairs/numblock_handler.rb
         
     | 
| 
         @@ -285,6 +285,7 @@ files: 
     | 
|
| 
       285 
285 
     | 
    
         
             
            - lib/rubocop/cop/internal_affairs/processed_source_buffer_name.rb
         
     | 
| 
       286 
286 
     | 
    
         
             
            - lib/rubocop/cop/internal_affairs/redundant_context_config_parameter.rb
         
     | 
| 
       287 
287 
     | 
    
         
             
            - lib/rubocop/cop/internal_affairs/redundant_described_class_as_subject.rb
         
     | 
| 
      
 288 
     | 
    
         
            +
            - lib/rubocop/cop/internal_affairs/redundant_expect_offense_arguments.rb
         
     | 
| 
       288 
289 
     | 
    
         
             
            - lib/rubocop/cop/internal_affairs/redundant_let_rubocop_config_new.rb
         
     | 
| 
       289 
290 
     | 
    
         
             
            - lib/rubocop/cop/internal_affairs/redundant_location_argument.rb
         
     | 
| 
       290 
291 
     | 
    
         
             
            - lib/rubocop/cop/internal_affairs/redundant_message_argument.rb
         
     | 
| 
         @@ -425,6 +426,7 @@ files: 
     | 
|
| 
       425 
426 
     | 
    
         
             
            - lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb
         
     | 
| 
       426 
427 
     | 
    
         
             
            - lib/rubocop/cop/lint/duplicate_require.rb
         
     | 
| 
       427 
428 
     | 
    
         
             
            - lib/rubocop/cop/lint/duplicate_rescue_exception.rb
         
     | 
| 
      
 429 
     | 
    
         
            +
            - lib/rubocop/cop/lint/duplicate_set_element.rb
         
     | 
| 
       428 
430 
     | 
    
         
             
            - lib/rubocop/cop/lint/each_with_object_argument.rb
         
     | 
| 
       429 
431 
     | 
    
         
             
            - lib/rubocop/cop/lint/else_layout.rb
         
     | 
| 
       430 
432 
     | 
    
         
             
            - lib/rubocop/cop/lint/empty_block.rb
         
     | 
| 
         @@ -450,12 +452,15 @@ files: 
     | 
|
| 
       450 
452 
     | 
    
         
             
            - lib/rubocop/cop/lint/ineffective_access_modifier.rb
         
     | 
| 
       451 
453 
     | 
    
         
             
            - lib/rubocop/cop/lint/inherit_exception.rb
         
     | 
| 
       452 
454 
     | 
    
         
             
            - lib/rubocop/cop/lint/interpolation_check.rb
         
     | 
| 
      
 455 
     | 
    
         
            +
            - lib/rubocop/cop/lint/it_without_arguments_in_block.rb
         
     | 
| 
       453 
456 
     | 
    
         
             
            - lib/rubocop/cop/lint/lambda_without_literal_block.rb
         
     | 
| 
       454 
457 
     | 
    
         
             
            - lib/rubocop/cop/lint/literal_as_condition.rb
         
     | 
| 
      
 458 
     | 
    
         
            +
            - lib/rubocop/cop/lint/literal_assignment_in_condition.rb
         
     | 
| 
       455 
459 
     | 
    
         
             
            - lib/rubocop/cop/lint/literal_in_interpolation.rb
         
     | 
| 
       456 
460 
     | 
    
         
             
            - lib/rubocop/cop/lint/loop.rb
         
     | 
| 
       457 
461 
     | 
    
         
             
            - lib/rubocop/cop/lint/missing_cop_enable_directive.rb
         
     | 
| 
       458 
462 
     | 
    
         
             
            - lib/rubocop/cop/lint/missing_super.rb
         
     | 
| 
      
 463 
     | 
    
         
            +
            - lib/rubocop/cop/lint/mixed_case_range.rb
         
     | 
| 
       459 
464 
     | 
    
         
             
            - lib/rubocop/cop/lint/mixed_regexp_capture_types.rb
         
     | 
| 
       460 
465 
     | 
    
         
             
            - lib/rubocop/cop/lint/multiple_comparison.rb
         
     | 
| 
       461 
466 
     | 
    
         
             
            - lib/rubocop/cop/lint/nested_method_definition.rb
         
     | 
| 
         @@ -478,6 +483,7 @@ files: 
     | 
|
| 
       478 
483 
     | 
    
         
             
            - lib/rubocop/cop/lint/redundant_cop_disable_directive.rb
         
     | 
| 
       479 
484 
     | 
    
         
             
            - lib/rubocop/cop/lint/redundant_cop_enable_directive.rb
         
     | 
| 
       480 
485 
     | 
    
         
             
            - lib/rubocop/cop/lint/redundant_dir_glob_sort.rb
         
     | 
| 
      
 486 
     | 
    
         
            +
            - lib/rubocop/cop/lint/redundant_regexp_quantifiers.rb
         
     | 
| 
       481 
487 
     | 
    
         
             
            - lib/rubocop/cop/lint/redundant_require_statement.rb
         
     | 
| 
       482 
488 
     | 
    
         
             
            - lib/rubocop/cop/lint/redundant_safe_navigation.rb
         
     | 
| 
       483 
489 
     | 
    
         
             
            - lib/rubocop/cop/lint/redundant_splat_expansion.rb
         
     | 
| 
         @@ -511,6 +517,7 @@ files: 
     | 
|
| 
       511 
517 
     | 
    
         
             
            - lib/rubocop/cop/lint/trailing_comma_in_attribute_declaration.rb
         
     | 
| 
       512 
518 
     | 
    
         
             
            - lib/rubocop/cop/lint/triple_quotes.rb
         
     | 
| 
       513 
519 
     | 
    
         
             
            - lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb
         
     | 
| 
      
 520 
     | 
    
         
            +
            - lib/rubocop/cop/lint/unescaped_bracket_in_regexp.rb
         
     | 
| 
       514 
521 
     | 
    
         
             
            - lib/rubocop/cop/lint/unexpected_block_arity.rb
         
     | 
| 
       515 
522 
     | 
    
         
             
            - lib/rubocop/cop/lint/unified_integer.rb
         
     | 
| 
       516 
523 
     | 
    
         
             
            - lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb
         
     | 
| 
         @@ -524,6 +531,7 @@ files: 
     | 
|
| 
       524 
531 
     | 
    
         
             
            - lib/rubocop/cop/lint/useless_assignment.rb
         
     | 
| 
       525 
532 
     | 
    
         
             
            - lib/rubocop/cop/lint/useless_else_without_rescue.rb
         
     | 
| 
       526 
533 
     | 
    
         
             
            - lib/rubocop/cop/lint/useless_method_definition.rb
         
     | 
| 
      
 534 
     | 
    
         
            +
            - lib/rubocop/cop/lint/useless_numeric_operation.rb
         
     | 
| 
       527 
535 
     | 
    
         
             
            - lib/rubocop/cop/lint/useless_rescue.rb
         
     | 
| 
       528 
536 
     | 
    
         
             
            - lib/rubocop/cop/lint/useless_ruby2_keywords.rb
         
     | 
| 
       529 
537 
     | 
    
         
             
            - lib/rubocop/cop/lint/useless_setter_call.rb
         
     | 
| 
         @@ -550,6 +558,7 @@ files: 
     | 
|
| 
       550 
558 
     | 
    
         
             
            - lib/rubocop/cop/mixin/allowed_identifiers.rb
         
     | 
| 
       551 
559 
     | 
    
         
             
            - lib/rubocop/cop/mixin/allowed_methods.rb
         
     | 
| 
       552 
560 
     | 
    
         
             
            - lib/rubocop/cop/mixin/allowed_pattern.rb
         
     | 
| 
      
 561 
     | 
    
         
            +
            - lib/rubocop/cop/mixin/allowed_receivers.rb
         
     | 
| 
       553 
562 
     | 
    
         
             
            - lib/rubocop/cop/mixin/annotation_comment.rb
         
     | 
| 
       554 
563 
     | 
    
         
             
            - lib/rubocop/cop/mixin/array_min_size.rb
         
     | 
| 
       555 
564 
     | 
    
         
             
            - lib/rubocop/cop/mixin/array_syntax.rb
         
     | 
| 
         @@ -569,6 +578,7 @@ files: 
     | 
|
| 
       569 
578 
     | 
    
         
             
            - lib/rubocop/cop/mixin/empty_lines_around_body.rb
         
     | 
| 
       570 
579 
     | 
    
         
             
            - lib/rubocop/cop/mixin/empty_parameter.rb
         
     | 
| 
       571 
580 
     | 
    
         
             
            - lib/rubocop/cop/mixin/end_keyword_alignment.rb
         
     | 
| 
      
 581 
     | 
    
         
            +
            - lib/rubocop/cop/mixin/endless_method_rewriter.rb
         
     | 
| 
       572 
582 
     | 
    
         
             
            - lib/rubocop/cop/mixin/enforce_superclass.rb
         
     | 
| 
       573 
583 
     | 
    
         
             
            - lib/rubocop/cop/mixin/first_element_line_break.rb
         
     | 
| 
       574 
584 
     | 
    
         
             
            - lib/rubocop/cop/mixin/frozen_string_literal.rb
         
     | 
| 
         @@ -648,9 +658,11 @@ files: 
     | 
|
| 
       648 
658 
     | 
    
         
             
            - lib/rubocop/cop/style/access_modifier_declarations.rb
         
     | 
| 
       649 
659 
     | 
    
         
             
            - lib/rubocop/cop/style/accessor_grouping.rb
         
     | 
| 
       650 
660 
     | 
    
         
             
            - lib/rubocop/cop/style/alias.rb
         
     | 
| 
      
 661 
     | 
    
         
            +
            - lib/rubocop/cop/style/ambiguous_endless_method_definition.rb
         
     | 
| 
       651 
662 
     | 
    
         
             
            - lib/rubocop/cop/style/and_or.rb
         
     | 
| 
       652 
663 
     | 
    
         
             
            - lib/rubocop/cop/style/arguments_forwarding.rb
         
     | 
| 
       653 
664 
     | 
    
         
             
            - lib/rubocop/cop/style/array_coercion.rb
         
     | 
| 
      
 665 
     | 
    
         
            +
            - lib/rubocop/cop/style/array_first_last.rb
         
     | 
| 
       654 
666 
     | 
    
         
             
            - lib/rubocop/cop/style/array_intersect.rb
         
     | 
| 
       655 
667 
     | 
    
         
             
            - lib/rubocop/cop/style/array_join.rb
         
     | 
| 
       656 
668 
     | 
    
         
             
            - lib/rubocop/cop/style/ascii_comments.rb
         
     | 
| 
         @@ -660,6 +672,7 @@ files: 
     | 
|
| 
       660 
672 
     | 
    
         
             
            - lib/rubocop/cop/style/begin_block.rb
         
     | 
| 
       661 
673 
     | 
    
         
             
            - lib/rubocop/cop/style/bisected_attr_accessor.rb
         
     | 
| 
       662 
674 
     | 
    
         
             
            - lib/rubocop/cop/style/bisected_attr_accessor/macro.rb
         
     | 
| 
      
 675 
     | 
    
         
            +
            - lib/rubocop/cop/style/bitwise_predicate.rb
         
     | 
| 
       663 
676 
     | 
    
         
             
            - lib/rubocop/cop/style/block_comments.rb
         
     | 
| 
       664 
677 
     | 
    
         
             
            - lib/rubocop/cop/style/block_delimiters.rb
         
     | 
| 
       665 
678 
     | 
    
         
             
            - lib/rubocop/cop/style/case_equality.rb
         
     | 
| 
         @@ -675,6 +688,7 @@ files: 
     | 
|
| 
       675 
688 
     | 
    
         
             
            - lib/rubocop/cop/style/collection_methods.rb
         
     | 
| 
       676 
689 
     | 
    
         
             
            - lib/rubocop/cop/style/colon_method_call.rb
         
     | 
| 
       677 
690 
     | 
    
         
             
            - lib/rubocop/cop/style/colon_method_definition.rb
         
     | 
| 
      
 691 
     | 
    
         
            +
            - lib/rubocop/cop/style/combinable_defined.rb
         
     | 
| 
       678 
692 
     | 
    
         
             
            - lib/rubocop/cop/style/combinable_loops.rb
         
     | 
| 
       679 
693 
     | 
    
         
             
            - lib/rubocop/cop/style/command_literal.rb
         
     | 
| 
       680 
694 
     | 
    
         
             
            - lib/rubocop/cop/style/comment_annotation.rb
         
     | 
| 
         @@ -710,6 +724,7 @@ files: 
     | 
|
| 
       710 
724 
     | 
    
         
             
            - lib/rubocop/cop/style/env_home.rb
         
     | 
| 
       711 
725 
     | 
    
         
             
            - lib/rubocop/cop/style/eval_with_location.rb
         
     | 
| 
       712 
726 
     | 
    
         
             
            - lib/rubocop/cop/style/even_odd.rb
         
     | 
| 
      
 727 
     | 
    
         
            +
            - lib/rubocop/cop/style/exact_regexp_match.rb
         
     | 
| 
       713 
728 
     | 
    
         
             
            - lib/rubocop/cop/style/expand_path_arguments.rb
         
     | 
| 
       714 
729 
     | 
    
         
             
            - lib/rubocop/cop/style/explicit_block_argument.rb
         
     | 
| 
       715 
730 
     | 
    
         
             
            - lib/rubocop/cop/style/exponential_notation.rb
         
     | 
| 
         @@ -746,12 +761,14 @@ files: 
     | 
|
| 
       746 
761 
     | 
    
         
             
            - lib/rubocop/cop/style/inverse_methods.rb
         
     | 
| 
       747 
762 
     | 
    
         
             
            - lib/rubocop/cop/style/invertible_unless_condition.rb
         
     | 
| 
       748 
763 
     | 
    
         
             
            - lib/rubocop/cop/style/ip_addresses.rb
         
     | 
| 
      
 764 
     | 
    
         
            +
            - lib/rubocop/cop/style/keyword_arguments_merging.rb
         
     | 
| 
       749 
765 
     | 
    
         
             
            - lib/rubocop/cop/style/keyword_parameters_order.rb
         
     | 
| 
       750 
766 
     | 
    
         
             
            - lib/rubocop/cop/style/lambda.rb
         
     | 
| 
       751 
767 
     | 
    
         
             
            - lib/rubocop/cop/style/lambda_call.rb
         
     | 
| 
       752 
768 
     | 
    
         
             
            - lib/rubocop/cop/style/line_end_concatenation.rb
         
     | 
| 
       753 
769 
     | 
    
         
             
            - lib/rubocop/cop/style/magic_comment_format.rb
         
     | 
| 
       754 
770 
     | 
    
         
             
            - lib/rubocop/cop/style/map_compact_with_conditional_block.rb
         
     | 
| 
      
 771 
     | 
    
         
            +
            - lib/rubocop/cop/style/map_into_array.rb
         
     | 
| 
       755 
772 
     | 
    
         
             
            - lib/rubocop/cop/style/map_to_hash.rb
         
     | 
| 
       756 
773 
     | 
    
         
             
            - lib/rubocop/cop/style/map_to_set.rb
         
     | 
| 
       757 
774 
     | 
    
         
             
            - lib/rubocop/cop/style/method_call_with_args_parentheses.rb
         
     | 
| 
         @@ -814,25 +831,31 @@ files: 
     | 
|
| 
       814 
831 
     | 
    
         
             
            - lib/rubocop/cop/style/raise_args.rb
         
     | 
| 
       815 
832 
     | 
    
         
             
            - lib/rubocop/cop/style/random_with_offset.rb
         
     | 
| 
       816 
833 
     | 
    
         
             
            - lib/rubocop/cop/style/redundant_argument.rb
         
     | 
| 
      
 834 
     | 
    
         
            +
            - lib/rubocop/cop/style/redundant_array_constructor.rb
         
     | 
| 
       817 
835 
     | 
    
         
             
            - lib/rubocop/cop/style/redundant_assignment.rb
         
     | 
| 
       818 
836 
     | 
    
         
             
            - lib/rubocop/cop/style/redundant_begin.rb
         
     | 
| 
       819 
837 
     | 
    
         
             
            - lib/rubocop/cop/style/redundant_capital_w.rb
         
     | 
| 
       820 
838 
     | 
    
         
             
            - lib/rubocop/cop/style/redundant_condition.rb
         
     | 
| 
       821 
839 
     | 
    
         
             
            - lib/rubocop/cop/style/redundant_conditional.rb
         
     | 
| 
       822 
840 
     | 
    
         
             
            - lib/rubocop/cop/style/redundant_constant_base.rb
         
     | 
| 
      
 841 
     | 
    
         
            +
            - lib/rubocop/cop/style/redundant_current_directory_in_path.rb
         
     | 
| 
       823 
842 
     | 
    
         
             
            - lib/rubocop/cop/style/redundant_double_splat_hash_braces.rb
         
     | 
| 
       824 
843 
     | 
    
         
             
            - lib/rubocop/cop/style/redundant_each.rb
         
     | 
| 
       825 
844 
     | 
    
         
             
            - lib/rubocop/cop/style/redundant_exception.rb
         
     | 
| 
       826 
845 
     | 
    
         
             
            - lib/rubocop/cop/style/redundant_fetch_block.rb
         
     | 
| 
       827 
846 
     | 
    
         
             
            - lib/rubocop/cop/style/redundant_file_extension_in_require.rb
         
     | 
| 
      
 847 
     | 
    
         
            +
            - lib/rubocop/cop/style/redundant_filter_chain.rb
         
     | 
| 
       828 
848 
     | 
    
         
             
            - lib/rubocop/cop/style/redundant_freeze.rb
         
     | 
| 
       829 
849 
     | 
    
         
             
            - lib/rubocop/cop/style/redundant_heredoc_delimiter_quotes.rb
         
     | 
| 
       830 
850 
     | 
    
         
             
            - lib/rubocop/cop/style/redundant_initialize.rb
         
     | 
| 
       831 
851 
     | 
    
         
             
            - lib/rubocop/cop/style/redundant_interpolation.rb
         
     | 
| 
      
 852 
     | 
    
         
            +
            - lib/rubocop/cop/style/redundant_interpolation_unfreeze.rb
         
     | 
| 
       832 
853 
     | 
    
         
             
            - lib/rubocop/cop/style/redundant_line_continuation.rb
         
     | 
| 
       833 
854 
     | 
    
         
             
            - lib/rubocop/cop/style/redundant_parentheses.rb
         
     | 
| 
       834 
855 
     | 
    
         
             
            - lib/rubocop/cop/style/redundant_percent_q.rb
         
     | 
| 
      
 856 
     | 
    
         
            +
            - lib/rubocop/cop/style/redundant_regexp_argument.rb
         
     | 
| 
       835 
857 
     | 
    
         
             
            - lib/rubocop/cop/style/redundant_regexp_character_class.rb
         
     | 
| 
      
 858 
     | 
    
         
            +
            - lib/rubocop/cop/style/redundant_regexp_constructor.rb
         
     | 
| 
       836 
859 
     | 
    
         
             
            - lib/rubocop/cop/style/redundant_regexp_escape.rb
         
     | 
| 
       837 
860 
     | 
    
         
             
            - lib/rubocop/cop/style/redundant_return.rb
         
     | 
| 
       838 
861 
     | 
    
         
             
            - lib/rubocop/cop/style/redundant_self.rb
         
     | 
| 
         @@ -846,15 +869,19 @@ files: 
     | 
|
| 
       846 
869 
     | 
    
         
             
            - lib/rubocop/cop/style/rescue_modifier.rb
         
     | 
| 
       847 
870 
     | 
    
         
             
            - lib/rubocop/cop/style/rescue_standard_error.rb
         
     | 
| 
       848 
871 
     | 
    
         
             
            - lib/rubocop/cop/style/return_nil.rb
         
     | 
| 
      
 872 
     | 
    
         
            +
            - lib/rubocop/cop/style/return_nil_in_predicate_method_definition.rb
         
     | 
| 
       849 
873 
     | 
    
         
             
            - lib/rubocop/cop/style/safe_navigation.rb
         
     | 
| 
      
 874 
     | 
    
         
            +
            - lib/rubocop/cop/style/safe_navigation_chain_length.rb
         
     | 
| 
       850 
875 
     | 
    
         
             
            - lib/rubocop/cop/style/sample.rb
         
     | 
| 
       851 
876 
     | 
    
         
             
            - lib/rubocop/cop/style/select_by_regexp.rb
         
     | 
| 
       852 
877 
     | 
    
         
             
            - lib/rubocop/cop/style/self_assignment.rb
         
     | 
| 
       853 
878 
     | 
    
         
             
            - lib/rubocop/cop/style/semicolon.rb
         
     | 
| 
       854 
879 
     | 
    
         
             
            - lib/rubocop/cop/style/send.rb
         
     | 
| 
      
 880 
     | 
    
         
            +
            - lib/rubocop/cop/style/send_with_literal_method_name.rb
         
     | 
| 
       855 
881 
     | 
    
         
             
            - lib/rubocop/cop/style/signal_exception.rb
         
     | 
| 
       856 
882 
     | 
    
         
             
            - lib/rubocop/cop/style/single_argument_dig.rb
         
     | 
| 
       857 
883 
     | 
    
         
             
            - lib/rubocop/cop/style/single_line_block_params.rb
         
     | 
| 
      
 884 
     | 
    
         
            +
            - lib/rubocop/cop/style/single_line_do_end_block.rb
         
     | 
| 
       858 
885 
     | 
    
         
             
            - lib/rubocop/cop/style/single_line_methods.rb
         
     | 
| 
       859 
886 
     | 
    
         
             
            - lib/rubocop/cop/style/slicing_with_range.rb
         
     | 
| 
       860 
887 
     | 
    
         
             
            - lib/rubocop/cop/style/sole_nested_conditional.rb
         
     | 
| 
         @@ -870,6 +897,8 @@ files: 
     | 
|
| 
       870 
897 
     | 
    
         
             
            - lib/rubocop/cop/style/string_methods.rb
         
     | 
| 
       871 
898 
     | 
    
         
             
            - lib/rubocop/cop/style/strip.rb
         
     | 
| 
       872 
899 
     | 
    
         
             
            - lib/rubocop/cop/style/struct_inheritance.rb
         
     | 
| 
      
 900 
     | 
    
         
            +
            - lib/rubocop/cop/style/super_arguments.rb
         
     | 
| 
      
 901 
     | 
    
         
            +
            - lib/rubocop/cop/style/super_with_args_parentheses.rb
         
     | 
| 
       873 
902 
     | 
    
         
             
            - lib/rubocop/cop/style/swap_values.rb
         
     | 
| 
       874 
903 
     | 
    
         
             
            - lib/rubocop/cop/style/symbol_array.rb
         
     | 
| 
       875 
904 
     | 
    
         
             
            - lib/rubocop/cop/style/symbol_literal.rb
         
     | 
| 
         @@ -894,12 +923,14 @@ files: 
     | 
|
| 
       894 
923 
     | 
    
         
             
            - lib/rubocop/cop/style/while_until_do.rb
         
     | 
| 
       895 
924 
     | 
    
         
             
            - lib/rubocop/cop/style/while_until_modifier.rb
         
     | 
| 
       896 
925 
     | 
    
         
             
            - lib/rubocop/cop/style/word_array.rb
         
     | 
| 
      
 926 
     | 
    
         
            +
            - lib/rubocop/cop/style/yaml_file_read.rb
         
     | 
| 
       897 
927 
     | 
    
         
             
            - lib/rubocop/cop/style/yoda_condition.rb
         
     | 
| 
       898 
928 
     | 
    
         
             
            - lib/rubocop/cop/style/yoda_expression.rb
         
     | 
| 
       899 
929 
     | 
    
         
             
            - lib/rubocop/cop/style/zero_length_predicate.rb
         
     | 
| 
       900 
930 
     | 
    
         
             
            - lib/rubocop/cop/team.rb
         
     | 
| 
       901 
931 
     | 
    
         
             
            - lib/rubocop/cop/util.rb
         
     | 
| 
       902 
932 
     | 
    
         
             
            - lib/rubocop/cop/utils/format_string.rb
         
     | 
| 
      
 933 
     | 
    
         
            +
            - lib/rubocop/cop/utils/regexp_ranges.rb
         
     | 
| 
       903 
934 
     | 
    
         
             
            - lib/rubocop/cop/variable_force.rb
         
     | 
| 
       904 
935 
     | 
    
         
             
            - lib/rubocop/cop/variable_force/assignment.rb
         
     | 
| 
       905 
936 
     | 
    
         
             
            - lib/rubocop/cop/variable_force/branch.rb
         
     | 
| 
         @@ -930,7 +961,7 @@ files: 
     | 
|
| 
       930 
961 
     | 
    
         
             
            - lib/rubocop/formatter/file_list_formatter.rb
         
     | 
| 
       931 
962 
     | 
    
         
             
            - lib/rubocop/formatter/formatter_set.rb
         
     | 
| 
       932 
963 
     | 
    
         
             
            - lib/rubocop/formatter/fuubar_style_formatter.rb
         
     | 
| 
       933 
     | 
    
         
            -
            - lib/rubocop/formatter/ 
     | 
| 
      
 964 
     | 
    
         
            +
            - lib/rubocop/formatter/github_actions_formatter.rb
         
     | 
| 
       934 
965 
     | 
    
         
             
            - lib/rubocop/formatter/html_formatter.rb
         
     | 
| 
       935 
966 
     | 
    
         
             
            - lib/rubocop/formatter/json_formatter.rb
         
     | 
| 
       936 
967 
     | 
    
         
             
            - lib/rubocop/formatter/junit_formatter.rb
         
     | 
| 
         @@ -944,6 +975,12 @@ files: 
     | 
|
| 
       944 
975 
     | 
    
         
             
            - lib/rubocop/formatter/text_util.rb
         
     | 
| 
       945 
976 
     | 
    
         
             
            - lib/rubocop/formatter/worst_offenders_formatter.rb
         
     | 
| 
       946 
977 
     | 
    
         
             
            - lib/rubocop/lockfile.rb
         
     | 
| 
      
 978 
     | 
    
         
            +
            - lib/rubocop/lsp.rb
         
     | 
| 
      
 979 
     | 
    
         
            +
            - lib/rubocop/lsp/logger.rb
         
     | 
| 
      
 980 
     | 
    
         
            +
            - lib/rubocop/lsp/routes.rb
         
     | 
| 
      
 981 
     | 
    
         
            +
            - lib/rubocop/lsp/runtime.rb
         
     | 
| 
      
 982 
     | 
    
         
            +
            - lib/rubocop/lsp/server.rb
         
     | 
| 
      
 983 
     | 
    
         
            +
            - lib/rubocop/lsp/severity.rb
         
     | 
| 
       947 
984 
     | 
    
         
             
            - lib/rubocop/magic_comment.rb
         
     | 
| 
       948 
985 
     | 
    
         
             
            - lib/rubocop/name_similarity.rb
         
     | 
| 
       949 
986 
     | 
    
         
             
            - lib/rubocop/options.rb
         
     | 
| 
         @@ -989,9 +1026,9 @@ licenses: 
     | 
|
| 
       989 
1026 
     | 
    
         
             
            - MIT
         
     | 
| 
       990 
1027 
     | 
    
         
             
            metadata:
         
     | 
| 
       991 
1028 
     | 
    
         
             
              homepage_uri: https://rubocop.org/
         
     | 
| 
       992 
     | 
    
         
            -
              changelog_uri: https://github.com/rubocop/rubocop/ 
     | 
| 
      
 1029 
     | 
    
         
            +
              changelog_uri: https://github.com/rubocop/rubocop/releases/tag/v1.68.0
         
     | 
| 
       993 
1030 
     | 
    
         
             
              source_code_uri: https://github.com/rubocop/rubocop/
         
     | 
| 
       994 
     | 
    
         
            -
              documentation_uri: https://docs.rubocop.org/rubocop/1. 
     | 
| 
      
 1031 
     | 
    
         
            +
              documentation_uri: https://docs.rubocop.org/rubocop/1.68/
         
     | 
| 
       995 
1032 
     | 
    
         
             
              bug_tracker_uri: https://github.com/rubocop/rubocop/issues
         
     | 
| 
       996 
1033 
     | 
    
         
             
              rubygems_mfa_required: 'true'
         
     | 
| 
       997 
1034 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
         @@ -1002,14 +1039,14 @@ required_ruby_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       1002 
1039 
     | 
    
         
             
              requirements:
         
     | 
| 
       1003 
1040 
     | 
    
         
             
              - - ">="
         
     | 
| 
       1004 
1041 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       1005 
     | 
    
         
            -
                  version: 2. 
     | 
| 
      
 1042 
     | 
    
         
            +
                  version: 2.7.0
         
     | 
| 
       1006 
1043 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       1007 
1044 
     | 
    
         
             
              requirements:
         
     | 
| 
       1008 
1045 
     | 
    
         
             
              - - ">="
         
     | 
| 
       1009 
1046 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       1010 
1047 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       1011 
1048 
     | 
    
         
             
            requirements: []
         
     | 
| 
       1012 
     | 
    
         
            -
            rubygems_version: 3.4. 
     | 
| 
      
 1049 
     | 
    
         
            +
            rubygems_version: 3.4.22
         
     | 
| 
       1013 
1050 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       1014 
1051 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       1015 
1052 
     | 
    
         
             
            summary: Automatic Ruby code style checking tool.
         
     | 
| 
         
            File without changes
         
     |