[DRE-commits] [rubocop] 02/05: Merge tag 'upstream/0.32.0'

Sebastien Badia sbadia-guest at moszumanska.debian.org
Fri Jun 12 20:46:45 UTC 2015


This is an automated email from the git hooks/post-receive script.

sbadia-guest pushed a commit to branch master
in repository rubocop.

commit 713c3088a45a9e2346456d444e1b873de01100ee
Merge: 8274c3f 141fbac
Author: Sebastien Badia <seb at sebian.fr>
Date:   Fri Jun 12 22:34:59 2015 +0200

    Merge tag 'upstream/0.32.0'
    
    Upstream version 0.32.0

 .gitignore                                         |    3 +
 .rubocop.yml                                       |   10 +-
 rubocop-todo.yml => .rubocop_todo.yml              |   31 +-
 .travis.yml                                        |   11 +-
 CHANGELOG.md                                       |  594 +++++++
 CONTRIBUTING.md                                    |    2 +-
 Gemfile                                            |    6 +-
 README.md                                          |  384 +++--
 Rakefile                                           |    8 +-
 assets/logo.png                                    |  Bin 0 -> 5390 bytes
 assets/output.html.erb                             |  193 +++
 bin/rubocop                                        |   25 +-
 config/default.yml                                 |  630 +++++--
 config/disabled.yml                                |   53 +-
 config/enabled.yml                                 |  791 ++++++---
 lib/rubocop.rb                                     |  126 +-
 lib/rubocop/cli.rb                                 |   64 +-
 lib/rubocop/comment_config.rb                      |   34 +-
 lib/rubocop/config.rb                              |  145 +-
 lib/rubocop/config_loader.rb                       |  103 +-
 lib/rubocop/config_store.rb                        |    3 +-
 lib/rubocop/cop/autocorrect_logic.rb               |   26 +
 lib/rubocop/cop/commissioner.rb                    |   37 +-
 lib/rubocop/cop/cop.rb                             |  151 +-
 lib/rubocop/cop/corrector.rb                       |   22 +-
 lib/rubocop/cop/force.rb                           |   41 +
 lib/rubocop/cop/ignored_node.rb                    |   31 +-
 lib/rubocop/cop/lint/ambiguous_operator.rb         |    4 +-
 lib/rubocop/cop/lint/ambiguous_regexp_literal.rb   |    6 +-
 lib/rubocop/cop/lint/assignment_in_condition.rb    |   23 +-
 lib/rubocop/cop/lint/block_alignment.rb            |  103 +-
 lib/rubocop/cop/lint/condition_position.rb         |   12 +-
 lib/rubocop/cop/lint/debugger.rb                   |   46 +-
 lib/rubocop/cop/lint/def_end_alignment.rb          |   57 +
 lib/rubocop/cop/lint/deprecated_class_methods.rb   |    4 +-
 lib/rubocop/cop/lint/duplicate_methods.rb          |  104 ++
 lib/rubocop/cop/lint/each_with_object_argument.rb  |   29 +
 lib/rubocop/cop/lint/else_layout.rb                |    2 +-
 lib/rubocop/cop/lint/empty_ensure.rb               |    2 +-
 lib/rubocop/cop/lint/empty_interpolation.rb        |    2 +-
 lib/rubocop/cop/lint/end_alignment.rb              |  105 +-
 lib/rubocop/cop/lint/end_in_method.rb              |   13 +-
 lib/rubocop/cop/lint/ensure_return.rb              |    8 +-
 lib/rubocop/cop/lint/eval.rb                       |    2 +-
 lib/rubocop/cop/lint/handle_exceptions.rb          |    2 +-
 lib/rubocop/cop/lint/invalid_character_literal.rb  |    2 +-
 lib/rubocop/cop/lint/literal_in_condition.rb       |    2 +-
 lib/rubocop/cop/lint/literal_in_interpolation.rb   |   21 +-
 lib/rubocop/cop/lint/loop.rb                       |    2 +-
 lib/rubocop/cop/lint/nested_method_definition.rb   |   31 +
 .../cop/lint/non_local_exit_from_iterator.rb       |   70 +
 .../cop/lint/parentheses_as_grouped_expression.rb  |   27 +-
 lib/rubocop/cop/lint/require_parentheses.rb        |   26 +-
 lib/rubocop/cop/lint/rescue_exception.rb           |   11 +-
 .../cop/lint/shadowing_outer_local_variable.rb     |   14 +-
 lib/rubocop/cop/lint/space_before_first_arg.rb     |   11 +-
 .../cop/lint/string_conversion_in_interpolation.rb |   17 +-
 lib/rubocop/cop/lint/syntax.rb                     |   34 +-
 .../cop/lint/underscore_prefixed_variable_name.rb  |   39 +
 lib/rubocop/cop/lint/unneeded_disable.rb           |   53 +
 lib/rubocop/cop/lint/unreachable_code.rb           |    7 +-
 lib/rubocop/cop/lint/unused_block_argument.rb      |   80 +
 lib/rubocop/cop/lint/unused_method_argument.rb     |   43 +
 lib/rubocop/cop/lint/useless_access_modifier.rb    |   12 +-
 lib/rubocop/cop/lint/useless_assignment.rb         |   57 +-
 lib/rubocop/cop/lint/useless_comparison.rb         |   11 +-
 .../cop/lint/useless_else_without_rescue.rb        |    8 +-
 lib/rubocop/cop/lint/useless_setter_call.rb        |   61 +-
 lib/rubocop/cop/lint/void.rb                       |   32 +-
 lib/rubocop/cop/metrics/abc_size.rb                |   27 +
 .../cop/{style => metrics}/block_nesting.rb        |   17 +-
 lib/rubocop/cop/metrics/class_length.rb            |   24 +
 .../{style => metrics}/cyclomatic_complexity.rb    |   23 +-
 lib/rubocop/cop/metrics/line_length.rb             |   89 +
 .../cop/{style => metrics}/method_length.rb        |   14 +-
 lib/rubocop/cop/metrics/module_length.rb           |   24 +
 .../cop/{style => metrics}/parameter_lists.rb      |   14 +-
 lib/rubocop/cop/metrics/perceived_complexity.rb    |   61 +
 lib/rubocop/cop/mixin/access_modifier_node.rb      |   49 +
 lib/rubocop/cop/mixin/annotation_comment.rb        |    4 +-
 lib/rubocop/cop/mixin/array_syntax.rb              |    2 +-
 lib/rubocop/cop/mixin/autocorrect_alignment.rb     |   82 +-
 .../cop/mixin/autocorrect_unless_changing_ast.rb   |   27 +-
 lib/rubocop/cop/mixin/check_assignment.rb          |   13 +-
 lib/rubocop/cop/mixin/check_methods.rb             |   18 -
 lib/rubocop/cop/mixin/classish_length.rb           |   37 +
 lib/rubocop/cop/mixin/code_length.rb               |   13 +-
 .../cop/mixin/configurable_enforced_style.rb       |    2 +-
 lib/rubocop/cop/mixin/configurable_max.rb          |    2 +-
 lib/rubocop/cop/mixin/configurable_naming.rb       |   32 +-
 lib/rubocop/cop/mixin/empty_lines_around_body.rb   |   63 +
 lib/rubocop/cop/mixin/end_keyword_alignment.rb     |   55 +
 lib/rubocop/cop/mixin/if_node.rb                   |   16 +-
 lib/rubocop/cop/mixin/if_then_else.rb              |   23 -
 lib/rubocop/cop/mixin/method_complexity.rb         |   30 +
 lib/rubocop/cop/mixin/min_body_length.rb           |   19 +
 lib/rubocop/cop/mixin/negative_conditional.rb      |   16 +-
 lib/rubocop/cop/mixin/on_method_def.rb             |   31 +
 lib/rubocop/cop/mixin/on_normal_if_unless.rb       |   37 +
 lib/rubocop/cop/mixin/parser_diagnostic.rb         |    2 +-
 lib/rubocop/cop/mixin/percent_literal.rb           |   26 +
 lib/rubocop/cop/mixin/safe_assignment.rb           |   17 +-
 lib/rubocop/cop/mixin/space_after_punctuation.rb   |   25 +-
 lib/rubocop/cop/mixin/space_before_punctuation.rb  |   37 +
 lib/rubocop/cop/mixin/space_inside.rb              |   60 +-
 lib/rubocop/cop/mixin/statement_modifier.rb        |   50 +-
 lib/rubocop/cop/mixin/string_help.rb               |   17 +-
 lib/rubocop/cop/mixin/string_literals_help.rb      |   28 +
 lib/rubocop/cop/mixin/surrounding_space.rb         |   18 +-
 lib/rubocop/cop/mixin/unused_argument.rb           |   34 +
 lib/rubocop/cop/offense.rb                         |   64 +-
 lib/rubocop/cop/performance/count.rb               |   87 +
 lib/rubocop/cop/performance/detect.rb              |   76 +
 lib/rubocop/cop/performance/flat_map.rb            |   65 +
 lib/rubocop/cop/performance/reverse_each.rb        |   41 +
 lib/rubocop/cop/performance/sample.rb              |  135 ++
 lib/rubocop/cop/performance/size.rb                |   63 +
 lib/rubocop/cop/rails/action_filter.rb             |   18 +-
 lib/rubocop/cop/rails/date.rb                      |  120 ++
 lib/rubocop/cop/rails/default_scope.rb             |    8 +-
 lib/rubocop/cop/rails/delegate.rb                  |  107 ++
 lib/rubocop/cop/rails/find_by.rb                   |   52 +
 lib/rubocop/cop/rails/find_each.rb                 |   39 +
 lib/rubocop/cop/rails/has_and_belongs_to_many.rb   |    7 +-
 lib/rubocop/cop/rails/output.rb                    |   11 +-
 lib/rubocop/cop/rails/read_write_attribute.rb      |   40 +-
 lib/rubocop/cop/rails/scope_args.rb                |    2 +-
 lib/rubocop/cop/rails/time_zone.rb                 |  160 ++
 lib/rubocop/cop/rails/validation.rb                |   32 +-
 lib/rubocop/cop/severity.rb                        |    2 +-
 .../cop/style/access_modifier_indentation.rb       |   24 +-
 lib/rubocop/cop/style/accessor_method_name.rb      |    6 +-
 lib/rubocop/cop/style/alias.rb                     |   10 +-
 lib/rubocop/cop/style/align_array.rb               |    2 +-
 lib/rubocop/cop/style/align_hash.rb                |   83 +-
 lib/rubocop/cop/style/align_parameters.rb          |   16 +-
 lib/rubocop/cop/style/and_or.rb                    |   67 +-
 lib/rubocop/cop/style/array_join.rb                |   18 +-
 lib/rubocop/cop/style/ascii_comments.rb            |    2 +-
 lib/rubocop/cop/style/ascii_identifiers.rb         |    9 +-
 lib/rubocop/cop/style/attr.rb                      |   10 +-
 lib/rubocop/cop/style/auto_resource_cleanup.rb     |   45 +
 lib/rubocop/cop/style/bare_percent_literals.rb     |   46 +
 lib/rubocop/cop/style/begin_block.rb               |    2 +-
 lib/rubocop/cop/style/block_comments.rb            |   34 +-
 lib/rubocop/cop/style/block_delimiters.rb          |  179 ++
 lib/rubocop/cop/style/block_end_newline.rb         |   56 +
 lib/rubocop/cop/style/blocks.rb                    |   80 -
 .../cop/style/braces_around_hash_parameters.rb     |   97 +-
 lib/rubocop/cop/style/case_equality.rb             |    2 +-
 lib/rubocop/cop/style/case_indentation.rb          |   48 +-
 lib/rubocop/cop/style/character_literal.rb         |    6 +-
 .../cop/style/class_and_module_camel_case.rb       |    2 +-
 lib/rubocop/cop/style/class_and_module_children.rb |    8 +-
 lib/rubocop/cop/style/class_check.rb               |   42 +
 lib/rubocop/cop/style/class_length.rb              |   49 -
 lib/rubocop/cop/style/class_methods.rb             |   46 +-
 lib/rubocop/cop/style/class_vars.rb                |    2 +-
 .../cop/style/closing_parenthesis_indentation.rb   |   76 +
 lib/rubocop/cop/style/collection_methods.rb        |   31 +-
 lib/rubocop/cop/style/colon_method_call.rb         |   19 +-
 lib/rubocop/cop/style/command_literal.rb           |  120 ++
 lib/rubocop/cop/style/comment_annotation.rb        |   44 +-
 lib/rubocop/cop/style/comment_indentation.rb       |   66 +
 lib/rubocop/cop/style/constant_name.rb             |    8 +-
 lib/rubocop/cop/style/copyright.rb                 |   87 +
 lib/rubocop/cop/style/def_with_parentheses.rb      |    8 +-
 lib/rubocop/cop/style/deprecated_hash_methods.rb   |   16 +-
 lib/rubocop/cop/style/documentation.rb             |   51 +-
 lib/rubocop/cop/style/dot_position.rb              |   24 +-
 lib/rubocop/cop/style/double_negation.rb           |    9 +-
 lib/rubocop/cop/style/each_with_object.rb          |   58 +
 lib/rubocop/cop/style/else_alignment.rb            |  109 ++
 lib/rubocop/cop/style/empty_else.rb                |  141 ++
 lib/rubocop/cop/style/empty_line_between_defs.rb   |    8 +-
 lib/rubocop/cop/style/empty_lines.rb               |   17 +-
 .../style/empty_lines_around_access_modifier.rb    |   56 +-
 .../cop/style/empty_lines_around_block_body.rb     |   38 +
 lib/rubocop/cop/style/empty_lines_around_body.rb   |   74 -
 .../cop/style/empty_lines_around_class_body.rb     |   34 +
 .../cop/style/empty_lines_around_method_body.rb    |   37 +
 .../cop/style/empty_lines_around_module_body.rb    |   30 +
 lib/rubocop/cop/style/empty_literal.rb             |   45 +-
 lib/rubocop/cop/style/encoding.rb                  |   69 +-
 lib/rubocop/cop/style/end_block.rb                 |    2 +-
 lib/rubocop/cop/style/end_of_line.rb               |   30 +-
 lib/rubocop/cop/style/even_odd.rb                  |   46 +-
 lib/rubocop/cop/style/extra_spacing.rb             |   33 +
 lib/rubocop/cop/style/file_name.rb                 |   18 +-
 lib/rubocop/cop/style/final_newline.rb             |   29 -
 .../cop/style/first_parameter_indentation.rb       |  109 ++
 lib/rubocop/cop/style/flip_flop.rb                 |    2 +-
 lib/rubocop/cop/style/for.rb                       |    2 +-
 lib/rubocop/cop/style/format_string.rb             |   16 +-
 lib/rubocop/cop/style/global_vars.rb               |    8 +-
 lib/rubocop/cop/style/guard_clause.rb              |   50 +-
 lib/rubocop/cop/style/hash_syntax.rb               |  118 +-
 lib/rubocop/cop/style/if_unless_modifier.rb        |   38 +-
 lib/rubocop/cop/style/if_with_semicolon.rb         |   14 +-
 lib/rubocop/cop/style/indent_array.rb              |   49 +-
 lib/rubocop/cop/style/indent_hash.rb               |   85 +-
 lib/rubocop/cop/style/indentation_consistency.rb   |   32 +-
 lib/rubocop/cop/style/indentation_width.rb         |  222 ++-
 lib/rubocop/cop/style/infinite_loop.rb             |   57 +
 lib/rubocop/cop/style/inline_comment.rb            |   19 +
 lib/rubocop/cop/style/lambda.rb                    |   82 +-
 lib/rubocop/cop/style/lambda_call.rb               |    6 +-
 lib/rubocop/cop/style/leading_comment_space.rb     |   15 +-
 lib/rubocop/cop/style/line_end_concatenation.rb    |   79 +-
 lib/rubocop/cop/style/line_length.rb               |   34 -
 lib/rubocop/cop/style/method_call_parentheses.rb   |   11 +-
 .../cop/style/method_called_on_do_end_block.rb     |   21 +-
 lib/rubocop/cop/style/method_def_parentheses.rb    |   32 +-
 lib/rubocop/cop/style/method_name.rb               |   26 +-
 lib/rubocop/cop/style/missing_else.rb              |   72 +
 lib/rubocop/cop/style/module_function.rb           |   15 +-
 lib/rubocop/cop/style/multiline_block_chain.rb     |   34 +-
 lib/rubocop/cop/style/multiline_block_layout.rb    |  124 ++
 lib/rubocop/cop/style/multiline_if_then.rb         |   35 +-
 .../cop/style/multiline_operation_indentation.rb   |  198 +++
 .../cop/style/multiline_ternary_operator.rb        |    5 +-
 lib/rubocop/cop/style/negated_if.rb                |    8 +-
 lib/rubocop/cop/style/negated_while.rb             |   12 +-
 lib/rubocop/cop/style/nested_ternary_operator.rb   |    8 +-
 lib/rubocop/cop/style/next.rb                      |   87 +
 lib/rubocop/cop/style/nil_comparison.rb            |   15 +-
 lib/rubocop/cop/style/non_nil_check.rb             |   49 +-
 lib/rubocop/cop/style/not.rb                       |   18 +-
 lib/rubocop/cop/style/numeric_literals.rb          |   47 +-
 lib/rubocop/cop/style/one_line_conditional.rb      |   14 +-
 lib/rubocop/cop/style/op_method.rb                 |   18 +-
 lib/rubocop/cop/style/parallel_assignment.rb       |  196 +++
 .../cop/style/parentheses_around_condition.rb      |   26 +-
 .../cop/style/percent_literal_delimiters.rb        |   91 +-
 lib/rubocop/cop/style/percent_q_literals.rb        |   53 +
 lib/rubocop/cop/style/perl_backrefs.rb             |   15 +-
 lib/rubocop/cop/style/predicate_name.rb            |   36 +-
 lib/rubocop/cop/style/proc.rb                      |    6 +-
 lib/rubocop/cop/style/raise_args.rb                |    4 +-
 lib/rubocop/cop/style/redundant_begin.rb           |   35 +-
 lib/rubocop/cop/style/redundant_exception.rb       |   12 +-
 lib/rubocop/cop/style/redundant_return.rb          |   10 +-
 lib/rubocop/cop/style/redundant_self.rb            |   35 +-
 lib/rubocop/cop/style/regexp_literal.rb            |  145 +-
 lib/rubocop/cop/style/rescue_modifier.rb           |   12 +-
 lib/rubocop/cop/style/self_assignment.rb           |   48 +-
 lib/rubocop/cop/style/semicolon.rb                 |   44 +-
 lib/rubocop/cop/style/signal_exception.rb          |   25 +-
 lib/rubocop/cop/style/single_line_block_params.rb  |   17 +-
 lib/rubocop/cop/style/single_line_methods.rb       |   19 +-
 .../cop/style/single_space_before_first_arg.rb     |    4 +-
 lib/rubocop/cop/style/space_after_colon.rb         |   28 +-
 lib/rubocop/cop/style/space_after_comma.rb         |    2 +-
 .../cop/style/space_after_control_keyword.rb       |   12 +-
 lib/rubocop/cop/style/space_after_method_name.rb   |   18 +-
 lib/rubocop/cop/style/space_after_not.rb           |   11 +-
 lib/rubocop/cop/style/space_after_semicolon.rb     |    2 +-
 .../cop/style/space_around_block_parameters.rb     |  110 ++
 .../space_around_equals_in_parameter_default.rb    |   48 +-
 lib/rubocop/cop/style/space_around_operators.rb    |   31 +-
 lib/rubocop/cop/style/space_before_block_braces.rb |   11 +-
 ...{space_after_comma.rb => space_before_comma.rb} |    8 +-
 lib/rubocop/cop/style/space_before_comment.rb      |   27 +
 .../cop/style/space_before_modifier_keyword.rb     |   19 +-
 ...fter_semicolon.rb => space_before_semicolon.rb} |    8 +-
 lib/rubocop/cop/style/space_inside_block_braces.rb |   78 +-
 lib/rubocop/cop/style/space_inside_brackets.rb     |    8 +-
 .../cop/style/space_inside_hash_literal_braces.rb  |   40 +-
 lib/rubocop/cop/style/space_inside_parens.rb       |    4 +-
 .../cop/style/space_inside_range_literal.rb        |   63 +
 .../cop/style/space_inside_string_interpolation.rb |   41 +
 lib/rubocop/cop/style/special_global_vars.rb       |   17 +-
 lib/rubocop/cop/style/string_literals.rb           |   27 +-
 .../cop/style/string_literals_in_interpolation.rb  |   30 +
 lib/rubocop/cop/style/struct_inheritance.rb        |   43 +
 lib/rubocop/cop/style/symbol_array.rb              |    7 +-
 lib/rubocop/cop/style/symbol_literal.rb            |   36 +
 lib/rubocop/cop/style/symbol_proc.rb               |   84 +
 lib/rubocop/cop/style/tab.rb                       |   29 +-
 lib/rubocop/cop/style/trailing_blank_lines.rb      |   90 +-
 lib/rubocop/cop/style/trailing_comma.rb            |   98 +-
 .../cop/style/trailing_underscore_variable.rb      |   72 +
 lib/rubocop/cop/style/trailing_whitespace.rb       |   18 +-
 lib/rubocop/cop/style/trivial_accessors.rb         |  107 +-
 lib/rubocop/cop/style/unless_else.rb               |    9 +-
 lib/rubocop/cop/style/unneeded_capital_w.rb        |   36 +
 lib/rubocop/cop/style/unneeded_percent_q.rb        |   58 +
 lib/rubocop/cop/style/variable_interpolation.rb    |   24 +-
 lib/rubocop/cop/style/variable_name.rb             |   30 +-
 lib/rubocop/cop/style/when_then.rb                 |   14 +-
 lib/rubocop/cop/style/while_until_do.rb            |   25 +-
 lib/rubocop/cop/style/while_until_modifier.rb      |   31 +-
 lib/rubocop/cop/style/word_array.rb                |   59 +-
 lib/rubocop/cop/team.rb                            |   78 +-
 lib/rubocop/cop/util.rb                            |  104 +-
 .../{variable_inspector.rb => variable_force.rb}   |  162 +-
 .../assignment.rb                                  |   42 +-
 .../locatable.rb                                   |   59 +-
 lib/rubocop/cop/variable_force/reference.rb        |   49 +
 lib/rubocop/cop/variable_force/scope.rb            |   90 +
 .../variable.rb                                    |   53 +-
 .../variable_table.rb                              |    7 +-
 lib/rubocop/cop/variable_inspector/reference.rb    |   31 -
 lib/rubocop/cop/variable_inspector/scope.rb        |   71 -
 lib/rubocop/file_inspector.rb                      |  149 --
 lib/rubocop/formatter/base_formatter.rb            |   12 +-
 lib/rubocop/formatter/clang_style_formatter.rb     |    9 +-
 lib/rubocop/formatter/colorizable.rb               |    2 +-
 lib/rubocop/formatter/disabled_config_formatter.rb |   24 +-
 lib/rubocop/formatter/disabled_lines_formatter.rb  |    6 +-
 lib/rubocop/formatter/emacs_style_formatter.rb     |    2 +-
 lib/rubocop/formatter/file_list_formatter.rb       |    2 +-
 lib/rubocop/formatter/formatter_set.rb             |   38 +-
 lib/rubocop/formatter/fuubar_style_formatter.rb    |    4 +-
 lib/rubocop/formatter/html_formatter.rb            |  124 ++
 lib/rubocop/formatter/json_formatter.rb            |    4 +-
 lib/rubocop/formatter/offense_count_formatter.rb   |   23 +-
 lib/rubocop/formatter/progress_formatter.rb        |   13 +-
 lib/rubocop/formatter/simple_text_formatter.rb     |   25 +-
 lib/rubocop/formatter/text_util.rb                 |   23 +
 lib/rubocop/options.rb                             |  235 +--
 lib/rubocop/path_util.rb                           |   41 +-
 lib/rubocop/processed_source.rb                    |  108 +-
 lib/rubocop/rake_task.rb                           |   36 +-
 lib/rubocop/runner.rb                              |  213 +++
 lib/rubocop/source_parser.rb                       |   47 -
 lib/rubocop/string_util.rb                         |  155 ++
 lib/rubocop/target_finder.rb                       |   70 +-
 lib/rubocop/token.rb                               |    6 +-
 lib/rubocop/version.rb                             |    4 +-
 logo/rubo-logo-horizontal.png                      |  Bin 0 -> 14747 bytes
 logo/rubo-logo-square.png                          |  Bin 0 -> 23488 bytes
 logo/rubo-logo-symbol.png                          |  Bin 0 -> 22378 bytes
 logo/rubocop-final-logo.eps                        |  Bin 0 -> 1112762 bytes
 relnotes/v0.21.0.md                                |   56 +
 relnotes/v0.22.0.md                                |   77 +
 relnotes/v0.23.0.md                                |   79 +
 relnotes/v0.24.0.md                                |   77 +
 relnotes/v0.24.1.md                                |   15 +
 relnotes/v0.25.0.md                                |   91 +
 relnotes/v0.26.0.md                                |   89 +
 relnotes/v0.26.1.md                                |   12 +
 relnotes/v0.27.0.md                                |   77 +
 relnotes/v0.27.1.md                                |   66 +
 relnotes/v0.28.0.md                                |   90 +
 relnotes/v0.29.0.md                                |  116 ++
 relnotes/v0.29.1.md                                |   12 +
 relnotes/v0.30.0.md                                |  145 ++
 relnotes/v0.30.1.md                                |  102 ++
 relnotes/v0.31.0.md                                |  120 ++
 relnotes/v0.32.0.md                                |  139 ++
 rubocop.gemspec                                    |   34 +-
 spec/.rubocop.yml                                  |    2 +-
 spec/fixtures/html_formatter/expected.html         |  517 ++++++
 .../app/controllers/application_controller.rb      |    5 +
 .../project/app/controllers/books_controller.rb    |   74 +
 .../html_formatter/project/app/models/book.rb      |    6 +
 spec/isolated_environment_spec.rb                  |    2 +-
 spec/project_spec.rb                               |    7 +-
 spec/rubocop/cli_spec.rb                           | 1752 ++++++++++++++++----
 spec/rubocop/comment_config_spec.rb                |   36 +-
 spec/rubocop/config_loader_spec.rb                 |  125 +-
 spec/rubocop/config_spec.rb                        |  173 +-
 spec/rubocop/config_store_spec.rb                  |   26 +-
 spec/rubocop/cop/commissioner_spec.rb              |   22 +-
 spec/rubocop/cop/cop_spec.rb                       |  141 +-
 spec/rubocop/cop/corrector_spec.rb                 |    2 +-
 spec/rubocop/cop/force_spec.rb                     |   29 +
 spec/rubocop/cop/lint/ambiguous_operator_spec.rb   |    6 +-
 .../cop/lint/ambiguous_regexp_literal_spec.rb      |    4 +-
 .../cop/lint/assignment_in_condition_spec.rb       |   45 +-
 spec/rubocop/cop/lint/block_alignment_spec.rb      |  252 ++-
 spec/rubocop/cop/lint/condition_position_spec.rb   |   22 +-
 spec/rubocop/cop/lint/debugger_spec.rb             |   67 +-
 spec/rubocop/cop/lint/def_end_alignment_spec.rb    |  144 ++
 .../cop/lint/deprecated_class_methods_spec.rb      |    2 +-
 spec/rubocop/cop/lint/duplicate_methods_spec.rb    |  189 +++
 .../cop/lint/each_with_object_argument_spec.rb     |   45 +
 spec/rubocop/cop/lint/else_layout_spec.rb          |   10 +-
 spec/rubocop/cop/lint/empty_ensure_spec.rb         |    2 +-
 spec/rubocop/cop/lint/empty_interpolation_spec.rb  |    4 +-
 spec/rubocop/cop/lint/end_alignment_spec.rb        |  121 +-
 spec/rubocop/cop/lint/end_in_method_spec.rb        |    4 +-
 spec/rubocop/cop/lint/ensure_return_spec.rb        |    2 +-
 spec/rubocop/cop/lint/eval_spec.rb                 |   10 +-
 spec/rubocop/cop/lint/handle_exceptions_spec.rb    |    2 +-
 .../cop/lint/invalid_character_literal_spec.rb     |    4 +-
 spec/rubocop/cop/lint/literal_in_condition_spec.rb |   20 +-
 .../cop/lint/literal_in_interpolation_spec.rb      |  124 +-
 spec/rubocop/cop/lint/loop_spec.rb                 |   10 +-
 .../cop/lint/nested_method_definition_spec.rb      |   48 +
 .../cop/lint/non_local_exit_from_iterator_spec.rb  |  154 ++
 .../lint/parentheses_as_grouped_expression_spec.rb |   16 +-
 spec/rubocop/cop/lint/require_parentheses_spec.rb  |    2 +-
 spec/rubocop/cop/lint/rescue_exception_spec.rb     |    2 +-
 .../lint/shadowing_outer_local_variable_spec.rb    |   10 +-
 .../cop/lint/space_before_first_arg_spec.rb        |   18 +-
 .../string_conversion_in_interpolation_spec.rb     |    2 +-
 spec/rubocop/cop/lint/syntax_spec.rb               |    4 +-
 .../lint/underscore_prefixed_variable_name_spec.rb |  181 ++
 spec/rubocop/cop/lint/unneeded_disable_spec.rb     |  142 ++
 spec/rubocop/cop/lint/unreachable_code_spec.rb     |    2 +-
 .../rubocop/cop/lint/unused_block_argument_spec.rb |  275 +++
 .../cop/lint/unused_method_argument_spec.rb        |  322 ++++
 .../cop/lint/useless_access_modifier_spec.rb       |    7 +-
 spec/rubocop/cop/lint/useless_assignment_spec.rb   |  298 +++-
 spec/rubocop/cop/lint/useless_comparison_spec.rb   |    4 +-
 .../cop/lint/useless_else_without_rescue_spec.rb   |    4 +-
 spec/rubocop/cop/lint/useless_setter_call_spec.rb  |  162 +-
 spec/rubocop/cop/lint/void_spec.rb                 |   23 +-
 spec/rubocop/cop/metrics/abc_size_spec.rb          |  109 ++
 .../cop/{style => metrics}/block_nesting_spec.rb   |    8 +-
 .../cop/{style => metrics}/class_length_spec.rb    |    4 +-
 .../cyclomatic_complexity_spec.rb                  |    2 +-
 spec/rubocop/cop/metrics/line_length_spec.rb       |  143 ++
 .../cop/{style => metrics}/method_length_spec.rb   |    2 +-
 .../module_length_spec.rb}                         |   85 +-
 .../cop/{style => metrics}/parameter_lists_spec.rb |   12 +-
 .../perceived_complexity_spec.rb}                  |   74 +-
 spec/rubocop/cop/offense_spec.rb                   |   12 +-
 spec/rubocop/cop/performance/count_spec.rb         |  284 ++++
 spec/rubocop/cop/performance/detect_spec.rb        |  183 ++
 spec/rubocop/cop/performance/flat_map_spec.rb      |  100 ++
 spec/rubocop/cop/performance/reverse_each_spec.rb  |   34 +
 spec/rubocop/cop/performance/sample_spec.rb        |   69 +
 spec/rubocop/cop/performance/size_spec.rb          |  145 ++
 spec/rubocop/cop/rails/action_filter_spec.rb       |   21 +-
 spec/rubocop/cop/rails/date_spec.rb                |   46 +
 spec/rubocop/cop/rails/default_scope_spec.rb       |   12 +-
 spec/rubocop/cop/rails/delegate_spec.rb            |  177 ++
 spec/rubocop/cop/rails/find_by_spec.rb             |   36 +
 spec/rubocop/cop/rails/find_each_spec.rb           |   34 +
 .../cop/rails/has_and_belongs_to_many_spec.rb      |    4 +-
 spec/rubocop/cop/rails/output_spec.rb              |   14 +-
 .../rubocop/cop/rails/read_write_attribute_spec.rb |  129 +-
 spec/rubocop/cop/rails/scope_args_spec.rb          |    8 +-
 spec/rubocop/cop/rails/time_zone_spec.rb           |  183 ++
 spec/rubocop/cop/rails/validation_spec.rb          |   17 +-
 spec/rubocop/cop/severity_spec.rb                  |   12 +-
 .../cop/style/access_modifier_indentation_spec.rb  |   66 +-
 .../rubocop/cop/style/accessor_method_name_spec.rb |    2 +-
 spec/rubocop/cop/style/alias_spec.rb               |   12 +-
 spec/rubocop/cop/style/align_array_spec.rb         |   34 +-
 spec/rubocop/cop/style/align_hash_spec.rb          |  109 +-
 spec/rubocop/cop/style/align_parameters_spec.rb    |  154 +-
 spec/rubocop/cop/style/and_or_spec.rb              |  264 ++-
 spec/rubocop/cop/style/array_join_spec.rb          |   31 +-
 spec/rubocop/cop/style/ascii_comments_spec.rb      |    5 +-
 spec/rubocop/cop/style/ascii_identifiers_spec.rb   |    6 +-
 spec/rubocop/cop/style/attr_spec.rb                |   16 +-
 .../cop/style/auto_resource_cleanup_spec.rb        |   19 +
 .../cop/style/bare_percent_literals_spec.rb        |  132 ++
 spec/rubocop/cop/style/begin_block_spec.rb         |    4 +-
 spec/rubocop/cop/style/block_comments_spec.rb      |   28 +-
 spec/rubocop/cop/style/block_delimiters_spec.rb    |  331 ++++
 spec/rubocop/cop/style/block_end_newline_spec.rb   |   61 +
 spec/rubocop/cop/style/blocks_spec.rb              |  105 --
 .../style/braces_around_hash_parameters_spec.rb    |  435 ++---
 spec/rubocop/cop/style/case_equality_spec.rb       |    4 +-
 spec/rubocop/cop/style/case_indentation_spec.rb    |  490 ++++--
 spec/rubocop/cop/style/character_literal_spec.rb   |   10 +-
 .../cop/style/class_and_module_camel_case_spec.rb  |    2 +-
 .../cop/style/class_and_module_children_spec.rb    |   30 +-
 spec/rubocop/cop/style/class_check_spec.rb         |   41 +
 spec/rubocop/cop/style/class_methods_spec.rb       |   14 +-
 spec/rubocop/cop/style/class_vars_spec.rb          |    6 +-
 .../style/closing_parenthesis_indentation_spec.rb  |  193 +++
 spec/rubocop/cop/style/collection_methods_spec.rb  |   10 +-
 spec/rubocop/cop/style/colon_method_call_spec.rb   |   23 +-
 spec/rubocop/cop/style/command_literal_spec.rb     |  468 ++++++
 spec/rubocop/cop/style/comment_annotation_spec.rb  |   99 +-
 spec/rubocop/cop/style/comment_indentation_spec.rb |  187 +++
 spec/rubocop/cop/style/constant_name_spec.rb       |   18 +-
 spec/rubocop/cop/style/copyright_spec.rb           |  227 +++
 .../rubocop/cop/style/def_with_parentheses_spec.rb |   12 +-
 .../cop/style/deprecated_hash_methods_spec.rb      |   10 +-
 spec/rubocop/cop/style/documentation_spec.rb       |  148 +-
 spec/rubocop/cop/style/dot_position_spec.rb        |   55 +-
 spec/rubocop/cop/style/double_negation_spec.rb     |    2 +-
 spec/rubocop/cop/style/each_with_object_spec.rb    |   73 +
 spec/rubocop/cop/style/else_alignment_spec.rb      |  506 ++++++
 spec/rubocop/cop/style/empty_else_spec.rb          |  396 +++++
 .../cop/style/empty_line_between_defs_spec.rb      |    2 +-
 .../empty_lines_around_access_modifier_spec.rb     |  128 +-
 .../style/empty_lines_around_block_body_spec.rb    |  103 ++
 .../style/empty_lines_around_class_body_spec.rb    |  135 ++
 ...c.rb => empty_lines_around_method_body_spec.rb} |   61 +-
 .../style/empty_lines_around_module_body_spec.rb   |   79 +
 spec/rubocop/cop/style/empty_lines_spec.rb         |    8 +-
 spec/rubocop/cop/style/empty_literal_spec.rb       |   55 +-
 spec/rubocop/cop/style/encoding_spec.rb            |  196 ++-
 spec/rubocop/cop/style/end_block_spec.rb           |    4 +-
 spec/rubocop/cop/style/end_of_line_spec.rb         |   46 +-
 spec/rubocop/cop/style/even_odd_spec.rb            |  131 +-
 spec/rubocop/cop/style/extra_spacing_spec.rb       |   68 +
 spec/rubocop/cop/style/file_name_spec.rb           |    6 +-
 spec/rubocop/cop/style/final_newline_spec.rb       |   30 -
 .../cop/style/first_parameter_indentation_spec.rb  |  304 ++++
 spec/rubocop/cop/style/flip_flop_spec.rb           |    2 +-
 spec/rubocop/cop/style/for_spec.rb                 |    6 +-
 spec/rubocop/cop/style/format_string_spec.rb       |   84 +-
 spec/rubocop/cop/style/global_vars_spec.rb         |   10 +-
 spec/rubocop/cop/style/guard_clause_spec.rb        |  209 ++-
 spec/rubocop/cop/style/hash_syntax_spec.rb         |  507 +++++-
 spec/rubocop/cop/style/if_unless_modifier_spec.rb  |  197 ++-
 spec/rubocop/cop/style/if_with_semicolon_spec.rb   |   11 +-
 spec/rubocop/cop/style/indent_array_spec.rb        |   55 +-
 spec/rubocop/cop/style/indent_hash_spec.rb         |   81 +-
 .../cop/style/indentation_consistency_spec.rb      |  172 +-
 spec/rubocop/cop/style/indentation_width_spec.rb   | 1436 ++++++++++------
 spec/rubocop/cop/style/infinite_loop_spec.rb       |   48 +
 spec/rubocop/cop/style/inline_comment_spec.rb      |   13 +
 spec/rubocop/cop/style/lambda_call_spec.rb         |   10 +-
 spec/rubocop/cop/style/lambda_spec.rb              |  120 +-
 .../cop/style/leading_comment_space_spec.rb        |   26 +-
 .../cop/style/line_end_concatenation_spec.rb       |  138 +-
 spec/rubocop/cop/style/line_length_spec.rb         |   20 -
 .../cop/style/method_call_parentheses_spec.rb      |   39 +-
 .../style/method_called_on_do_end_block_spec.rb    |    8 +-
 .../cop/style/method_def_parentheses_spec.rb       |    6 +-
 spec/rubocop/cop/style/method_name_spec.rb         |    4 +-
 spec/rubocop/cop/style/missing_else_spec.rb        |  655 ++++++++
 spec/rubocop/cop/style/module_function_spec.rb     |    2 +-
 .../cop/style/multiline_block_chain_spec.rb        |    2 +-
 .../cop/style/multiline_block_layout_spec.rb       |  209 +++
 spec/rubocop/cop/style/multiline_if_then_spec.rb   |   39 +-
 .../style/multiline_operation_indentation_spec.rb  |  464 ++++++
 .../cop/style/multiline_ternary_operator_spec.rb   |   22 +-
 spec/rubocop/cop/style/negated_if_spec.rb          |   10 +-
 spec/rubocop/cop/style/negated_while_spec.rb       |   10 +-
 .../cop/style/nested_ternary_operator_spec.rb      |    4 +-
 spec/rubocop/cop/style/next_spec.rb                |  311 ++++
 spec/rubocop/cop/style/nil_comparison_spec.rb      |    2 +-
 spec/rubocop/cop/style/non_nil_check_spec.rb       |  168 +-
 spec/rubocop/cop/style/not_spec.rb                 |    2 +-
 spec/rubocop/cop/style/numeric_literals_spec.rb    |   22 +-
 .../rubocop/cop/style/one_line_conditional_spec.rb |    4 +-
 spec/rubocop/cop/style/op_method_spec.rb           |   21 +-
 spec/rubocop/cop/style/parallel_assignment_spec.rb |  356 ++++
 .../cop/style/parentheses_around_condition_spec.rb |   46 +-
 .../cop/style/percent_literal_delimiters_spec.rb   |  125 +-
 spec/rubocop/cop/style/percent_q_literals_spec.rb  |  122 ++
 spec/rubocop/cop/style/perl_backrefs_spec.rb       |   11 +-
 spec/rubocop/cop/style/predicate_name_spec.rb      |   59 +-
 spec/rubocop/cop/style/proc_spec.rb                |    8 +-
 spec/rubocop/cop/style/raise_args_spec.rb          |   20 +-
 spec/rubocop/cop/style/redundant_begin_spec.rb     |   66 +-
 spec/rubocop/cop/style/redundant_exception_spec.rb |   42 +-
 spec/rubocop/cop/style/redundant_return_spec.rb    |    2 +-
 spec/rubocop/cop/style/redundant_self_spec.rb      |  136 +-
 spec/rubocop/cop/style/regexp_literal_spec.rb      |  498 +++++-
 spec/rubocop/cop/style/rescue_modifier_spec.rb     |    6 +-
 spec/rubocop/cop/style/self_assignment_spec.rb     |   30 +-
 spec/rubocop/cop/style/semicolon_spec.rb           |   20 +-
 spec/rubocop/cop/style/signal_exception_spec.rb    |    3 +-
 .../cop/style/single_line_block_params_spec.rb     |   16 +-
 spec/rubocop/cop/style/single_line_methods_spec.rb |    6 +-
 .../style/single_space_before_first_arg_spec.rb    |    4 +-
 spec/rubocop/cop/style/space_after_colon_spec.rb   |   25 +-
 spec/rubocop/cop/style/space_after_comma_spec.rb   |   49 +-
 .../cop/style/space_after_control_keyword_spec.rb  |   10 +-
 .../cop/style/space_after_method_name_spec.rb      |    2 +-
 spec/rubocop/cop/style/space_after_not_spec.rb     |    6 +-
 .../cop/style/space_after_semicolon_spec.rb        |   48 +-
 .../style/space_around_block_parameters_spec.rb    |  183 ++
 ...pace_around_equals_in_parameter_default_spec.rb |   38 +-
 .../cop/style/space_around_operators_spec.rb       |  554 +++++--
 .../cop/style/space_before_block_braces_spec.rb    |   19 +-
 spec/rubocop/cop/style/space_before_comma_spec.rb  |   42 +
 .../rubocop/cop/style/space_before_comment_spec.rb |   34 +
 .../style/space_before_modifier_keyword_spec.rb    |    2 +-
 .../cop/style/space_before_semicolon_spec.rb       |   68 +
 .../cop/style/space_inside_block_braces_spec.rb    |   96 +-
 .../cop/style/space_inside_brackets_spec.rb        |   34 +-
 .../style/space_inside_hash_literal_braces_spec.rb |   20 +-
 spec/rubocop/cop/style/space_inside_parens_spec.rb |   14 +-
 .../cop/style/space_inside_range_literal_spec.rb   |   64 +
 .../space_inside_string_interpolation_spec.rb      |   50 +
 spec/rubocop/cop/style/special_global_vars_spec.rb |   19 +-
 .../style/string_literals_in_interpolation_spec.rb |   99 ++
 spec/rubocop/cop/style/string_literals_spec.rb     |   50 +-
 spec/rubocop/cop/style/struct_inheritance_spec.rb  |   44 +
 spec/rubocop/cop/style/symbol_array_spec.rb        |   20 +-
 spec/rubocop/cop/style/symbol_literal_spec.rb      |   32 +
 spec/rubocop/cop/style/symbol_proc_spec.rb         |  100 ++
 spec/rubocop/cop/style/tab_spec.rb                 |   43 +-
 .../rubocop/cop/style/trailing_blank_lines_spec.rb |  132 +-
 spec/rubocop/cop/style/trailing_comma_spec.rb      |  404 ++++-
 .../cop/style/trailing_underscore_variable_spec.rb |  103 ++
 spec/rubocop/cop/style/trailing_whitespace_spec.rb |   59 +-
 spec/rubocop/cop/style/trivial_accessors_spec.rb   |  565 +++----
 spec/rubocop/cop/style/unless_else_spec.rb         |    2 +-
 spec/rubocop/cop/style/unneeded_capital_w_spec.rb  |   90 +
 spec/rubocop/cop/style/unneeded_percent_q_spec.rb  |  127 ++
 .../cop/style/variable_interpolation_spec.rb       |   34 +-
 spec/rubocop/cop/style/variable_name_spec.rb       |   12 +-
 spec/rubocop/cop/style/when_then_spec.rb           |    6 +-
 spec/rubocop/cop/style/while_until_do_spec.rb      |   12 +-
 .../rubocop/cop/style/while_until_modifier_spec.rb |   57 +-
 spec/rubocop/cop/style/word_array_spec.rb          |   42 +-
 spec/rubocop/cop/team_spec.rb                      |   98 +-
 spec/rubocop/cop/util_spec.rb                      |   77 +-
 .../assignment_spec.rb                             |   25 +-
 .../locatable_spec.rb                              |   47 +-
 spec/rubocop/cop/variable_force/reference_spec.rb  |   19 +
 spec/rubocop/cop/variable_force/scope_spec.rb      |  319 ++++
 spec/rubocop/cop/variable_force/variable_spec.rb   |   59 +
 .../variable_table_spec.rb                         |    9 +-
 ...le_inspector_spec.rb => variable_force_spec.rb} |   15 +-
 spec/rubocop/cop/variable_inspector/scope_spec.rb  |  184 --
 .../cop/variable_inspector/variable_spec.rb        |   73 -
 spec/rubocop/file_inspector_spec.rb                |   84 -
 spec/rubocop/formatter/base_formatter_spec.rb      |   20 +-
 .../formatter/clang_style_formatter_spec.rb        |    8 +-
 spec/rubocop/formatter/colorizable_spec.rb         |    6 +-
 .../formatter/disabled_config_formatter_spec.rb    |   14 +-
 .../formatter/disabled_lines_formatter_spec.rb     |   41 +-
 .../formatter/emacs_style_formatter_spec.rb        |    9 +-
 spec/rubocop/formatter/file_list_formatter_spec.rb |    2 +-
 spec/rubocop/formatter/formatter_set_spec.rb       |   19 +-
 .../formatter/fuubar_style_formatter_spec.rb       |    8 +-
 spec/rubocop/formatter/html_formatter_spec.rb      |   48 +
 spec/rubocop/formatter/json_formatter_spec.rb      |   14 +-
 .../formatter/offense_count_formatter_spec.rb      |   10 +-
 spec/rubocop/formatter/progress_formatter_spec.rb  |    4 +-
 .../formatter/simple_text_formatter_spec.rb        |   34 +-
 spec/rubocop/formatter/text_util_spec.rb           |   55 +
 spec/rubocop/options_spec.rb                       |   70 +-
 spec/rubocop/path_util_spec.rb                     |   87 +-
 spec/rubocop/processed_source_spec.rb              |  172 +-
 spec/rubocop/rake_task_spec.rb                     |  122 ++
 spec/rubocop/runner_spec.rb                        |   99 ++
 spec/rubocop/source_parser_spec.rb                 |   85 -
 spec/rubocop/string_util_spec.rb                   |   46 +
 spec/rubocop/target_finder_spec.rb                 |   42 +-
 spec/rubocop/token_spec.rb                         |    8 +-
 spec/spec_helper.rb                                |  148 +-
 spec/support/ast_helper.rb                         |   15 -
 spec/support/cop_helper.rb                         |   75 +
 spec/support/cops/class_must_be_a_module_cop.rb    |   17 +
 spec/support/cops/module_must_be_a_class_cop.rb    |   17 +
 spec/support/coverage.rb                           |   15 +
 spec/support/custom_matchers.rb                    |   58 +
 spec/support/file_helper.rb                        |    2 +
 spec/support/jruby_workaround.rb                   |   15 +
 spec/support/mri_syntax_checker.rb                 |    2 +-
 spec/support/shared_context.rb                     |   22 -
 ...{isolated_environment.rb => shared_contexts.rb} |   21 +-
 spec/support/shared_examples.rb                    |   32 +
 spec/support/statement_modifier_helper.rb          |   12 +-
 650 files changed, 35541 insertions(+), 8114 deletions(-)

-- 
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