[DRE-commits] [rubocop] branch master updated (1f32d27 -> 866e6ab)
Sebastien Badia
sbadia at moszumanska.debian.org
Mon Aug 21 15:30:36 UTC 2017
This is an automated email from the git hooks/post-receive script.
sbadia pushed a change to branch master
in repository rubocop.
from 1f32d27 Upload to unstable
new aee83c1 d/control: Use my Debian email address
new 0ddcc68 d/watch: Integrate orig.tarbal dfsg changes (in order to be able to use 'gbp import-orig --uscan')
adds fb429e5 New upstream version 0.49.1+dfsg
new 8d37f75 Updated version 0.49.1+dfsg from 'upstream/0.49.1+dfsg'
new 01e2175 d/patches: Refresh patches according new upstream
new 48e57b0 d/control: Added ruby-parallel as BD (new deps.)
new 6570701 d/control: Added missing Testsuite flag
new 5790ded d/control: Bump Standard-Version to 4.0.0 (no changes needed)
new 866e6ab Prepare changelog for 0.49.1+dfsg-1 (wait ruby-parallel)
The 8 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:
.rubocop.yml | 10 +-
.rubocop_todo.yml | 14 +-
.travis.yml | 4 +-
CHANGELOG.md | 83 +
CONTRIBUTING.md | 4 +-
Gemfile | 2 +-
README.md | 7 +-
Rakefile | 2 +-
appveyor.yml | 21 +
config/default.yml | 754 ++--
config/disabled.yml | 58 +-
config/enabled.yml | 692 +--
debian/changelog | 13 +
debian/control | 7 +-
debian/copyright | 6 +-
...rsion.diff => 01-relax-dependency-version.diff} | 13 +-
...disable-tests-relying-on-rubygems-features.diff | 8 +-
...s-due-to-rubocop-logo-removal-from-package.diff | 8 +-
debian/patches/series | 2 +-
debian/watch | 4 +-
lib/rubocop.rb | 156 +-
lib/rubocop/ast/builder.rb | 5 +-
lib/rubocop/ast/node.rb | 4 +-
lib/rubocop/ast/node/and_node.rb | 2 +-
lib/rubocop/ast/node/args_node.rb | 24 +
lib/rubocop/ast/node/block_node.rb | 107 +
lib/rubocop/ast/node/case_node.rb | 2 +-
lib/rubocop/ast/node/ensure_node.rb | 2 +-
lib/rubocop/ast/node/for_node.rb | 2 +-
lib/rubocop/ast/node/if_node.rb | 2 +-
lib/rubocop/ast/node/mixin/parameterized_node.rb | 74 +
lib/rubocop/ast/node/or_node.rb | 2 +-
lib/rubocop/ast/node/pair_node.rb | 2 +-
lib/rubocop/ast/node/resbody_node.rb | 2 +-
lib/rubocop/ast/node/send_node.rb | 93 +-
lib/rubocop/ast/node/super_node.rb | 42 +
lib/rubocop/ast/node/until_node.rb | 2 +-
lib/rubocop/ast/node/when_node.rb | 2 +-
lib/rubocop/ast/node/while_node.rb | 2 +-
lib/rubocop/cli.rb | 10 +
lib/rubocop/config.rb | 30 +-
lib/rubocop/config_loader.rb | 28 +-
lib/rubocop/cop/badge.rb | 2 +-
lib/rubocop/cop/bundler/duplicated_gem.rb | 4 +-
lib/rubocop/cop/commissioner.rb | 2 +-
lib/rubocop/cop/cop.rb | 10 +
lib/rubocop/cop/generator.rb | 163 +
lib/rubocop/cop/internal_affairs.rb | 4 +
.../cop/internal_affairs/node_type_predicate.rb | 33 +
.../internal_affairs/useless_message_assertion.rb | 52 +
.../access_modifier_indentation.rb | 36 +-
lib/rubocop/cop/{style => layout}/align_array.rb | 17 +-
lib/rubocop/cop/{style => layout}/align_hash.rb | 2 +-
.../cop/{style => layout}/align_parameters.rb | 30 +-
.../cop/{style => layout}/block_end_newline.rb | 15 +-
.../cop/{style => layout}/case_indentation.rb | 65 +-
.../closing_parenthesis_indentation.rb | 4 +-
.../cop/{style => layout}/comment_indentation.rb | 2 +-
lib/rubocop/cop/{style => layout}/dot_position.rb | 2 +-
.../cop/{style => layout}/else_alignment.rb | 2 +-
.../empty_line_after_magic_comment.rb | 2 +-
.../{style => layout}/empty_line_between_defs.rb | 2 +-
lib/rubocop/cop/{style => layout}/empty_lines.rb | 2 +-
.../empty_lines_around_access_modifier.rb | 9 +-
.../empty_lines_around_begin_body.rb | 2 +-
.../empty_lines_around_block_body.rb | 6 +-
.../empty_lines_around_class_body.rb | 2 +-
...pty_lines_around_exception_handling_keywords.rb | 2 +-
.../empty_lines_around_method_body.rb | 2 +-
.../empty_lines_around_module_body.rb | 2 +-
lib/rubocop/cop/{style => layout}/end_of_line.rb | 2 +-
lib/rubocop/cop/{style => layout}/extra_spacing.rb | 2 +-
.../first_array_element_line_break.rb | 2 +-
.../first_hash_element_line_break.rb | 2 +-
.../first_method_argument_line_break.rb | 2 +-
.../first_method_parameter_line_break.rb | 2 +-
.../first_parameter_indentation.rb | 2 +-
lib/rubocop/cop/{style => layout}/indent_array.rb | 2 +-
.../cop/{style => layout}/indent_assignment.rb | 2 +-
lib/rubocop/cop/{style => layout}/indent_hash.rb | 4 +-
.../cop/{style => layout}/indent_heredoc.rb | 6 +-
.../{style => layout}/indentation_consistency.rb | 2 +-
.../cop/{style => layout}/indentation_width.rb | 22 +-
.../cop/{style => layout}/initial_indentation.rb | 2 +-
.../cop/{style => layout}/leading_comment_space.rb | 2 +-
.../multiline_array_brace_layout.rb | 2 +-
.../multiline_assignment_layout.rb | 2 +-
.../{style => layout}/multiline_block_layout.rb | 57 +-
.../multiline_hash_brace_layout.rb | 6 +-
.../multiline_method_call_brace_layout.rb | 2 +-
.../multiline_method_call_indentation.rb | 6 +-
.../multiline_method_definition_brace_layout.rb | 2 +-
.../multiline_operation_indentation.rb | 11 +-
.../{style => layout}/rescue_ensure_alignment.rb | 2 +-
.../cop/{style => layout}/space_after_colon.rb | 4 +-
.../cop/{style => layout}/space_after_comma.rb | 4 +-
.../{style => layout}/space_after_method_name.rb | 2 +-
.../cop/{style => layout}/space_after_not.rb | 2 +-
.../cop/{style => layout}/space_after_semicolon.rb | 4 +-
.../space_around_block_parameters.rb | 29 +-
.../space_around_equals_in_parameter_default.rb | 2 +-
.../cop/{style => layout}/space_around_keyword.rb | 2 +-
.../{style => layout}/space_around_operators.rb | 8 +-
.../{style => layout}/space_before_block_braces.rb | 8 +-
.../cop/{style => layout}/space_before_comma.rb | 2 +-
.../cop/{style => layout}/space_before_comment.rb | 2 +-
.../{style => layout}/space_before_first_arg.rb | 6 +-
.../{style => layout}/space_before_semicolon.rb | 2 +-
.../{style => layout}/space_in_lambda_literal.rb | 2 +-
.../space_inside_array_percent_literal.rb | 2 +-
.../{style => layout}/space_inside_block_braces.rb | 7 +-
.../cop/{style => layout}/space_inside_brackets.rb | 2 +-
.../space_inside_hash_literal_braces.rb | 2 +-
.../cop/{style => layout}/space_inside_parens.rb | 2 +-
.../space_inside_percent_literal_delimiters.rb | 15 +-
.../space_inside_range_literal.rb | 2 +-
.../space_inside_string_interpolation.rb | 2 +-
lib/rubocop/cop/{style => layout}/tab.rb | 2 +-
.../cop/{style => layout}/trailing_blank_lines.rb | 2 +-
.../cop/{style => layout}/trailing_whitespace.rb | 4 +-
.../cop/lint/ambiguous_block_association.rb | 2 +-
lib/rubocop/cop/lint/ambiguous_operator.rb | 8 +-
lib/rubocop/cop/lint/debugger.rb | 15 -
lib/rubocop/cop/lint/duplicate_methods.rb | 3 +-
lib/rubocop/cop/lint/format_parameter_mismatch.rb | 2 +-
lib/rubocop/cop/lint/rescue_type.rb | 81 +
lib/rubocop/cop/lint/script_permission.rb | 42 +
lib/rubocop/cop/lint/useless_access_modifier.rb | 2 +-
lib/rubocop/cop/message_annotator.rb | 36 +-
lib/rubocop/cop/metrics/block_length.rb | 2 +-
lib/rubocop/cop/mixin/array_min_size.rb | 59 +
.../cop/mixin/configurable_enforced_style.rb | 21 +-
lib/rubocop/cop/mixin/def_node.rb | 2 +-
lib/rubocop/cop/mixin/empty_lines_around_body.rb | 2 +-
lib/rubocop/cop/mixin/enforce_superclass.rb | 36 +
lib/rubocop/cop/mixin/hash_alignment.rb | 2 +-
.../cop/mixin/multiline_expression_indentation.rb | 10 +-
lib/rubocop/cop/mixin/space_before_punctuation.rb | 2 +-
lib/rubocop/cop/performance/caller.rb | 41 +
lib/rubocop/cop/performance/compare_with_block.rb | 74 +-
.../cop/performance/double_start_end_with.rb | 4 +-
lib/rubocop/cop/performance/redundant_merge.rb | 2 +
lib/rubocop/cop/performance/regexp_match.rb | 2 +-
lib/rubocop/cop/rails/action_filter.rb | 4 +-
lib/rubocop/cop/rails/application_job.rb | 32 +
lib/rubocop/cop/rails/application_record.rb | 32 +
lib/rubocop/cop/rails/blank.rb | 12 +-
lib/rubocop/cop/rails/file_path.rb | 2 +-
lib/rubocop/cop/rails/http_positional_arguments.rb | 4 +-
lib/rubocop/cop/rails/output_safety.rb | 74 +-
lib/rubocop/cop/rails/present.rb | 12 +-
lib/rubocop/cop/rails/relative_date_constant.rb | 39 +-
lib/rubocop/cop/rails/reversible_migration.rb | 100 +-
lib/rubocop/cop/rails/save_bang.rb | 9 +-
lib/rubocop/cop/rails/skips_model_validations.rb | 7 +
lib/rubocop/cop/registry.rb | 7 +-
lib/rubocop/cop/security/eval.rb | 12 +-
lib/rubocop/cop/style/and_or.rb | 2 +-
lib/rubocop/cop/style/block_delimiters.rb | 28 +-
.../cop/style/braces_around_hash_parameters.rb | 2 +-
lib/rubocop/cop/style/collection_methods.rb | 4 +-
lib/rubocop/cop/style/conditional_assignment.rb | 5 +-
lib/rubocop/cop/style/copyright.rb | 4 +-
lib/rubocop/cop/style/documentation_method.rb | 2 +-
lib/rubocop/cop/style/each_for_simple_loop.rb | 3 +-
lib/rubocop/cop/style/each_with_object.rb | 16 +-
lib/rubocop/cop/style/empty_case_condition.rb | 4 +-
lib/rubocop/cop/style/empty_method.rb | 18 +-
lib/rubocop/cop/style/for.rb | 9 +-
lib/rubocop/cop/style/format_string.rb | 49 +
lib/rubocop/cop/style/format_string_token.rb | 141 +
lib/rubocop/cop/style/hash_syntax.rb | 2 +-
.../cop/style/identical_conditional_branches.rb | 4 +-
.../cop/style/if_unless_modifier_of_if_unless.rb | 2 +-
lib/rubocop/cop/style/inverse_methods.rb | 11 +-
lib/rubocop/cop/style/lambda.rb | 18 +-
lib/rubocop/cop/style/line_end_concatenation.rb | 4 +
.../cop/style/method_call_with_args_parentheses.rb | 6 +-
.../cop/style/method_called_on_do_end_block.rb | 3 +-
lib/rubocop/cop/style/method_name.rb | 10 +-
lib/rubocop/cop/style/mixin_grouping.rb | 44 +-
lib/rubocop/cop/style/multiline_block_chain.rb | 18 +-
lib/rubocop/cop/style/multiple_comparison.rb | 77 +
lib/rubocop/cop/style/next.rb | 35 +-
lib/rubocop/cop/style/parallel_assignment.rb | 29 +-
.../cop/style/percent_literal_delimiters.rb | 4 +-
lib/rubocop/cop/style/self_assignment.rb | 4 +
lib/rubocop/cop/style/single_line_block_params.rb | 40 +-
lib/rubocop/cop/style/symbol_array.rb | 37 +-
lib/rubocop/cop/style/symbol_proc.rb | 4 +
lib/rubocop/cop/style/ternary_parentheses.rb | 4 +-
lib/rubocop/cop/style/unneeded_interpolation.rb | 4 +
lib/rubocop/cop/style/word_array.rb | 89 +-
lib/rubocop/cop/style/yoda_condition.rb | 78 +
lib/rubocop/cop/team.rb | 15 +-
lib/rubocop/cop/util.rb | 16 +
lib/rubocop/formatter/simple_text_formatter.rb | 11 -
lib/rubocop/node_pattern.rb | 104 +-
lib/rubocop/options.rb | 25 +
lib/rubocop/path_util.rb | 18 +-
lib/rubocop/result_cache.rb | 15 +-
lib/rubocop/rspec/expect_offense.rb | 167 +
lib/rubocop/rspec/shared_examples.rb | 8 -
lib/rubocop/rspec/support.rb | 1 +
lib/rubocop/runner.rb | 14 +-
lib/rubocop/target_finder.rb | 5 +
lib/rubocop/version.rb | 2 +-
manual/basic_usage.md | 1 +
manual/caching.md | 17 +-
manual/configuration.md | 33 +-
manual/cops.md | 199 +-
manual/cops_layout.md | 2259 ++++++++++
manual/cops_lint.md | 52 +-
manual/cops_performance.md | 23 +
manual/cops_rails.md | 140 +-
manual/cops_security.md | 3 +-
manual/cops_style.md | 4728 ++++++--------------
manual/installation.md | 2 +-
mkdocs.yml | 3 +-
relnotes/v0.49.0.md | 316 ++
relnotes/v0.49.1.md | 283 ++
rubocop.gemspec | 1 +
spec/project_spec.rb | 9 +-
spec/rubocop/ast/block_node_spec.rb | 209 +
spec/rubocop/ast/if_node_spec.rb | 2 +-
spec/rubocop/ast/node_spec.rb | 2 +-
spec/rubocop/ast/send_node_spec.rb | 97 +-
spec/rubocop/ast/super_node_spec.rb | 309 ++
spec/rubocop/cli/cli_auto_gen_config_spec.rb | 274 +-
spec/rubocop/cli/cli_autocorrect_spec.rb | 1478 +++---
spec/rubocop/cli/cli_options_spec.rb | 410 +-
spec/rubocop/cli_spec.rb | 1014 +++--
spec/rubocop/comment_config_spec.rb | 6 +-
spec/rubocop/config_loader_spec.rb | 399 +-
spec/rubocop/config_spec.rb | 140 +-
spec/rubocop/cop/bundler/duplicated_gem_spec.rb | 24 +-
spec/rubocop/cop/bundler/ordered_gems_spec.rb | 237 +-
spec/rubocop/cop/generator_spec.rb | 126 +
.../internal_affairs/node_type_predicate_spec.rb | 18 +
.../useless_message_assertion_spec.rb | 30 +
.../cop/layout/access_modifier_indentation_spec.rb | 468 ++
spec/rubocop/cop/layout/align_array_spec.rb | 147 +
spec/rubocop/cop/layout/align_hash_spec.rb | 566 +++
spec/rubocop/cop/layout/align_parameters_spec.rb | 727 +++
.../{style => layout}/block_end_newline_spec.rb | 52 +-
spec/rubocop/cop/layout/case_indentation_spec.rb | 602 +++
.../layout/closing_parenthesis_indentation_spec.rb | 269 ++
.../rubocop/cop/layout/comment_indentation_spec.rb | 196 +
spec/rubocop/cop/layout/dot_position_spec.rb | 179 +
spec/rubocop/cop/layout/else_alignment_spec.rb | 539 +++
.../layout/empty_line_after_magic_comment_spec.rb | 75 +
.../cop/layout/empty_line_between_defs_spec.rb | 479 ++
.../empty_lines_around_access_modifier_spec.rb | 248 +
.../empty_lines_around_begin_body_spec.rb | 2 +-
.../empty_lines_around_block_body_spec.rb | 20 +-
.../layout/empty_lines_around_class_body_spec.rb | 318 ++
...ines_around_exception_handling_keywords_spec.rb | 2 +-
.../layout/empty_lines_around_method_body_spec.rb | 98 +
.../layout/empty_lines_around_module_body_spec.rb | 266 ++
.../cop/{style => layout}/empty_lines_spec.rb | 39 +-
.../cop/{style => layout}/end_of_line_spec.rb | 9 +-
spec/rubocop/cop/layout/extra_spacing_spec.rb | 401 ++
.../first_array_element_line_break_spec.rb | 92 +-
.../first_hash_element_line_break_spec.rb | 84 +-
.../first_method_argument_line_break_spec.rb | 72 +-
.../first_method_parameter_line_break_spec.rb | 125 +-
.../cop/layout/first_parameter_indentation_spec.rb | 431 ++
spec/rubocop/cop/layout/indent_array_spec.rb | 473 ++
spec/rubocop/cop/layout/indent_assignment_spec.rb | 109 +
spec/rubocop/cop/layout/indent_hash_spec.rb | 515 +++
.../cop/{style => layout}/indent_heredoc_spec.rb | 6 +-
.../cop/layout/indentation_consistency_spec.rb | 612 +++
spec/rubocop/cop/layout/indentation_width_spec.rb | 1178 +++++
.../rubocop/cop/layout/initial_indentation_spec.rb | 82 +
.../leading_comment_space_spec.rb | 68 +-
.../multiline_array_brace_layout_spec.rb | 18 +-
.../multiline_assignment_layout_spec.rb | 113 +-
.../cop/layout/multiline_block_layout_spec.rb | 244 +
.../multiline_hash_brace_layout_spec.rb | 18 +-
.../multiline_method_call_brace_layout_spec.rb | 49 +-
.../multiline_method_call_indentation_spec.rb | 943 ++++
...ultiline_method_definition_brace_layout_spec.rb | 28 +-
.../layout/multiline_operation_indentation_spec.rb | 651 +++
.../rescue_ensure_alignment_spec.rb | 105 +-
spec/rubocop/cop/layout/space_after_colon_spec.rb | 69 +
.../{style => layout}/space_after_comma_spec.rb | 7 +-
.../cop/layout/space_after_method_name_spec.rb | 74 +
.../cop/{style => layout}/space_after_not_spec.rb | 19 +-
.../space_after_semicolon_spec.rb | 18 +-
.../layout/space_around_block_parameters_spec.rb | 245 +
...pace_around_equals_in_parameter_default_spec.rb | 86 +-
.../{style => layout}/space_around_keyword_spec.rb | 22 +-
.../cop/layout/space_around_operators_spec.rb | 742 +++
.../space_before_block_braces_spec.rb | 32 +-
.../{style => layout}/space_before_comma_spec.rb | 29 +-
.../{style => layout}/space_before_comment_spec.rb | 23 +-
.../cop/layout/space_before_first_arg_spec.rb | 124 +
.../space_before_semicolon_spec.rb | 18 +-
.../space_in_lambda_literal_spec.rb | 92 +-
.../space_inside_array_percent_literal_spec.rb | 45 +-
.../space_inside_block_braces_spec.rb | 122 +-
.../cop/layout/space_inside_brackets_spec.rb | 92 +
.../space_inside_hash_literal_braces_spec.rb | 174 +-
.../rubocop/cop/layout/space_inside_parens_spec.rb | 50 +
...space_inside_percent_literal_delimiters_spec.rb | 55 +-
.../space_inside_range_literal_spec.rb | 42 +-
.../space_inside_string_interpolation_spec.rb | 20 +-
spec/rubocop/cop/{style => layout}/tab_spec.rb | 39 +-
.../{style => layout}/trailing_blank_lines_spec.rb | 26 +-
.../{style => layout}/trailing_whitespace_spec.rb | 6 +-
.../cop/lint/ambiguous_block_association_spec.rb | 8 +-
spec/rubocop/cop/lint/ambiguous_operator_spec.rb | 70 +-
.../cop/lint/ambiguous_regexp_literal_spec.rb | 9 +-
.../cop/lint/assignment_in_condition_spec.rb | 167 +-
spec/rubocop/cop/lint/block_alignment_spec.rb | 891 ++--
.../cop/lint/circular_argument_reference_spec.rb | 136 +-
spec/rubocop/cop/lint/condition_position_spec.rb | 49 +-
spec/rubocop/cop/lint/debugger_spec.rb | 20 +-
spec/rubocop/cop/lint/def_end_alignment_spec.rb | 48 +-
.../cop/lint/deprecated_class_methods_spec.rb | 27 +-
.../cop/lint/duplicate_case_condition_spec.rb | 154 +-
spec/rubocop/cop/lint/duplicate_methods_spec.rb | 75 +-
spec/rubocop/cop/lint/duplicated_key_spec.rb | 9 +-
.../cop/lint/each_with_object_argument_spec.rb | 30 +-
spec/rubocop/cop/lint/else_layout_spec.rb | 72 +-
spec/rubocop/cop/lint/empty_ensure_spec.rb | 52 +-
spec/rubocop/cop/lint/empty_expression_spec.rb | 68 +-
spec/rubocop/cop/lint/empty_interpolation_spec.rb | 17 +-
spec/rubocop/cop/lint/empty_when_spec.rb | 198 +-
spec/rubocop/cop/lint/end_alignment_spec.rb | 42 +-
spec/rubocop/cop/lint/end_in_method_spec.rb | 20 +-
spec/rubocop/cop/lint/ensure_return_spec.rb | 44 +-
spec/rubocop/cop/lint/float_out_of_range_spec.rb | 40 +-
.../cop/lint/format_parameter_mismatch_spec.rb | 134 +-
spec/rubocop/cop/lint/handle_exceptions_spec.rb | 33 +-
.../cop/lint/implicit_string_concatenation_spec.rb | 25 +-
.../cop/lint/ineffective_access_modifier_spec.rb | 140 +-
spec/rubocop/cop/lint/literal_in_condition_spec.rb | 167 +-
.../cop/lint/literal_in_interpolation_spec.rb | 12 +-
spec/rubocop/cop/lint/loop_spec.rb | 18 +-
spec/rubocop/cop/lint/multiple_compare_spec.rb | 3 +-
.../cop/lint/nested_method_definition_spec.rb | 284 +-
.../cop/lint/next_without_accumulator_spec.rb | 16 +-
.../lint/parentheses_as_grouped_expression_spec.rb | 37 +-
spec/rubocop/cop/lint/percent_string_array_spec.rb | 11 +-
spec/rubocop/cop/lint/percent_symbol_array_spec.rb | 7 +-
spec/rubocop/cop/lint/require_parentheses_spec.rb | 59 +-
spec/rubocop/cop/lint/rescue_exception_spec.rb | 167 +-
spec/rubocop/cop/lint/rescue_type_spec.rb | 265 ++
spec/rubocop/cop/lint/script_permission_spec.rb | 49 +
spec/rubocop/cop/lint/shadowed_exception_spec.rb | 670 +--
.../lint/shadowing_outer_local_variable_spec.rb | 194 +-
.../string_conversion_in_interpolation_spec.rb | 31 +-
.../lint/underscore_prefixed_variable_name_spec.rb | 55 +-
spec/rubocop/cop/lint/unneeded_disable_spec.rb | 14 +-
.../cop/lint/unneeded_splat_expansion_spec.rb | 320 +-
spec/rubocop/cop/lint/unreachable_code_spec.rb | 41 +-
.../rubocop/cop/lint/unused_block_argument_spec.rb | 77 +-
.../cop/lint/unused_method_argument_spec.rb | 64 +-
.../cop/lint/useless_access_modifier_spec.rb | 918 ++--
spec/rubocop/cop/lint/useless_assignment_spec.rb | 1603 ++++---
spec/rubocop/cop/lint/useless_comparison_spec.rb | 20 +-
.../cop/lint/useless_else_without_rescue_spec.rb | 42 +-
spec/rubocop/cop/lint/useless_setter_call_spec.rb | 215 +-
spec/rubocop/cop/lint/void_spec.rb | 68 +-
spec/rubocop/cop/metrics/abc_size_spec.rb | 81 +-
spec/rubocop/cop/metrics/block_length_spec.rb | 158 +-
spec/rubocop/cop/metrics/block_nesting_spec.rb | 264 +-
spec/rubocop/cop/metrics/class_length_spec.rb | 205 +-
.../cop/metrics/cyclomatic_complexity_spec.rb | 279 +-
spec/rubocop/cop/metrics/line_length_spec.rb | 14 +-
spec/rubocop/cop/metrics/method_length_spec.rb | 234 +-
spec/rubocop/cop/metrics/module_length_spec.rb | 296 +-
spec/rubocop/cop/metrics/parameter_lists_spec.rb | 37 +-
.../cop/metrics/perceived_complexity_spec.rb | 299 +-
spec/rubocop/cop/offense_spec.rb | 22 +-
spec/rubocop/cop/performance/caller_spec.rb | 55 +
.../cop/performance/case_when_splat_spec.rb | 658 +--
spec/rubocop/cop/performance/casecmp_spec.rb | 12 +-
.../cop/performance/compare_with_block_spec.rb | 62 +-
spec/rubocop/cop/performance/count_spec.rb | 105 +-
spec/rubocop/cop/performance/detect_spec.rb | 68 +-
.../cop/performance/double_start_end_with_spec.rb | 57 +-
spec/rubocop/cop/performance/end_with_spec.rb | 3 +-
spec/rubocop/cop/performance/fixed_size_spec.rb | 48 +-
.../cop/performance/hash_each_methods_spec.rb | 44 +-
spec/rubocop/cop/performance/lstrip_rstrip_spec.rb | 6 +-
spec/rubocop/cop/performance/range_include_spec.rb | 8 +-
.../cop/performance/redundant_block_call_spec.rb | 203 +-
.../cop/performance/redundant_match_spec.rb | 97 +-
.../cop/performance/redundant_merge_spec.rb | 230 +-
.../cop/performance/redundant_sort_by_spec.rb | 16 +-
spec/rubocop/cop/performance/regexp_match_spec.rb | 4 +
spec/rubocop/cop/performance/reverse_each_spec.rb | 16 +-
spec/rubocop/cop/performance/size_spec.rb | 82 +-
spec/rubocop/cop/performance/start_with_spec.rb | 3 +-
.../cop/performance/string_replacement_spec.rb | 151 +-
.../cop/rails/active_support_aliases_spec.rb | 44 +-
spec/rubocop/cop/rails/application_job_spec.rb | 137 +
spec/rubocop/cop/rails/application_record_spec.rb | 137 +
spec/rubocop/cop/rails/blank_spec.rb | 150 +-
spec/rubocop/cop/rails/date_spec.rb | 24 +-
.../rubocop/cop/rails/delegate_allow_blank_spec.rb | 8 +-
spec/rubocop/cop/rails/delegate_spec.rb | 212 +-
spec/rubocop/cop/rails/dynamic_find_by_spec.rb | 35 +-
spec/rubocop/cop/rails/enum_uniqueness_spec.rb | 46 +-
spec/rubocop/cop/rails/exit_spec.rb | 47 +-
spec/rubocop/cop/rails/file_path_spec.rb | 52 +-
spec/rubocop/cop/rails/find_by_spec.rb | 4 +-
spec/rubocop/cop/rails/find_each_spec.rb | 4 +-
.../cop/rails/has_and_belongs_to_many_spec.rb | 7 +-
.../cop/rails/http_positional_arguments_spec.rb | 150 +-
spec/rubocop/cop/rails/not_null_column_spec.rb | 61 +-
spec/rubocop/cop/rails/output_safety_spec.rb | 77 +-
spec/rubocop/cop/rails/output_spec.rb | 36 +-
spec/rubocop/cop/rails/present_spec.rb | 132 +-
.../rubocop/cop/rails/read_write_attribute_spec.rb | 57 +-
.../cop/rails/relative_date_constant_spec.rb | 102 +-
.../rubocop/cop/rails/reversible_migration_spec.rb | 90 +-
spec/rubocop/cop/rails/safe_navigation_spec.rb | 4 +-
spec/rubocop/cop/rails/save_bang_spec.rb | 25 +-
spec/rubocop/cop/rails/scope_args_spec.rb | 46 +-
.../cop/rails/skips_model_validations_spec.rb | 12 +-
spec/rubocop/cop/rails/time_zone_spec.rb | 134 +-
spec/rubocop/cop/rails/validation_spec.rb | 3 +-
spec/rubocop/cop/registry_spec.rb | 14 +-
spec/rubocop/cop/security/eval_spec.rb | 75 +-
spec/rubocop/cop/security/json_load_spec.rb | 82 +-
spec/rubocop/cop/security/marshal_load_spec.rb | 82 +-
spec/rubocop/cop/security/yaml_load_spec.rb | 67 +-
.../cop/style/access_modifier_indentation_spec.rb | 445 --
.../rubocop/cop/style/accessor_method_name_spec.rb | 98 +-
spec/rubocop/cop/style/alias_spec.rb | 167 +-
spec/rubocop/cop/style/align_array_spec.rb | 127 -
spec/rubocop/cop/style/align_hash_spec.rb | 502 ---
spec/rubocop/cop/style/align_parameters_spec.rb | 652 ---
spec/rubocop/cop/style/and_or_spec.rb | 190 +-
spec/rubocop/cop/style/array_join_spec.rb | 19 +-
spec/rubocop/cop/style/ascii_comments_spec.rb | 27 +-
spec/rubocop/cop/style/ascii_identifiers_spec.rb | 41 +-
spec/rubocop/cop/style/attr_spec.rb | 16 +-
.../cop/style/auto_resource_cleanup_spec.rb | 15 +-
.../cop/style/bare_percent_literals_spec.rb | 65 +-
spec/rubocop/cop/style/block_comments_spec.rb | 59 +-
spec/rubocop/cop/style/block_delimiters_spec.rb | 304 +-
.../style/braces_around_hash_parameters_spec.rb | 45 +-
spec/rubocop/cop/style/case_equality_spec.rb | 7 +-
spec/rubocop/cop/style/case_indentation_spec.rb | 557 ---
spec/rubocop/cop/style/character_literal_spec.rb | 18 +-
.../cop/style/class_and_module_camel_case_spec.rb | 46 +-
.../cop/style/class_and_module_children_spec.rb | 181 +-
spec/rubocop/cop/style/class_check_spec.rb | 18 +-
spec/rubocop/cop/style/class_methods_spec.rb | 102 +-
spec/rubocop/cop/style/class_vars_spec.rb | 11 +-
.../style/closing_parenthesis_indentation_spec.rb | 229 -
spec/rubocop/cop/style/colon_method_call_spec.rb | 39 +-
spec/rubocop/cop/style/command_literal_spec.rb | 249 +-
spec/rubocop/cop/style/comment_annotation_spec.rb | 73 +-
spec/rubocop/cop/style/comment_indentation_spec.rb | 185 -
...ditional_assignment_assign_in_condition_spec.rb | 1052 +++--
...ditional_assignment_assign_to_condition_spec.rb | 2730 +++++------
spec/rubocop/cop/style/constant_name_spec.rb | 58 +-
.../rubocop/cop/style/def_with_parentheses_spec.rb | 40 +-
.../rubocop/cop/style/documentation_method_spec.rb | 8 +-
spec/rubocop/cop/style/documentation_spec.rb | 397 +-
spec/rubocop/cop/style/dot_position_spec.rb | 148 -
spec/rubocop/cop/style/double_negation_spec.rb | 12 +-
.../rubocop/cop/style/each_for_simple_loop_spec.rb | 121 +-
spec/rubocop/cop/style/each_with_object_spec.rb | 129 +-
spec/rubocop/cop/style/else_alignment_spec.rb | 524 ---
.../rubocop/cop/style/empty_case_condition_spec.rb | 194 +-
spec/rubocop/cop/style/empty_else_spec.rb | 72 +-
.../style/empty_line_after_magic_comment_spec.rb | 76 -
.../cop/style/empty_line_between_defs_spec.rb | 405 --
.../empty_lines_around_access_modifier_spec.rb | 214 -
.../style/empty_lines_around_class_body_spec.rb | 290 --
.../style/empty_lines_around_method_body_spec.rb | 88 -
.../style/empty_lines_around_module_body_spec.rb | 246 -
spec/rubocop/cop/style/empty_literal_spec.rb | 106 +-
spec/rubocop/cop/style/empty_method_spec.rb | 11 +
spec/rubocop/cop/style/encoding_spec.rb | 197 +-
spec/rubocop/cop/style/even_odd_spec.rb | 104 +-
spec/rubocop/cop/style/extra_spacing_spec.rb | 357 --
spec/rubocop/cop/style/file_name_spec.rb | 109 +-
.../cop/style/first_parameter_indentation_spec.rb | 377 --
spec/rubocop/cop/style/flip_flop_spec.rb | 22 +-
spec/rubocop/cop/style/for_spec.rb | 120 +-
spec/rubocop/cop/style/format_string_spec.rb | 240 +-
spec/rubocop/cop/style/format_string_token_spec.rb | 133 +
.../style/frozen_string_literal_comment_spec.rb | 629 +--
spec/rubocop/cop/style/global_vars_spec.rb | 12 +-
spec/rubocop/cop/style/guard_clause_spec.rb | 393 +-
spec/rubocop/cop/style/hash_syntax_spec.rb | 230 +-
.../style/identical_conditional_branches_spec.rb | 279 +-
spec/rubocop/cop/style/if_inside_else_spec.rb | 167 +-
.../style/if_unless_modifier_of_if_unless_spec.rb | 54 +-
spec/rubocop/cop/style/if_unless_modifier_spec.rb | 316 +-
spec/rubocop/cop/style/if_with_semicolon_spec.rb | 18 +-
spec/rubocop/cop/style/indent_array_spec.rb | 466 --
spec/rubocop/cop/style/indent_assignment_spec.rb | 93 -
spec/rubocop/cop/style/indent_hash_spec.rb | 499 ---
.../cop/style/indentation_consistency_spec.rb | 589 ---
spec/rubocop/cop/style/indentation_width_spec.rb | 1144 -----
spec/rubocop/cop/style/infinite_loop_spec.rb | 111 +-
spec/rubocop/cop/style/initial_indentation_spec.rb | 68 -
spec/rubocop/cop/style/inline_comment_spec.rb | 13 +-
spec/rubocop/cop/style/inverse_methods_spec.rb | 126 +-
spec/rubocop/cop/style/lambda_call_spec.rb | 23 +-
spec/rubocop/cop/style/lambda_spec.rb | 289 +-
.../cop/style/line_end_concatenation_spec.rb | 153 +-
.../method_call_with_args_parentheses_spec.rb | 86 +-
.../method_call_without_args_parentheses_spec.rb | 94 +-
.../style/method_called_on_do_end_block_spec.rb | 55 +-
.../cop/style/method_def_parentheses_spec.rb | 120 +-
spec/rubocop/cop/style/method_missing_spec.rb | 78 +-
spec/rubocop/cop/style/method_name_spec.rb | 184 +-
spec/rubocop/cop/style/missing_else_spec.rb | 257 +-
spec/rubocop/cop/style/mixin_grouping_spec.rb | 169 +-
spec/rubocop/cop/style/module_function_spec.rb | 50 +-
.../cop/style/multiline_block_chain_spec.rb | 93 +-
.../cop/style/multiline_block_layout_spec.rb | 221 -
spec/rubocop/cop/style/multiline_if_then_spec.rb | 134 +-
.../cop/style/multiline_memoization_spec.rb | 197 +-
.../multiline_method_call_indentation_spec.rb | 894 ----
.../style/multiline_operation_indentation_spec.rb | 605 ---
.../cop/style/multiline_ternary_operator_spec.rb | 23 +-
spec/rubocop/cop/style/multiple_comparison_spec.rb | 106 +
spec/rubocop/cop/style/mutable_constant_spec.rb | 9 +-
spec/rubocop/cop/style/negated_if_spec.rb | 187 +-
spec/rubocop/cop/style/negated_while_spec.rb | 91 +-
spec/rubocop/cop/style/nested_modifier_spec.rb | 7 +-
.../cop/style/nested_parenthesized_calls_spec.rb | 56 +-
.../cop/style/nested_ternary_operator_spec.rb | 19 +-
spec/rubocop/cop/style/next_spec.rb | 593 +--
spec/rubocop/cop/style/nil_comparison_spec.rb | 14 +-
spec/rubocop/cop/style/non_nil_check_spec.rb | 91 +-
spec/rubocop/cop/style/not_spec.rb | 9 +-
.../cop/style/numeric_literal_prefix_spec.rb | 61 +-
spec/rubocop/cop/style/numeric_literals_spec.rb | 48 +-
spec/rubocop/cop/style/op_method_spec.rb | 84 +-
spec/rubocop/cop/style/option_hash_spec.rb | 68 +-
spec/rubocop/cop/style/optional_arguments_spec.rb | 99 +-
spec/rubocop/cop/style/parallel_assignment_spec.rb | 614 ++-
.../cop/style/parentheses_around_condition_spec.rb | 197 +-
.../cop/style/percent_literal_delimiters_spec.rb | 213 +-
spec/rubocop/cop/style/percent_q_literals_spec.rb | 45 +-
spec/rubocop/cop/style/perl_backrefs_spec.rb | 6 +-
spec/rubocop/cop/style/predicate_name_spec.rb | 43 +-
.../cop/style/preferred_hash_methods_spec.rb | 52 +-
spec/rubocop/cop/style/proc_spec.rb | 12 +-
spec/rubocop/cop/style/raise_args_spec.rb | 102 +-
spec/rubocop/cop/style/redundant_begin_spec.rb | 154 +-
spec/rubocop/cop/style/redundant_freeze_spec.rb | 3 +-
.../cop/style/redundant_parentheses_spec.rb | 70 +-
spec/rubocop/cop/style/redundant_return_spec.rb | 408 +-
spec/rubocop/cop/style/redundant_self_spec.rb | 232 +-
spec/rubocop/cop/style/regexp_literal_spec.rb | 180 +-
spec/rubocop/cop/style/rescue_modifier_spec.rb | 280 +-
spec/rubocop/cop/style/safe_navigation_spec.rb | 317 +-
spec/rubocop/cop/style/semicolon_spec.rb | 123 +-
spec/rubocop/cop/style/send_spec.rb | 34 +-
spec/rubocop/cop/style/signal_exception_spec.rb | 480 +-
.../cop/style/single_line_block_params_spec.rb | 98 +-
spec/rubocop/cop/style/single_line_methods_spec.rb | 54 +-
spec/rubocop/cop/style/space_after_colon_spec.rb | 68 -
.../cop/style/space_after_method_name_spec.rb | 68 -
.../style/space_around_block_parameters_spec.rb | 181 -
.../cop/style/space_around_operators_spec.rb | 676 ---
.../cop/style/space_before_first_arg_spec.rb | 86 -
.../cop/style/space_inside_brackets_spec.rb | 85 -
spec/rubocop/cop/style/space_inside_parens_spec.rb | 42 -
spec/rubocop/cop/style/special_global_vars_spec.rb | 84 +-
.../cop/style/stabby_lambda_parentheses_spec.rb | 28 +-
.../style/string_literals_in_interpolation_spec.rb | 36 +-
spec/rubocop/cop/style/string_literals_spec.rb | 205 +-
spec/rubocop/cop/style/struct_inheritance_spec.rb | 37 +-
spec/rubocop/cop/style/symbol_array_spec.rb | 60 +-
spec/rubocop/cop/style/symbol_literal_spec.rb | 15 +-
spec/rubocop/cop/style/symbol_proc_spec.rb | 93 +-
.../cop/style/trailing_comma_in_arguments_spec.rb | 316 +-
.../cop/style/trailing_comma_in_literal_spec.rb | 535 ++-
spec/rubocop/cop/style/trivial_accessors_spec.rb | 527 ++-
spec/rubocop/cop/style/unless_else_spec.rb | 81 +-
spec/rubocop/cop/style/unneeded_capital_w_spec.rb | 72 +-
.../cop/style/unneeded_interpolation_spec.rb | 129 +-
spec/rubocop/cop/style/unneeded_percent_q_spec.rb | 105 +-
.../cop/style/variable_interpolation_spec.rb | 78 +-
spec/rubocop/cop/style/variable_name_spec.rb | 71 +-
spec/rubocop/cop/style/variable_number_spec.rb | 28 +-
spec/rubocop/cop/style/when_then_spec.rb | 64 +-
spec/rubocop/cop/style/while_until_do_spec.rb | 60 +-
.../rubocop/cop/style/while_until_modifier_spec.rb | 44 +-
spec/rubocop/cop/style/word_array_spec.rb | 138 +-
spec/rubocop/cop/style/yoda_condition_spec.rb | 88 +
spec/rubocop/cop/team_spec.rb | 2 +-
spec/rubocop/cop/util_spec.rb | 100 +
spec/rubocop/formatter/base_formatter_spec.rb | 21 +-
.../formatter/clang_style_formatter_spec.rb | 43 +-
.../formatter/disabled_config_formatter_spec.rb | 309 +-
.../formatter/disabled_lines_formatter_spec.rb | 13 +-
.../formatter/emacs_style_formatter_spec.rb | 7 +-
spec/rubocop/formatter/html_formatter_spec.rb | 4 +-
.../formatter/offense_count_formatter_spec.rb | 17 +-
spec/rubocop/formatter/progress_formatter_spec.rb | 26 +-
.../formatter/simple_text_formatter_spec.rb | 54 +-
.../formatter/worst_offenders_formatter_spec.rb | 17 +-
spec/rubocop/options_spec.rb | 43 +-
spec/rubocop/path_util_spec.rb | 4 +
spec/rubocop/rake_task_spec.rb | 19 +-
spec/rubocop/result_cache_spec.rb | 60 +-
spec/rubocop/runner_spec.rb | 6 +-
spec/rubocop/target_finder_spec.rb | 24 +-
spec/spec_helper.rb | 5 +
.../empty_lines_around_body_shared_examples.rb | 471 +-
spec/support/statement_modifier_helper.rb | 45 +-
tasks/cops_documentation.rake | 2 +-
tasks/new_cop.rake | 107 +-
617 files changed, 43815 insertions(+), 34814 deletions(-)
create mode 100644 appveyor.yml
rename debian/patches/{01-relax-ruby-progressbar-dependency-version.diff => 01-relax-dependency-version.diff} (70%)
create mode 100644 lib/rubocop/ast/node/args_node.rb
create mode 100644 lib/rubocop/ast/node/block_node.rb
create mode 100644 lib/rubocop/ast/node/mixin/parameterized_node.rb
create mode 100644 lib/rubocop/ast/node/super_node.rb
create mode 100644 lib/rubocop/cop/generator.rb
create mode 100644 lib/rubocop/cop/internal_affairs.rb
create mode 100644 lib/rubocop/cop/internal_affairs/node_type_predicate.rb
create mode 100644 lib/rubocop/cop/internal_affairs/useless_message_assertion.rb
rename lib/rubocop/cop/{style => layout}/access_modifier_indentation.rb (76%)
rename lib/rubocop/cop/{style => layout}/align_array.rb (57%)
rename lib/rubocop/cop/{style => layout}/align_hash.rb (99%)
rename lib/rubocop/cop/{style => layout}/align_parameters.rb (81%)
rename lib/rubocop/cop/{style => layout}/block_end_newline.rb (82%)
rename lib/rubocop/cop/{style => layout}/case_indentation.rb (65%)
rename lib/rubocop/cop/{style => layout}/closing_parenthesis_indentation.rb (96%)
rename lib/rubocop/cop/{style => layout}/comment_indentation.rb (99%)
rename lib/rubocop/cop/{style => layout}/dot_position.rb (99%)
rename lib/rubocop/cop/{style => layout}/else_alignment.rb (99%)
rename lib/rubocop/cop/{style => layout}/empty_line_after_magic_comment.rb (99%)
rename lib/rubocop/cop/{style => layout}/empty_line_between_defs.rb (99%)
rename lib/rubocop/cop/{style => layout}/empty_lines.rb (98%)
rename lib/rubocop/cop/{style => layout}/empty_lines_around_access_modifier.rb (91%)
rename lib/rubocop/cop/{style => layout}/empty_lines_around_begin_body.rb (97%)
rename lib/rubocop/cop/{style => layout}/empty_lines_around_block_body.rb (88%)
rename lib/rubocop/cop/{style => layout}/empty_lines_around_class_body.rb (97%)
rename lib/rubocop/cop/{style => layout}/empty_lines_around_exception_handling_keywords.rb (99%)
rename lib/rubocop/cop/{style => layout}/empty_lines_around_method_body.rb (97%)
rename lib/rubocop/cop/{style => layout}/empty_lines_around_module_body.rb (97%)
rename lib/rubocop/cop/{style => layout}/end_of_line.rb (98%)
rename lib/rubocop/cop/{style => layout}/extra_spacing.rb (99%)
rename lib/rubocop/cop/{style => layout}/first_array_element_line_break.rb (98%)
rename lib/rubocop/cop/{style => layout}/first_hash_element_line_break.rb (97%)
rename lib/rubocop/cop/{style => layout}/first_method_argument_line_break.rb (98%)
rename lib/rubocop/cop/{style => layout}/first_method_parameter_line_break.rb (98%)
rename lib/rubocop/cop/{style => layout}/first_parameter_indentation.rb (99%)
rename lib/rubocop/cop/{style => layout}/indent_array.rb (99%)
rename lib/rubocop/cop/{style => layout}/indent_assignment.rb (98%)
rename lib/rubocop/cop/{style => layout}/indent_hash.rb (98%)
rename lib/rubocop/cop/{style => layout}/indent_heredoc.rb (97%)
rename lib/rubocop/cop/{style => layout}/indentation_consistency.rb (98%)
rename lib/rubocop/cop/{style => layout}/indentation_width.rb (94%)
rename lib/rubocop/cop/{style => layout}/initial_indentation.rb (98%)
rename lib/rubocop/cop/{style => layout}/leading_comment_space.rb (98%)
rename lib/rubocop/cop/{style => layout}/multiline_array_brace_layout.rb (99%)
rename lib/rubocop/cop/{style => layout}/multiline_assignment_layout.rb (99%)
rename lib/rubocop/cop/{style => layout}/multiline_block_layout.rb (57%)
rename lib/rubocop/cop/{style => layout}/multiline_hash_brace_layout.rb (95%)
rename lib/rubocop/cop/{style => layout}/multiline_method_call_brace_layout.rb (99%)
rename lib/rubocop/cop/{style => layout}/multiline_method_call_indentation.rb (97%)
rename lib/rubocop/cop/{style => layout}/multiline_method_definition_brace_layout.rb (99%)
rename lib/rubocop/cop/{style => layout}/multiline_operation_indentation.rb (89%)
rename lib/rubocop/cop/{style => layout}/rescue_ensure_alignment.rb (99%)
rename lib/rubocop/cop/{style => layout}/space_after_colon.rb (93%)
rename lib/rubocop/cop/{style => layout}/space_after_comma.rb (81%)
rename lib/rubocop/cop/{style => layout}/space_after_method_name.rb (98%)
rename lib/rubocop/cop/{style => layout}/space_after_not.rb (97%)
rename lib/rubocop/cop/{style => layout}/space_after_semicolon.rb (83%)
rename lib/rubocop/cop/{style => layout}/space_around_block_parameters.rb (83%)
rename lib/rubocop/cop/{style => layout}/space_around_equals_in_parameter_default.rb (99%)
rename lib/rubocop/cop/{style => layout}/space_around_keyword.rb (99%)
rename lib/rubocop/cop/{style => layout}/space_around_operators.rb (96%)
rename lib/rubocop/cop/{style => layout}/space_before_block_braces.rb (91%)
rename lib/rubocop/cop/{style => layout}/space_before_comma.rb (94%)
rename lib/rubocop/cop/{style => layout}/space_before_comment.rb (97%)
rename lib/rubocop/cop/{style => layout}/space_before_first_arg.rb (93%)
rename lib/rubocop/cop/{style => layout}/space_before_semicolon.rb (94%)
rename lib/rubocop/cop/{style => layout}/space_in_lambda_literal.rb (99%)
rename lib/rubocop/cop/{style => layout}/space_inside_array_percent_literal.rb (98%)
rename lib/rubocop/cop/{style => layout}/space_inside_block_braces.rb (96%)
rename lib/rubocop/cop/{style => layout}/space_inside_brackets.rb (95%)
rename lib/rubocop/cop/{style => layout}/space_inside_hash_literal_braces.rb (99%)
rename lib/rubocop/cop/{style => layout}/space_inside_parens.rb (94%)
rename lib/rubocop/cop/{style => layout}/space_inside_percent_literal_delimiters.rb (92%)
rename lib/rubocop/cop/{style => layout}/space_inside_range_literal.rb (98%)
rename lib/rubocop/cop/{style => layout}/space_inside_string_interpolation.rb (99%)
rename lib/rubocop/cop/{style => layout}/tab.rb (98%)
rename lib/rubocop/cop/{style => layout}/trailing_blank_lines.rb (99%)
rename lib/rubocop/cop/{style => layout}/trailing_whitespace.rb (91%)
create mode 100644 lib/rubocop/cop/lint/rescue_type.rb
create mode 100644 lib/rubocop/cop/lint/script_permission.rb
create mode 100644 lib/rubocop/cop/mixin/array_min_size.rb
create mode 100644 lib/rubocop/cop/mixin/enforce_superclass.rb
create mode 100644 lib/rubocop/cop/performance/caller.rb
create mode 100644 lib/rubocop/cop/rails/application_job.rb
create mode 100644 lib/rubocop/cop/rails/application_record.rb
create mode 100644 lib/rubocop/cop/style/format_string_token.rb
create mode 100644 lib/rubocop/cop/style/multiple_comparison.rb
create mode 100644 lib/rubocop/cop/style/yoda_condition.rb
create mode 100644 lib/rubocop/rspec/expect_offense.rb
create mode 100644 manual/cops_layout.md
create mode 100644 relnotes/v0.49.0.md
create mode 100644 relnotes/v0.49.1.md
create mode 100644 spec/rubocop/ast/block_node_spec.rb
create mode 100644 spec/rubocop/ast/super_node_spec.rb
create mode 100644 spec/rubocop/cop/generator_spec.rb
create mode 100644 spec/rubocop/cop/internal_affairs/node_type_predicate_spec.rb
create mode 100644 spec/rubocop/cop/internal_affairs/useless_message_assertion_spec.rb
create mode 100644 spec/rubocop/cop/layout/access_modifier_indentation_spec.rb
create mode 100644 spec/rubocop/cop/layout/align_array_spec.rb
create mode 100644 spec/rubocop/cop/layout/align_hash_spec.rb
create mode 100644 spec/rubocop/cop/layout/align_parameters_spec.rb
rename spec/rubocop/cop/{style => layout}/block_end_newline_spec.rb (52%)
create mode 100644 spec/rubocop/cop/layout/case_indentation_spec.rb
create mode 100644 spec/rubocop/cop/layout/closing_parenthesis_indentation_spec.rb
create mode 100644 spec/rubocop/cop/layout/comment_indentation_spec.rb
create mode 100644 spec/rubocop/cop/layout/dot_position_spec.rb
create mode 100644 spec/rubocop/cop/layout/else_alignment_spec.rb
create mode 100644 spec/rubocop/cop/layout/empty_line_after_magic_comment_spec.rb
create mode 100644 spec/rubocop/cop/layout/empty_line_between_defs_spec.rb
create mode 100644 spec/rubocop/cop/layout/empty_lines_around_access_modifier_spec.rb
rename spec/rubocop/cop/{style => layout}/empty_lines_around_begin_body_spec.rb (98%)
rename spec/rubocop/cop/{style => layout}/empty_lines_around_block_body_spec.rb (87%)
create mode 100644 spec/rubocop/cop/layout/empty_lines_around_class_body_spec.rb
rename spec/rubocop/cop/{style => layout}/empty_lines_around_exception_handling_keywords_spec.rb (98%)
create mode 100644 spec/rubocop/cop/layout/empty_lines_around_method_body_spec.rb
create mode 100644 spec/rubocop/cop/layout/empty_lines_around_module_body_spec.rb
rename spec/rubocop/cop/{style => layout}/empty_lines_spec.rb (52%)
rename spec/rubocop/cop/{style => layout}/end_of_line_spec.rb (96%)
create mode 100644 spec/rubocop/cop/layout/extra_spacing_spec.rb
rename spec/rubocop/cop/{style => layout}/first_array_element_line_break_spec.rb (71%)
rename spec/rubocop/cop/{style => layout}/first_hash_element_line_break_spec.rb (57%)
rename spec/rubocop/cop/{style => layout}/first_method_argument_line_break_spec.rb (63%)
rename spec/rubocop/cop/{style => layout}/first_method_parameter_line_break_spec.rb (52%)
create mode 100644 spec/rubocop/cop/layout/first_parameter_indentation_spec.rb
create mode 100644 spec/rubocop/cop/layout/indent_array_spec.rb
create mode 100644 spec/rubocop/cop/layout/indent_assignment_spec.rb
create mode 100644 spec/rubocop/cop/layout/indent_hash_spec.rb
rename spec/rubocop/cop/{style => layout}/indent_heredoc_spec.rb (97%)
create mode 100644 spec/rubocop/cop/layout/indentation_consistency_spec.rb
create mode 100644 spec/rubocop/cop/layout/indentation_width_spec.rb
create mode 100644 spec/rubocop/cop/layout/initial_indentation_spec.rb
rename spec/rubocop/cop/{style => layout}/leading_comment_space_spec.rb (58%)
rename spec/rubocop/cop/{style => layout}/multiline_array_brace_layout_spec.rb (61%)
rename spec/rubocop/cop/{style => layout}/multiline_assignment_layout_spec.rb (62%)
create mode 100644 spec/rubocop/cop/layout/multiline_block_layout_spec.rb
rename spec/rubocop/cop/{style => layout}/multiline_hash_brace_layout_spec.rb (67%)
rename spec/rubocop/cop/{style => layout}/multiline_method_call_brace_layout_spec.rb (53%)
create mode 100644 spec/rubocop/cop/layout/multiline_method_call_indentation_spec.rb
rename spec/rubocop/cop/{style => layout}/multiline_method_definition_brace_layout_spec.rb (51%)
create mode 100644 spec/rubocop/cop/layout/multiline_operation_indentation_spec.rb
rename spec/rubocop/cop/{style => layout}/rescue_ensure_alignment_spec.rb (51%)
create mode 100644 spec/rubocop/cop/layout/space_after_colon_spec.rb
rename spec/rubocop/cop/{style => layout}/space_after_comma_spec.rb (91%)
create mode 100644 spec/rubocop/cop/layout/space_after_method_name_spec.rb
rename spec/rubocop/cop/{style => layout}/space_after_not_spec.rb (72%)
rename spec/rubocop/cop/{style => layout}/space_after_semicolon_spec.rb (78%)
create mode 100644 spec/rubocop/cop/layout/space_around_block_parameters_spec.rb
rename spec/rubocop/cop/{style => layout}/space_around_equals_in_parameter_default_spec.rb (56%)
rename spec/rubocop/cop/{style => layout}/space_around_keyword_spec.rb (95%)
create mode 100644 spec/rubocop/cop/layout/space_around_operators_spec.rb
rename spec/rubocop/cop/{style => layout}/space_before_block_braces_spec.rb (76%)
rename spec/rubocop/cop/{style => layout}/space_before_comma_spec.rb (65%)
rename spec/rubocop/cop/{style => layout}/space_before_comment_spec.rb (50%)
create mode 100644 spec/rubocop/cop/layout/space_before_first_arg_spec.rb
rename spec/rubocop/cop/{style => layout}/space_before_semicolon_spec.rb (79%)
rename spec/rubocop/cop/{style => layout}/space_in_lambda_literal_spec.rb (59%)
rename spec/rubocop/cop/{style => layout}/space_inside_array_percent_literal_spec.rb (73%)
rename spec/rubocop/cop/{style => layout}/space_inside_block_braces_spec.rb (78%)
create mode 100644 spec/rubocop/cop/layout/space_inside_brackets_spec.rb
rename spec/rubocop/cop/{style => layout}/space_inside_hash_literal_braces_spec.rb (55%)
create mode 100644 spec/rubocop/cop/layout/space_inside_parens_spec.rb
rename spec/rubocop/cop/{style => layout}/space_inside_percent_literal_delimiters_spec.rb (74%)
rename spec/rubocop/cop/{style => layout}/space_inside_range_literal_spec.rb (61%)
rename spec/rubocop/cop/{style => layout}/space_inside_string_interpolation_spec.rb (87%)
rename spec/rubocop/cop/{style => layout}/tab_spec.rb (64%)
rename spec/rubocop/cop/{style => layout}/trailing_blank_lines_spec.rb (88%)
rename spec/rubocop/cop/{style => layout}/trailing_whitespace_spec.rb (93%)
create mode 100644 spec/rubocop/cop/lint/rescue_type_spec.rb
create mode 100644 spec/rubocop/cop/lint/script_permission_spec.rb
create mode 100644 spec/rubocop/cop/performance/caller_spec.rb
create mode 100644 spec/rubocop/cop/rails/application_job_spec.rb
create mode 100644 spec/rubocop/cop/rails/application_record_spec.rb
delete mode 100644 spec/rubocop/cop/style/access_modifier_indentation_spec.rb
delete mode 100644 spec/rubocop/cop/style/align_array_spec.rb
delete mode 100644 spec/rubocop/cop/style/align_hash_spec.rb
delete mode 100644 spec/rubocop/cop/style/align_parameters_spec.rb
delete mode 100644 spec/rubocop/cop/style/case_indentation_spec.rb
delete mode 100644 spec/rubocop/cop/style/closing_parenthesis_indentation_spec.rb
delete mode 100644 spec/rubocop/cop/style/comment_indentation_spec.rb
delete mode 100644 spec/rubocop/cop/style/dot_position_spec.rb
delete mode 100644 spec/rubocop/cop/style/else_alignment_spec.rb
delete mode 100644 spec/rubocop/cop/style/empty_line_after_magic_comment_spec.rb
delete mode 100644 spec/rubocop/cop/style/empty_line_between_defs_spec.rb
delete mode 100644 spec/rubocop/cop/style/empty_lines_around_access_modifier_spec.rb
delete mode 100644 spec/rubocop/cop/style/empty_lines_around_class_body_spec.rb
delete mode 100644 spec/rubocop/cop/style/empty_lines_around_method_body_spec.rb
delete mode 100644 spec/rubocop/cop/style/empty_lines_around_module_body_spec.rb
delete mode 100644 spec/rubocop/cop/style/extra_spacing_spec.rb
delete mode 100644 spec/rubocop/cop/style/first_parameter_indentation_spec.rb
create mode 100644 spec/rubocop/cop/style/format_string_token_spec.rb
delete mode 100644 spec/rubocop/cop/style/indent_array_spec.rb
delete mode 100644 spec/rubocop/cop/style/indent_assignment_spec.rb
delete mode 100644 spec/rubocop/cop/style/indent_hash_spec.rb
delete mode 100644 spec/rubocop/cop/style/indentation_consistency_spec.rb
delete mode 100644 spec/rubocop/cop/style/indentation_width_spec.rb
delete mode 100644 spec/rubocop/cop/style/initial_indentation_spec.rb
delete mode 100644 spec/rubocop/cop/style/multiline_block_layout_spec.rb
delete mode 100644 spec/rubocop/cop/style/multiline_method_call_indentation_spec.rb
delete mode 100644 spec/rubocop/cop/style/multiline_operation_indentation_spec.rb
create mode 100644 spec/rubocop/cop/style/multiple_comparison_spec.rb
delete mode 100644 spec/rubocop/cop/style/space_after_colon_spec.rb
delete mode 100644 spec/rubocop/cop/style/space_after_method_name_spec.rb
delete mode 100644 spec/rubocop/cop/style/space_around_block_parameters_spec.rb
delete mode 100644 spec/rubocop/cop/style/space_around_operators_spec.rb
delete mode 100644 spec/rubocop/cop/style/space_before_first_arg_spec.rb
delete mode 100644 spec/rubocop/cop/style/space_inside_brackets_spec.rb
delete mode 100644 spec/rubocop/cop/style/space_inside_parens_spec.rb
create mode 100644 spec/rubocop/cop/style/yoda_condition_spec.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