[DRE-commits] [rubocop] branch master updated (195998e -> 607ef8e)
Miguel Landaeta
nomadium at moszumanska.debian.org
Mon Jan 16 22:03:47 UTC 2017
This is an automated email from the git hooks/post-receive script.
nomadium pushed a change to branch master
in repository rubocop.
from 195998e Upload to unstable
adds 7e66a24 Imported Upstream version 0.47.0
new 32c806a Merge tag 'upstream/0.47.0'
new ace1849 Start work on 0.47.0-1
new 05beec7 Add get-orig-source target to d/rules
new 4e2b564 Update dates in d/copyright file
new eab3f4c Fix typo in d/patches/02-disable-tests-relying-on-rubygems-features.diff
new f6be89f Refresh patch d/patches/01-relax-ruby-progressbar-dependency-version.diff
new 607ef8e Upload to unstable
The 7 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
.editorconfig | 12 +
.rubocop.yml | 6 +
.rubocop_todo.yml | 12 +-
.travis.yml | 5 +-
CHANGELOG.md | 78 +-
Gemfile | 4 +-
LICENSE.txt | 2 +-
README.md | 79 +-
config/default.yml | 225 ++++--
config/disabled.yml | 9 +
config/enabled.yml | 58 +-
debian/changelog | 10 +
debian/copyright | 4 +-
...-relax-ruby-progressbar-dependency-version.diff | 2 +-
...disable-tests-relying-on-rubygems-features.diff | 2 +-
debian/rules | 3 +
lib/rubocop.rb | 44 +-
lib/rubocop/ast/builder.rb | 59 ++
lib/rubocop/ast/node.rb | 607 +++++++++++++++
lib/rubocop/ast/node/array_node.rb | 45 ++
lib/rubocop/ast/node/case_node.rb | 63 ++
lib/rubocop/ast/node/for_node.rb | 53 ++
lib/rubocop/ast/node/hash_node.rb | 102 +++
lib/rubocop/ast/node/if_node.rb | 136 ++++
lib/rubocop/ast/node/keyword_splat_node.rb | 45 ++
lib/rubocop/ast/node/mixin/conditional_node.rb | 45 ++
lib/rubocop/ast/node/mixin/hash_element_node.rb | 125 ++++
lib/rubocop/ast/node/mixin/modifier_node.rb | 17 +
lib/rubocop/ast/node/pair_node.rb | 64 ++
lib/rubocop/ast/node/until_node.rb | 43 ++
lib/rubocop/ast/node/when_node.rb | 61 ++
lib/rubocop/ast/node/while_node.rb | 43 ++
lib/rubocop/ast/sexp.rb | 16 +
lib/rubocop/{ast_node => ast}/traversal.rb | 2 +-
lib/rubocop/ast_node.rb | 624 ----------------
lib/rubocop/ast_node/builder.rb | 30 -
lib/rubocop/ast_node/sexp.rb | 13 -
lib/rubocop/cli.rb | 32 +-
lib/rubocop/comment_config.rb | 4 +-
lib/rubocop/config.rb | 128 +++-
lib/rubocop/config_loader.rb | 2 +-
lib/rubocop/cop/badge.rb | 73 ++
lib/rubocop/cop/bundler/duplicated_gem.rb | 4 +-
lib/rubocop/cop/bundler/ordered_gems.rb | 46 +-
lib/rubocop/cop/commissioner.rb | 23 +-
lib/rubocop/cop/cop.rb | 137 +---
lib/rubocop/cop/lint/ambiguous_operator.rb | 13 +-
lib/rubocop/cop/lint/ambiguous_regexp_literal.rb | 7 +
lib/rubocop/cop/lint/assignment_in_condition.rb | 22 +-
lib/rubocop/cop/lint/block_alignment.rb | 49 +-
.../cop/lint/circular_argument_reference.rb | 14 +
lib/rubocop/cop/lint/condition_position.rb | 30 +-
lib/rubocop/cop/lint/debugger.rb | 28 +
lib/rubocop/cop/lint/def_end_alignment.rb | 22 +-
lib/rubocop/cop/lint/deprecated_class_methods.rb | 14 +-
lib/rubocop/cop/lint/duplicate_case_condition.rb | 48 +-
lib/rubocop/cop/lint/duplicate_methods.rb | 16 +-
lib/rubocop/cop/lint/duplicated_key.rb | 24 +-
lib/rubocop/cop/lint/each_with_object_argument.rb | 9 +
lib/rubocop/cop/lint/else_layout.rb | 55 +-
lib/rubocop/cop/lint/empty_ensure.rb | 38 +
lib/rubocop/cop/lint/empty_expression.rb | 12 +-
lib/rubocop/cop/lint/empty_interpolation.rb | 8 +
lib/rubocop/cop/lint/empty_when.rb | 30 +-
lib/rubocop/cop/lint/end_alignment.rb | 76 +-
lib/rubocop/cop/lint/end_in_method.rb | 23 +
lib/rubocop/cop/lint/ensure_return.rb | 21 +
lib/rubocop/cop/lint/float_out_of_range.rb | 5 +
lib/rubocop/cop/lint/format_parameter_mismatch.rb | 33 +-
lib/rubocop/cop/lint/handle_exceptions.rb | 40 +
.../cop/lint/implicit_string_concatenation.rb | 9 +-
.../cop/lint/ineffective_access_modifier.rb | 13 +-
lib/rubocop/cop/lint/invalid_character_literal.rb | 3 +
lib/rubocop/cop/lint/literal_in_condition.rb | 70 +-
lib/rubocop/cop/lint/literal_in_interpolation.rb | 8 +
lib/rubocop/cop/lint/loop.rb | 36 +
lib/rubocop/cop/lint/multiple_compare.rb | 46 ++
lib/rubocop/cop/lint/nested_method_definition.rb | 22 +
lib/rubocop/cop/lint/next_without_accumulator.rb | 5 +
.../cop/lint/parentheses_as_grouped_expression.rb | 8 +
lib/rubocop/cop/lint/percent_string_array.rb | 40 +-
lib/rubocop/cop/lint/percent_symbol_array.rb | 18 +-
lib/rubocop/cop/lint/rand_one.rb | 10 +-
lib/rubocop/cop/lint/require_parentheses.rb | 39 +-
lib/rubocop/cop/lint/rescue_exception.rb | 20 +
lib/rubocop/cop/lint/safe_navigation_chain.rb | 66 ++
lib/rubocop/cop/lint/shadowed_exception.rb | 7 +-
.../cop/lint/shadowing_outer_local_variable.rb | 24 +
.../cop/lint/string_conversion_in_interpolation.rb | 8 +
.../cop/lint/underscore_prefixed_variable_name.rb | 24 +
lib/rubocop/cop/lint/unified_integer.rb | 5 +
lib/rubocop/cop/lint/unneeded_disable.rb | 4 +-
lib/rubocop/cop/lint/unneeded_splat_expansion.rb | 5 +
lib/rubocop/cop/lint/unreachable_code.rb | 17 +
lib/rubocop/cop/lint/unused_block_argument.rb | 2 +
lib/rubocop/cop/lint/unused_method_argument.rb | 10 +
lib/rubocop/cop/lint/useless_access_modifier.rb | 29 +-
lib/rubocop/cop/lint/useless_assignment.rb | 18 +
lib/rubocop/cop/lint/useless_comparison.rb | 4 +-
.../cop/lint/useless_else_without_rescue.rb | 17 +-
lib/rubocop/cop/lint/useless_setter_call.rb | 20 +-
lib/rubocop/cop/lint/void.rb | 52 ++
lib/rubocop/cop/message_annotator.rb | 102 +++
lib/rubocop/cop/metrics/block_length.rb | 6 +
lib/rubocop/cop/metrics/block_nesting.rb | 22 +-
lib/rubocop/cop/metrics/line_length.rb | 15 +-
lib/rubocop/cop/metrics/perceived_complexity.rb | 3 +-
lib/rubocop/cop/mixin/array_syntax.rb | 13 +-
.../cop/mixin/configurable_enforced_style.rb | 17 +-
...urable_naming.rb => configurable_formatting.rb} | 24 +-
lib/rubocop/cop/mixin/configurable_max.rb | 6 +-
lib/rubocop/cop/mixin/configurable_naming.rb | 38 +-
lib/rubocop/cop/mixin/configurable_numbering.rb | 53 +-
lib/rubocop/cop/mixin/documentation_comment.rb | 8 +-
lib/rubocop/cop/mixin/duplication.rb | 46 ++
lib/rubocop/cop/mixin/end_keyword_alignment.rb | 4 +-
lib/rubocop/cop/mixin/frozen_string_literal.rb | 25 +-
lib/rubocop/cop/mixin/hash_alignment.rb | 114 +++
lib/rubocop/cop/mixin/hash_node.rb | 14 -
lib/rubocop/cop/mixin/if_node.rb | 42 --
.../cop/mixin/multiline_expression_indentation.rb | 6 +-
lib/rubocop/cop/mixin/negative_conditional.rb | 28 +-
lib/rubocop/cop/mixin/on_method_def.rb | 14 +
lib/rubocop/cop/mixin/on_normal_if_unless.rb | 25 +-
lib/rubocop/cop/mixin/statement_modifier.rb | 21 +-
lib/rubocop/cop/mixin/target_ruby_version.rb | 16 +
lib/rubocop/cop/mixin/trailing_comma.rb | 5 +-
lib/rubocop/cop/offense.rb | 2 +-
lib/rubocop/cop/performance/case_when_splat.rb | 115 ++-
lib/rubocop/cop/performance/detect.rb | 4 +-
lib/rubocop/cop/performance/flat_map.rb | 6 +-
lib/rubocop/cop/performance/redundant_merge.rb | 9 +-
lib/rubocop/cop/performance/regexp_match.rb | 201 +++++
lib/rubocop/cop/rails/delegate.rb | 4 +-
lib/rubocop/cop/rails/delegate_allow_blank.rb | 29 +-
lib/rubocop/cop/rails/enum_uniqueness.rb | 52 +-
lib/rubocop/cop/rails/file_path.rb | 80 ++
lib/rubocop/cop/rails/find_each.rb | 19 +-
lib/rubocop/cop/rails/http_positional_arguments.rb | 54 +-
lib/rubocop/cop/rails/not_null_column.rb | 23 +
lib/rubocop/cop/rails/reversible_migration.rb | 217 ++++++
lib/rubocop/cop/rails/safe_navigation.rb | 6 +-
lib/rubocop/cop/rails/skips_model_validations.rb | 46 ++
lib/rubocop/cop/rails/time_zone.rb | 2 +-
lib/rubocop/cop/rails/uniq_before_pluck.rb | 12 +-
lib/rubocop/cop/registry.rb | 170 +++++
lib/rubocop/cop/{lint => security}/eval.rb | 8 +-
lib/rubocop/cop/security/marshal_load.rb | 33 +
lib/rubocop/cop/security/yaml_load.rb | 37 +
lib/rubocop/cop/style/align_hash.rb | 307 ++++----
lib/rubocop/cop/style/and_or.rb | 2 +-
.../cop/style/braces_around_hash_parameters.rb | 25 +-
lib/rubocop/cop/style/case_indentation.rb | 63 +-
lib/rubocop/cop/style/conditional_assignment.rb | 111 +--
lib/rubocop/cop/style/each_with_object.rb | 5 +-
lib/rubocop/cop/style/else_alignment.rb | 34 +-
lib/rubocop/cop/style/empty_case_condition.rb | 41 +-
lib/rubocop/cop/style/empty_else.rb | 42 +-
lib/rubocop/cop/style/empty_literal.rb | 8 +-
lib/rubocop/cop/style/empty_method.rb | 18 +-
lib/rubocop/cop/style/encoding.rb | 2 +-
lib/rubocop/cop/style/file_name.rb | 28 +-
.../cop/style/first_method_argument_line_break.rb | 2 +-
lib/rubocop/cop/style/format_string.rb | 65 +-
.../cop/style/frozen_string_literal_comment.rb | 51 +-
lib/rubocop/cop/style/guard_clause.rb | 28 +-
lib/rubocop/cop/style/hash_syntax.rb | 66 +-
.../cop/style/identical_conditional_branches.rb | 68 +-
lib/rubocop/cop/style/if_inside_else.rb | 15 +-
lib/rubocop/cop/style/if_unless_modifier.rb | 41 +-
.../cop/style/if_unless_modifier_of_if_unless.rb | 12 +-
lib/rubocop/cop/style/indent_array.rb | 2 +-
lib/rubocop/cop/style/indentation_width.rb | 89 +--
lib/rubocop/cop/style/infinite_loop.rb | 43 +-
.../cop/style/method_call_with_args_parentheses.rb | 86 +++
....rb => method_call_without_args_parentheses.rb} | 9 +-
lib/rubocop/cop/style/missing_else.rb | 54 +-
lib/rubocop/cop/style/multiline_if_modifier.rb | 20 +-
lib/rubocop/cop/style/multiline_if_then.rb | 22 +-
.../cop/style/multiline_method_call_indentation.rb | 6 +-
.../cop/style/multiline_ternary_operator.rb | 6 +-
lib/rubocop/cop/style/mutable_constant.rb | 5 +-
lib/rubocop/cop/style/negated_if.rb | 22 +-
lib/rubocop/cop/style/negated_while.rb | 19 +-
lib/rubocop/cop/style/nested_modifier.rb | 59 +-
lib/rubocop/cop/style/nested_ternary_operator.rb | 8 +-
lib/rubocop/cop/style/next.rb | 44 +-
lib/rubocop/cop/style/non_nil_check.rb | 5 +-
lib/rubocop/cop/style/not.rb | 4 +-
lib/rubocop/cop/style/numeric_literals.rb | 4 +-
lib/rubocop/cop/style/one_line_conditional.rb | 34 +-
lib/rubocop/cop/style/option_hash.rb | 19 +-
lib/rubocop/cop/style/parallel_assignment.rb | 4 +-
.../cop/style/parentheses_around_condition.rb | 20 +-
lib/rubocop/cop/style/percent_q_literals.rb | 27 +-
lib/rubocop/cop/style/redundant_freeze.rb | 5 +-
lib/rubocop/cop/style/redundant_parentheses.rb | 31 +-
lib/rubocop/cop/style/redundant_return.rb | 12 +-
lib/rubocop/cop/style/safe_navigation.rb | 19 +-
lib/rubocop/cop/style/space_after_colon.rb | 6 +-
.../cop/style/space_around_block_parameters.rb | 2 +-
lib/rubocop/cop/style/space_around_operators.rb | 28 +-
lib/rubocop/cop/style/string_methods.rb | 4 +-
lib/rubocop/cop/style/symbol_array.rb | 6 +-
lib/rubocop/cop/style/ternary_parentheses.rb | 11 +-
.../cop/style/trailing_comma_in_arguments.rb | 7 +-
lib/rubocop/cop/style/trailing_comma_in_literal.rb | 2 +-
lib/rubocop/cop/style/unless_else.rb | 6 +-
lib/rubocop/cop/style/when_then.rb | 6 +-
lib/rubocop/cop/style/while_until_do.rb | 22 +-
lib/rubocop/cop/style/while_until_modifier.rb | 23 +-
lib/rubocop/cop/style/word_array.rb | 14 +-
lib/rubocop/cop/team.rb | 31 +-
lib/rubocop/cop/util.rb | 16 +-
lib/rubocop/formatter/clang_style_formatter.rb | 4 +-
lib/rubocop/formatter/disabled_config_formatter.rb | 3 +-
lib/rubocop/magic_comment.rb | 196 +++++
lib/rubocop/options.rb | 9 +-
lib/rubocop/processed_source.rb | 2 +-
lib/rubocop/rspec/cop_helper.rb | 9 +
lib/rubocop/rspec/shared_examples.rb | 2 +-
lib/rubocop/runner.rb | 9 +-
lib/rubocop/version.rb | 2 +-
manual/automated_code_review.md | 22 +
manual/cops.md | 62 +-
manual/cops_bundler.md | 2 +-
manual/cops_lint.md | 826 +++++++++++++++++++--
manual/cops_metrics.md | 11 +-
manual/cops_performance.md | 65 ++
manual/cops_rails.md | 179 ++++-
manual/cops_security.md | 72 ++
manual/cops_style.md | 250 ++++++-
manual/installation.md | 2 +-
manual/integration_with_other_tools.md | 4 +-
mkdocs.yml | 1 +
relnotes/{v0.46.0.md => v0.47.0.md} | 86 ++-
rubocop.gemspec | 2 +-
spec/isolated_environment_spec.rb | 5 +-
spec/project_spec.rb | 53 +-
spec/rubocop/ast/array_node_spec.rb | 75 ++
spec/rubocop/ast/case_node_spec.rb | 109 +++
spec/rubocop/ast/for_node_spec.rb | 51 ++
spec/rubocop/ast/hash_node_spec.rb | 218 ++++++
spec/rubocop/ast/if_node_spec.rb | 360 +++++++++
spec/rubocop/ast/keyword_splat_node_spec.rb | 365 +++++++++
.../rubocop/{ast_node_spec.rb => ast/node_spec.rb} | 12 +-
spec/rubocop/ast/pair_node_spec.rb | 698 +++++++++++++++++
spec/rubocop/ast/until_node_spec.rb | 47 ++
spec/rubocop/ast/when_node_spec.rb | 122 +++
spec/rubocop/ast/while_node_spec.rb | 47 ++
spec/rubocop/cli/cli_auto_gen_config_spec.rb | 26 +-
spec/rubocop/cli/cli_autocorrect_spec.rb | 24 +-
spec/rubocop/cli/cli_options_spec.rb | 67 +-
spec/rubocop/cli_spec.rb | 44 +-
spec/rubocop/comment_config_spec.rb | 6 +-
spec/rubocop/config_loader_spec.rb | 2 +-
spec/rubocop/config_spec.rb | 134 +++-
spec/rubocop/config_store_spec.rb | 4 +-
spec/rubocop/cop/badge_spec.rb | 55 ++
spec/rubocop/cop/bundler/ordered_gems_spec.rb | 126 +++-
spec/rubocop/cop/commissioner_spec.rb | 8 +-
spec/rubocop/cop/cop_spec.rb | 131 +---
spec/rubocop/cop/lint/block_alignment_spec.rb | 6 +-
.../cop/lint/circular_argument_reference_spec.rb | 4 +-
spec/rubocop/cop/lint/def_end_alignment_spec.rb | 8 +-
spec/rubocop/cop/lint/empty_interpolation_spec.rb | 4 +-
spec/rubocop/cop/lint/end_alignment_spec.rb | 36 +-
spec/rubocop/cop/lint/ensure_return_spec.rb | 2 +-
.../cop/lint/format_parameter_mismatch_spec.rb | 28 +
spec/rubocop/cop/lint/literal_in_condition_spec.rb | 2 +-
spec/rubocop/cop/lint/multiple_compare_spec.rb | 39 +
.../rubocop/cop/lint/safe_navigation_chain_spec.rb | 104 +++
spec/rubocop/cop/lint/unneeded_disable_spec.rb | 2 +-
.../cop/lint/unneeded_splat_expansion_spec.rb | 8 +-
.../cop/lint/useless_access_modifier_spec.rb | 30 +
spec/rubocop/cop/lint/void_spec.rb | 12 +
spec/rubocop/cop/message_annotator_spec.rb | 117 +++
spec/rubocop/cop/metrics/block_length_spec.rb | 22 +
spec/rubocop/cop/metrics/block_nesting_spec.rb | 48 ++
spec/rubocop/cop/performance/count_spec.rb | 4 +-
spec/rubocop/cop/performance/detect_spec.rb | 2 +-
spec/rubocop/cop/performance/regexp_match_spec.rb | 264 +++++++
spec/rubocop/cop/rails/delegate_spec.rb | 4 +-
spec/rubocop/cop/rails/enum_uniqueness_spec.rb | 65 +-
spec/rubocop/cop/rails/exit_spec.rb | 3 +-
spec/rubocop/cop/rails/file_path_spec.rb | 43 ++
.../cop/rails/http_positional_arguments_spec.rb | 63 +-
spec/rubocop/cop/rails/not_null_column_spec.rb | 24 +
.../cop/rails/pluralization_grammar_spec.rb | 2 +-
.../rubocop/cop/rails/reversible_migration_spec.rb | 131 ++++
spec/rubocop/cop/rails/scope_args_spec.rb | 2 +-
.../cop/rails/skips_model_validations_spec.rb | 58 ++
spec/rubocop/cop/rails/time_zone_spec.rb | 6 +-
spec/rubocop/cop/rails/uniq_before_pluck_spec.rb | 4 +-
spec/rubocop/cop/registry_spec.rb | 167 +++++
spec/rubocop/cop/{lint => security}/eval_spec.rb | 2 +-
spec/rubocop/cop/security/json_load_spec.rb | 4 +-
spec/rubocop/cop/security/marshal_load_spec.rb | 25 +
spec/rubocop/cop/security/yaml_load_spec.rb | 28 +
.../style/braces_around_hash_parameters_spec.rb | 10 +-
spec/rubocop/cop/style/case_indentation_spec.rb | 18 +-
...ditional_assignment_assign_in_condition_spec.rb | 73 +-
...ditional_assignment_assign_to_condition_spec.rb | 115 ++-
.../rubocop/cop/style/documentation_method_spec.rb | 22 +
spec/rubocop/cop/style/documentation_spec.rb | 12 +-
.../rubocop/cop/style/each_for_simple_loop_spec.rb | 4 +-
spec/rubocop/cop/style/each_with_object_spec.rb | 14 +-
spec/rubocop/cop/style/else_alignment_spec.rb | 4 +-
.../style/empty_lines_around_class_body_spec.rb | 2 +-
spec/rubocop/cop/style/empty_method_spec.rb | 75 +-
spec/rubocop/cop/style/encoding_spec.rb | 4 +-
spec/rubocop/cop/style/end_of_line_spec.rb | 2 +-
spec/rubocop/cop/style/file_name_spec.rb | 77 ++
spec/rubocop/cop/style/format_string_spec.rb | 8 +
.../style/frozen_string_literal_comment_spec.rb | 272 ++++++-
spec/rubocop/cop/style/hash_syntax_spec.rb | 30 +
.../style/identical_conditional_branches_spec.rb | 89 ++-
spec/rubocop/cop/style/indentation_width_spec.rb | 10 +-
.../method_call_with_args_parentheses_spec.rb | 85 +++
...> method_call_without_args_parentheses_spec.rb} | 2 +-
.../multiline_method_call_indentation_spec.rb | 4 +-
.../cop/style/nested_parenthesized_calls_spec.rb | 2 +-
spec/rubocop/cop/style/next_spec.rb | 15 +
spec/rubocop/cop/style/numeric_literals_spec.rb | 5 +-
spec/rubocop/cop/style/option_hash_spec.rb | 4 +-
spec/rubocop/cop/style/parallel_assignment_spec.rb | 6 +-
spec/rubocop/cop/style/redundant_begin_spec.rb | 6 +-
.../cop/style/redundant_parentheses_spec.rb | 55 ++
spec/rubocop/cop/style/redundant_return_spec.rb | 6 +-
spec/rubocop/cop/style/redundant_self_spec.rb | 7 +-
spec/rubocop/cop/style/safe_navigation_spec.rb | 18 -
spec/rubocop/cop/style/send_spec.rb | 4 +-
.../style/space_around_block_parameters_spec.rb | 2 +-
...pace_around_equals_in_parameter_default_spec.rb | 4 +-
.../cop/style/space_around_operators_spec.rb | 45 +-
.../cop/style/space_inside_block_braces_spec.rb | 2 +-
spec/rubocop/cop/style/string_methods_spec.rb | 28 +-
spec/rubocop/cop/style/struct_inheritance_spec.rb | 2 +-
.../cop/style/trailing_underscore_variable_spec.rb | 4 +-
spec/rubocop/cop/style/when_then_spec.rb | 11 +
spec/rubocop/cop/team_spec.rb | 23 +-
spec/rubocop/cop/util_spec.rb | 14 +
spec/rubocop/cop/variable_force/assignment_spec.rb | 2 +-
spec/rubocop/cop/variable_force/locatable_spec.rb | 2 +-
spec/rubocop/cop/variable_force/reference_spec.rb | 4 +-
spec/rubocop/cop/variable_force/scope_spec.rb | 2 +-
spec/rubocop/cop/variable_force/variable_spec.rb | 4 +-
.../cop/variable_force/variable_table_spec.rb | 2 +-
spec/rubocop/cop/variable_force_spec.rb | 4 +-
.../formatter/disabled_config_formatter_spec.rb | 4 +-
.../formatter/disabled_lines_formatter_spec.rb | 2 +-
.../formatter/offense_count_formatter_spec.rb | 2 +-
spec/rubocop/magic_comment_spec.rb | 112 +++
spec/rubocop/node_pattern_spec.rb | 22 +-
spec/rubocop/options_spec.rb | 16 +-
spec/rubocop/path_util_spec.rb | 53 +-
spec/rubocop/processed_source_spec.rb | 2 +-
spec/rubocop/rake_task_spec.rb | 30 +-
spec/rubocop/remote_config_spec.rb | 6 +-
spec/rubocop/result_cache_spec.rb | 27 +-
spec/rubocop/runner_spec.rb | 12 +-
spec/rubocop/target_finder_spec.rb | 4 -
spec/support/cli_spec_behavior.rb | 35 +
tasks/cops_documentation.rake | 72 +-
tasks/new_cop.rake | 26 +-
365 files changed, 12512 insertions(+), 3295 deletions(-)
create mode 100644 .editorconfig
create mode 100644 lib/rubocop/ast/builder.rb
create mode 100644 lib/rubocop/ast/node.rb
create mode 100644 lib/rubocop/ast/node/array_node.rb
create mode 100644 lib/rubocop/ast/node/case_node.rb
create mode 100644 lib/rubocop/ast/node/for_node.rb
create mode 100644 lib/rubocop/ast/node/hash_node.rb
create mode 100644 lib/rubocop/ast/node/if_node.rb
create mode 100644 lib/rubocop/ast/node/keyword_splat_node.rb
create mode 100644 lib/rubocop/ast/node/mixin/conditional_node.rb
create mode 100644 lib/rubocop/ast/node/mixin/hash_element_node.rb
create mode 100644 lib/rubocop/ast/node/mixin/modifier_node.rb
create mode 100644 lib/rubocop/ast/node/pair_node.rb
create mode 100644 lib/rubocop/ast/node/until_node.rb
create mode 100644 lib/rubocop/ast/node/when_node.rb
create mode 100644 lib/rubocop/ast/node/while_node.rb
create mode 100644 lib/rubocop/ast/sexp.rb
rename lib/rubocop/{ast_node => ast}/traversal.rb (99%)
delete mode 100644 lib/rubocop/ast_node.rb
delete mode 100644 lib/rubocop/ast_node/builder.rb
delete mode 100644 lib/rubocop/ast_node/sexp.rb
create mode 100644 lib/rubocop/cop/badge.rb
create mode 100644 lib/rubocop/cop/lint/multiple_compare.rb
create mode 100644 lib/rubocop/cop/lint/safe_navigation_chain.rb
create mode 100644 lib/rubocop/cop/message_annotator.rb
copy lib/rubocop/cop/mixin/{configurable_naming.rb => configurable_formatting.rb} (62%)
create mode 100644 lib/rubocop/cop/mixin/duplication.rb
create mode 100644 lib/rubocop/cop/mixin/hash_alignment.rb
delete mode 100644 lib/rubocop/cop/mixin/hash_node.rb
delete mode 100644 lib/rubocop/cop/mixin/if_node.rb
create mode 100644 lib/rubocop/cop/mixin/target_ruby_version.rb
create mode 100644 lib/rubocop/cop/performance/regexp_match.rb
create mode 100644 lib/rubocop/cop/rails/file_path.rb
create mode 100644 lib/rubocop/cop/rails/reversible_migration.rb
create mode 100644 lib/rubocop/cop/rails/skips_model_validations.rb
create mode 100644 lib/rubocop/cop/registry.rb
rename lib/rubocop/cop/{lint => security}/eval.rb (79%)
create mode 100644 lib/rubocop/cop/security/marshal_load.rb
create mode 100644 lib/rubocop/cop/security/yaml_load.rb
create mode 100644 lib/rubocop/cop/style/method_call_with_args_parentheses.rb
rename lib/rubocop/cop/style/{method_call_parentheses.rb => method_call_without_args_parentheses.rb} (93%)
create mode 100644 lib/rubocop/magic_comment.rb
create mode 100644 manual/automated_code_review.md
copy relnotes/{v0.46.0.md => v0.47.0.md} (55%)
create mode 100644 spec/rubocop/ast/array_node_spec.rb
create mode 100644 spec/rubocop/ast/case_node_spec.rb
create mode 100644 spec/rubocop/ast/for_node_spec.rb
create mode 100644 spec/rubocop/ast/hash_node_spec.rb
create mode 100644 spec/rubocop/ast/if_node_spec.rb
create mode 100644 spec/rubocop/ast/keyword_splat_node_spec.rb
rename spec/rubocop/{ast_node_spec.rb => ast/node_spec.rb} (98%)
create mode 100644 spec/rubocop/ast/pair_node_spec.rb
create mode 100644 spec/rubocop/ast/until_node_spec.rb
create mode 100644 spec/rubocop/ast/when_node_spec.rb
create mode 100644 spec/rubocop/ast/while_node_spec.rb
create mode 100644 spec/rubocop/cop/badge_spec.rb
create mode 100644 spec/rubocop/cop/lint/multiple_compare_spec.rb
create mode 100644 spec/rubocop/cop/lint/safe_navigation_chain_spec.rb
create mode 100644 spec/rubocop/cop/message_annotator_spec.rb
create mode 100644 spec/rubocop/cop/performance/regexp_match_spec.rb
create mode 100644 spec/rubocop/cop/rails/file_path_spec.rb
create mode 100644 spec/rubocop/cop/rails/reversible_migration_spec.rb
create mode 100644 spec/rubocop/cop/rails/skips_model_validations_spec.rb
create mode 100644 spec/rubocop/cop/registry_spec.rb
rename spec/rubocop/cop/{lint => security}/eval_spec.rb (97%)
create mode 100644 spec/rubocop/cop/security/marshal_load_spec.rb
create mode 100644 spec/rubocop/cop/security/yaml_load_spec.rb
create mode 100644 spec/rubocop/cop/style/method_call_with_args_parentheses_spec.rb
rename spec/rubocop/cop/style/{method_call_parentheses_spec.rb => method_call_without_args_parentheses_spec.rb} (98%)
create mode 100644 spec/rubocop/magic_comment_spec.rb
create mode 100644 spec/support/cli_spec_behavior.rb
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/rubocop.git
More information about the Pkg-ruby-extras-commits
mailing list