[DRE-commits] [rubocop] 04/04: Merge tag 'upstream/0.20.1'
Sebastien Badia
sbadia-guest at moszumanska.debian.org
Mon Apr 21 14:08:43 UTC 2014
This is an automated email from the git hooks/post-receive script.
sbadia-guest pushed a commit to branch master
in repository rubocop.
commit 5fbae74cba0bd43b87dbaaa48fa0937639f0dcba
Merge: ec428b6 d22303a
Author: Sebastien Badia <seb at sebian.fr>
Date: Mon Apr 21 16:06:48 2014 +0200
Merge tag 'upstream/0.20.1'
Upstream version 0.20.1
.gitignore | 51 +
.rspec | 1 +
.rubocop.yml | 3 +
.travis.yml | 16 +
.yardopts | 2 +
CHANGELOG.md | 851 +++++++++
CONTRIBUTING.md | 68 +
Gemfile | 13 +
LICENSE.txt | 20 +
README.md | 725 ++++++++
Rakefile | 43 +
bin/rubocop | 22 +
config/default.yml | 451 +++++
config/disabled.yml | 13 +
config/enabled.yml | 729 ++++++++
lib/rubocop.rb | 262 +++
lib/rubocop/cli.rb | 109 ++
lib/rubocop/comment_config.rb | 99 ++
lib/rubocop/config.rb | 106 ++
lib/rubocop/config_loader.rb | 161 ++
lib/rubocop/config_store.rb | 45 +
lib/rubocop/cop/commissioner.rb | 105 ++
lib/rubocop/cop/cop.rb | 192 ++
lib/rubocop/cop/corrector.rb | 84 +
lib/rubocop/cop/ignored_node.rb | 31 +
lib/rubocop/cop/lint/ambiguous_operator.rb | 50 +
lib/rubocop/cop/lint/ambiguous_regexp_literal.rb | 36 +
lib/rubocop/cop/lint/assignment_in_condition.rb | 46 +
lib/rubocop/cop/lint/block_alignment.rb | 151 ++
lib/rubocop/cop/lint/condition_position.rb | 52 +
lib/rubocop/cop/lint/debugger.rb | 35 +
lib/rubocop/cop/lint/deprecated_class_methods.rb | 62 +
lib/rubocop/cop/lint/else_layout.rb | 57 +
lib/rubocop/cop/lint/empty_ensure.rb | 18 +
lib/rubocop/cop/lint/empty_interpolation.rb | 22 +
lib/rubocop/cop/lint/end_alignment.rb | 129 ++
lib/rubocop/cop/lint/end_in_method.rb | 22 +
lib/rubocop/cop/lint/ensure_return.rb | 22 +
lib/rubocop/cop/lint/eval.rb | 18 +
lib/rubocop/cop/lint/handle_exceptions.rb | 18 +
lib/rubocop/cop/lint/invalid_character_literal.rb | 37 +
lib/rubocop/cop/lint/literal_in_condition.rb | 138 ++
lib/rubocop/cop/lint/literal_in_interpolation.rb | 37 +
lib/rubocop/cop/lint/loop.rb | 27 +
.../cop/lint/parentheses_as_grouped_expression.rb | 52 +
lib/rubocop/cop/lint/require_parentheses.rb | 68 +
lib/rubocop/cop/lint/rescue_exception.rb | 24 +
.../cop/lint/shadowing_outer_local_variable.rb | 31 +
lib/rubocop/cop/lint/space_before_first_arg.rb | 37 +
.../cop/lint/string_conversion_in_interpolation.rb | 51 +
lib/rubocop/cop/lint/syntax.rb | 28 +
lib/rubocop/cop/lint/unreachable_code.rb | 33 +
lib/rubocop/cop/lint/useless_access_modifier.rb | 58 +
lib/rubocop/cop/lint/useless_assignment.rb | 88 +
lib/rubocop/cop/lint/useless_comparison.rb | 30 +
.../cop/lint/useless_else_without_rescue.rb | 25 +
lib/rubocop/cop/lint/useless_setter_call.rb | 150 ++
lib/rubocop/cop/lint/void.rb | 54 +
lib/rubocop/cop/mixin/annotation_comment.rb | 37 +
lib/rubocop/cop/mixin/array_syntax.rb | 24 +
lib/rubocop/cop/mixin/autocorrect_alignment.rb | 79 +
.../cop/mixin/autocorrect_unless_changing_ast.rb | 24 +
lib/rubocop/cop/mixin/check_assignment.rb | 26 +
lib/rubocop/cop/mixin/check_methods.rb | 18 +
lib/rubocop/cop/mixin/code_length.rb | 33 +
.../cop/mixin/configurable_enforced_style.rb | 53 +
lib/rubocop/cop/mixin/configurable_max.rb | 19 +
lib/rubocop/cop/mixin/configurable_naming.rb | 45 +
lib/rubocop/cop/mixin/if_node.rb | 25 +
lib/rubocop/cop/mixin/if_then_else.rb | 23 +
lib/rubocop/cop/mixin/negative_conditional.rb | 24 +
lib/rubocop/cop/mixin/parser_diagnostic.rb | 34 +
lib/rubocop/cop/mixin/safe_assignment.rb | 19 +
lib/rubocop/cop/mixin/space_after_punctuation.rb | 33 +
lib/rubocop/cop/mixin/space_inside.rb | 35 +
lib/rubocop/cop/mixin/statement_modifier.rb | 60 +
lib/rubocop/cop/mixin/string_help.rb | 32 +
lib/rubocop/cop/mixin/surrounding_space.rb | 42 +
lib/rubocop/cop/offense.rb | 119 ++
lib/rubocop/cop/rails/action_filter.rb | 73 +
lib/rubocop/cop/rails/default_scope.rb | 35 +
lib/rubocop/cop/rails/has_and_belongs_to_many.rb | 18 +
lib/rubocop/cop/rails/output.rb | 26 +
lib/rubocop/cop/rails/read_write_attribute.rb | 43 +
lib/rubocop/cop/rails/scope_args.rb | 33 +
lib/rubocop/cop/rails/validation.rb | 31 +
lib/rubocop/cop/severity.rb | 76 +
.../cop/style/access_modifier_indentation.rb | 94 +
lib/rubocop/cop/style/accessor_method_name.rb | 45 +
lib/rubocop/cop/style/alias.rb | 48 +
lib/rubocop/cop/style/align_array.rb | 20 +
lib/rubocop/cop/style/align_hash.rb | 257 +++
lib/rubocop/cop/style/align_parameters.rb | 39 +
lib/rubocop/cop/style/and_or.rb | 44 +
lib/rubocop/cop/style/array_join.rb | 25 +
lib/rubocop/cop/style/ascii_comments.rb | 19 +
lib/rubocop/cop/style/ascii_identifiers.rb | 20 +
lib/rubocop/cop/style/attr.rb | 22 +
lib/rubocop/cop/style/begin_block.rb | 16 +
lib/rubocop/cop/style/block_comments.rb | 20 +
lib/rubocop/cop/style/block_nesting.rb | 55 +
lib/rubocop/cop/style/blocks.rb | 80 +
.../cop/style/braces_around_hash_parameters.rb | 87 +
lib/rubocop/cop/style/case_equality.rb | 18 +
lib/rubocop/cop/style/case_indentation.rb | 62 +
lib/rubocop/cop/style/character_literal.rb | 42 +
.../cop/style/class_and_module_camel_case.rb | 29 +
lib/rubocop/cop/style/class_and_module_children.rb | 69 +
lib/rubocop/cop/style/class_length.rb | 49 +
lib/rubocop/cop/style/class_methods.rb | 56 +
lib/rubocop/cop/style/class_vars.rb | 23 +
lib/rubocop/cop/style/collection_methods.rb | 73 +
lib/rubocop/cop/style/colon_method_call.rb | 33 +
lib/rubocop/cop/style/comment_annotation.rb | 37 +
lib/rubocop/cop/style/constant_name.rb | 29 +
lib/rubocop/cop/style/cyclomatic_complexity.rb | 41 +
lib/rubocop/cop/style/def_with_parentheses.rb | 33 +
lib/rubocop/cop/style/deprecated_hash_methods.rb | 39 +
lib/rubocop/cop/style/documentation.rb | 74 +
lib/rubocop/cop/style/dot_position.rb | 57 +
lib/rubocop/cop/style/double_negation.rb | 40 +
lib/rubocop/cop/style/empty_line_between_defs.rb | 46 +
lib/rubocop/cop/style/empty_lines.rb | 47 +
.../style/empty_lines_around_access_modifier.rb | 48 +
lib/rubocop/cop/style/empty_lines_around_body.rb | 74 +
lib/rubocop/cop/style/empty_literal.rb | 60 +
lib/rubocop/cop/style/encoding.rb | 30 +
lib/rubocop/cop/style/end_block.rb | 16 +
lib/rubocop/cop/style/end_of_line.rb | 30 +
lib/rubocop/cop/style/even_odd.rb | 60 +
lib/rubocop/cop/style/file_name.rb | 29 +
lib/rubocop/cop/style/final_newline.rb | 29 +
lib/rubocop/cop/style/flip_flop.rb | 20 +
lib/rubocop/cop/style/for.rb | 47 +
lib/rubocop/cop/style/format_string.rb | 66 +
lib/rubocop/cop/style/global_vars.rb | 74 +
lib/rubocop/cop/style/guard_clause.rb | 69 +
lib/rubocop/cop/style/hash_syntax.rb | 89 +
lib/rubocop/cop/style/if_unless_modifier.rb | 35 +
lib/rubocop/cop/style/if_with_semicolon.rb | 20 +
lib/rubocop/cop/style/indent_array.rb | 41 +
lib/rubocop/cop/style/indent_hash.rb | 144 ++
lib/rubocop/cop/style/indentation_consistency.rb | 43 +
lib/rubocop/cop/style/indentation_width.rb | 177 ++
lib/rubocop/cop/style/lambda.rb | 45 +
lib/rubocop/cop/style/lambda_call.rb | 63 +
lib/rubocop/cop/style/leading_comment_space.rb | 34 +
lib/rubocop/cop/style/line_end_concatenation.rb | 66 +
lib/rubocop/cop/style/line_length.rb | 34 +
lib/rubocop/cop/style/method_call_parentheses.rb | 35 +
.../cop/style/method_called_on_do_end_block.rb | 41 +
lib/rubocop/cop/style/method_def_parentheses.rb | 72 +
lib/rubocop/cop/style/method_length.rb | 29 +
lib/rubocop/cop/style/method_name.rb | 42 +
lib/rubocop/cop/style/module_function.rb | 32 +
lib/rubocop/cop/style/multiline_block_chain.rb | 44 +
lib/rubocop/cop/style/multiline_if_then.rb | 50 +
.../cop/style/multiline_ternary_operator.rb | 22 +
lib/rubocop/cop/style/negated_if.rb | 46 +
lib/rubocop/cop/style/negated_while.rb | 45 +
lib/rubocop/cop/style/nested_ternary_operator.rb | 26 +
lib/rubocop/cop/style/nil_comparison.rb | 42 +
lib/rubocop/cop/style/non_nil_check.rb | 104 ++
lib/rubocop/cop/style/not.rb | 34 +
lib/rubocop/cop/style/numeric_literals.rb | 73 +
lib/rubocop/cop/style/one_line_conditional.rb | 21 +
lib/rubocop/cop/style/op_method.rb | 27 +
lib/rubocop/cop/style/parameter_lists.rb | 44 +
.../cop/style/parentheses_around_condition.rb | 62 +
.../cop/style/percent_literal_delimiters.rb | 153 ++
lib/rubocop/cop/style/perl_backrefs.rb | 26 +
lib/rubocop/cop/style/predicate_name.rb | 46 +
lib/rubocop/cop/style/proc.rb | 32 +
lib/rubocop/cop/style/raise_args.rb | 68 +
lib/rubocop/cop/style/redundant_begin.rb | 35 +
lib/rubocop/cop/style/redundant_exception.rb | 32 +
lib/rubocop/cop/style/redundant_return.rb | 66 +
lib/rubocop/cop/style/redundant_self.rb | 145 ++
lib/rubocop/cop/style/regexp_literal.rb | 81 +
lib/rubocop/cop/style/rescue_modifier.rb | 39 +
lib/rubocop/cop/style/self_assignment.rb | 73 +
lib/rubocop/cop/style/semicolon.rb | 68 +
lib/rubocop/cop/style/signal_exception.rb | 96 +
lib/rubocop/cop/style/single_line_block_params.rb | 62 +
lib/rubocop/cop/style/single_line_methods.rb | 70 +
.../cop/style/single_space_before_first_arg.rb | 41 +
lib/rubocop/cop/style/space_after_colon.rb | 36 +
lib/rubocop/cop/style/space_after_comma.rb | 16 +
.../cop/style/space_after_control_keyword.rb | 37 +
lib/rubocop/cop/style/space_after_method_name.rb | 40 +
lib/rubocop/cop/style/space_after_not.rb | 41 +
lib/rubocop/cop/style/space_after_semicolon.rb | 16 +
.../space_around_equals_in_parameter_default.rb | 68 +
lib/rubocop/cop/style/space_around_operators.rb | 82 +
lib/rubocop/cop/style/space_before_block_braces.rb | 63 +
.../cop/style/space_before_modifier_keyword.rb | 40 +
lib/rubocop/cop/style/space_inside_block_braces.rb | 151 ++
lib/rubocop/cop/style/space_inside_brackets.rb | 16 +
.../cop/style/space_inside_hash_literal_braces.rb | 111 ++
lib/rubocop/cop/style/space_inside_parens.rb | 16 +
lib/rubocop/cop/style/special_global_vars.rb | 84 +
lib/rubocop/cop/style/string_literals.rb | 46 +
lib/rubocop/cop/style/symbol_array.rb | 24 +
lib/rubocop/cop/style/tab.rb | 26 +
lib/rubocop/cop/style/trailing_blank_lines.rb | 44 +
lib/rubocop/cop/style/trailing_comma.rb | 102 ++
lib/rubocop/cop/style/trailing_whitespace.rb | 28 +
lib/rubocop/cop/style/trivial_accessors.rb | 78 +
lib/rubocop/cop/style/unless_else.rb | 24 +
lib/rubocop/cop/style/variable_interpolation.rb | 33 +
lib/rubocop/cop/style/variable_name.rb | 44 +
lib/rubocop/cop/style/when_then.rb | 24 +
lib/rubocop/cop/style/while_until_do.rb | 45 +
lib/rubocop/cop/style/while_until_modifier.rb | 33 +
lib/rubocop/cop/style/word_array.rb | 86 +
lib/rubocop/cop/team.rb | 113 ++
lib/rubocop/cop/util.rb | 166 ++
lib/rubocop/cop/variable_inspector.rb | 427 +++++
lib/rubocop/cop/variable_inspector/assignment.rb | 103 ++
lib/rubocop/cop/variable_inspector/locatable.rb | 162 ++
lib/rubocop/cop/variable_inspector/reference.rb | 31 +
lib/rubocop/cop/variable_inspector/scope.rb | 71 +
lib/rubocop/cop/variable_inspector/variable.rb | 87 +
.../cop/variable_inspector/variable_table.rb | 129 ++
lib/rubocop/file_inspector.rb | 149 ++
lib/rubocop/formatter/base_formatter.rb | 119 ++
lib/rubocop/formatter/clang_style_formatter.rb | 35 +
lib/rubocop/formatter/colorizable.rb | 37 +
lib/rubocop/formatter/disabled_config_formatter.rb | 65 +
lib/rubocop/formatter/disabled_lines_formatter.rb | 56 +
lib/rubocop/formatter/emacs_style_formatter.rb | 21 +
lib/rubocop/formatter/file_list_formatter.rb | 19 +
lib/rubocop/formatter/formatter_set.rb | 75 +
lib/rubocop/formatter/fuubar_style_formatter.rb | 74 +
lib/rubocop/formatter/json_formatter.rb | 74 +
lib/rubocop/formatter/offense_count_formatter.rb | 54 +
lib/rubocop/formatter/progress_formatter.rb | 55 +
lib/rubocop/formatter/simple_text_formatter.rb | 117 ++
lib/rubocop/options.rb | 189 ++
lib/rubocop/path_util.rb | 23 +
lib/rubocop/processed_source.rb | 61 +
lib/rubocop/rake_task.rb | 70 +
lib/rubocop/source_parser.rb | 47 +
lib/rubocop/target_finder.rb | 91 +
lib/rubocop/token.rb | 22 +
lib/rubocop/version.rb | 21 +
relnotes/v0.19.0.md | 94 +
relnotes/v0.19.1.md | 16 +
relnotes/v0.20.0.md | 69 +
relnotes/v0.20.1.md | 24 +
rubocop-todo.yml | 20 +
rubocop.gemspec | 39 +
spec/.rubocop.yml | 5 +
spec/isolated_environment_spec.rb | 24 +
spec/project_spec.rb | 118 ++
spec/rubocop/cli_spec.rb | 1830 ++++++++++++++++++++
spec/rubocop/comment_config_spec.rb | 103 ++
spec/rubocop/config_loader_spec.rb | 328 ++++
spec/rubocop/config_spec.rb | 179 ++
spec/rubocop/config_store_spec.rb | 53 +
spec/rubocop/cop/commissioner_spec.rb | 83 +
spec/rubocop/cop/cop_spec.rb | 114 ++
spec/rubocop/cop/corrector_spec.rb | 59 +
spec/rubocop/cop/lint/ambiguous_operator_spec.rb | 113 ++
.../cop/lint/ambiguous_regexp_literal_spec.rb | 35 +
.../cop/lint/assignment_in_condition_spec.rb | 107 ++
spec/rubocop/cop/lint/block_alignment_spec.rb | 411 +++++
spec/rubocop/cop/lint/condition_position_spec.rb | 49 +
spec/rubocop/cop/lint/debugger_spec.rb | 39 +
.../cop/lint/deprecated_class_methods_spec.rb | 38 +
spec/rubocop/cop/lint/else_layout_spec.rb | 65 +
spec/rubocop/cop/lint/empty_ensure_spec.rb | 27 +
spec/rubocop/cop/lint/empty_interpolation_spec.rb | 18 +
spec/rubocop/cop/lint/end_alignment_spec.rb | 135 ++
spec/rubocop/cop/lint/end_in_method_spec.rb | 29 +
spec/rubocop/cop/lint/ensure_return_spec.rb | 39 +
spec/rubocop/cop/lint/eval_spec.rb | 33 +
spec/rubocop/cop/lint/handle_exceptions_spec.rb | 30 +
.../cop/lint/invalid_character_literal_spec.rb | 33 +
spec/rubocop/cop/lint/literal_in_condition_spec.rb | 154 ++
.../cop/lint/literal_in_interpolation_spec.rb | 31 +
spec/rubocop/cop/lint/loop_spec.rb | 27 +
.../lint/parentheses_as_grouped_expression_spec.rb | 57 +
spec/rubocop/cop/lint/require_parentheses_spec.rb | 82 +
spec/rubocop/cop/lint/rescue_exception_spec.rb | 123 ++
.../lint/shadowing_outer_local_variable_spec.rb | 237 +++
.../cop/lint/space_before_first_arg_spec.rb | 58 +
.../string_conversion_in_interpolation_spec.rb | 51 +
spec/rubocop/cop/lint/syntax_spec.rb | 34 +
spec/rubocop/cop/lint/unreachable_code_spec.rb | 63 +
.../cop/lint/useless_access_modifier_spec.rb | 192 ++
spec/rubocop/cop/lint/useless_assignment_spec.rb | 1608 +++++++++++++++++
spec/rubocop/cop/lint/useless_comparison_spec.rb | 30 +
.../cop/lint/useless_else_without_rescue_spec.rb | 48 +
spec/rubocop/cop/lint/useless_setter_call_spec.rb | 149 ++
spec/rubocop/cop/lint/void_spec.rb | 57 +
spec/rubocop/cop/offense_spec.rb | 133 ++
spec/rubocop/cop/rails/action_filter_spec.rb | 69 +
spec/rubocop/cop/rails/default_scope_spec.rb | 37 +
.../cop/rails/has_and_belongs_to_many_spec.rb | 13 +
spec/rubocop/cop/rails/output_spec.rb | 31 +
.../rubocop/cop/rails/read_write_attribute_spec.rb | 19 +
spec/rubocop/cop/rails/scope_args_spec.rb | 25 +
spec/rubocop/cop/rails/validation_spec.rb | 21 +
spec/rubocop/cop/severity_spec.rb | 113 ++
.../cop/style/access_modifier_indentation_spec.rb | 361 ++++
.../rubocop/cop/style/accessor_method_name_spec.rb | 81 +
spec/rubocop/cop/style/alias_spec.rb | 59 +
spec/rubocop/cop/style/align_array_spec.rb | 91 +
spec/rubocop/cop/style/align_hash_spec.rb | 391 +++++
spec/rubocop/cop/style/align_parameters_spec.rb | 295 ++++
spec/rubocop/cop/style/and_or_spec.rb | 57 +
spec/rubocop/cop/style/array_join_spec.rb | 29 +
spec/rubocop/cop/style/ascii_comments_spec.rb | 22 +
spec/rubocop/cop/style/ascii_identifiers_spec.rb | 36 +
spec/rubocop/cop/style/attr_spec.rb | 19 +
spec/rubocop/cop/style/begin_block_spec.rb | 13 +
spec/rubocop/cop/style/block_comments_spec.rb | 21 +
spec/rubocop/cop/style/block_nesting_spec.rb | 156 ++
spec/rubocop/cop/style/blocks_spec.rb | 105 ++
.../style/braces_around_hash_parameters_spec.rb | 284 +++
spec/rubocop/cop/style/case_equality_spec.rb | 13 +
spec/rubocop/cop/style/case_indentation_spec.rb | 292 ++++
spec/rubocop/cop/style/character_literal_spec.rb | 37 +
.../cop/style/class_and_module_camel_case_spec.rb | 40 +
.../cop/style/class_and_module_children_spec.rb | 129 ++
spec/rubocop/cop/style/class_length_spec.rb | 131 ++
spec/rubocop/cop/style/class_methods_spec.rb | 68 +
spec/rubocop/cop/style/class_vars_spec.rb | 19 +
spec/rubocop/cop/style/collection_methods_spec.rb | 48 +
spec/rubocop/cop/style/colon_method_call_spec.rb | 60 +
spec/rubocop/cop/style/comment_annotation_spec.rb | 86 +
spec/rubocop/cop/style/constant_name_spec.rb | 65 +
.../cop/style/cyclomatic_complexity_spec.rb | 204 +++
.../rubocop/cop/style/def_with_parentheses_spec.rb | 39 +
.../cop/style/deprecated_hash_methods_spec.rb | 45 +
spec/rubocop/cop/style/documentation_spec.rb | 123 ++
spec/rubocop/cop/style/dot_position_spec.rb | 91 +
spec/rubocop/cop/style/double_negation_spec.rb | 22 +
.../cop/style/empty_line_between_defs_spec.rb | 135 ++
.../empty_lines_around_access_modifier_spec.rb | 56 +
.../cop/style/empty_lines_around_body_spec.rb | 131 ++
spec/rubocop/cop/style/empty_lines_spec.rb | 51 +
spec/rubocop/cop/style/empty_literal_spec.rb | 100 ++
spec/rubocop/cop/style/encoding_spec.rb | 56 +
spec/rubocop/cop/style/end_block_spec.rb | 13 +
spec/rubocop/cop/style/end_of_line_spec.rb | 47 +
spec/rubocop/cop/style/even_odd_spec.rb | 75 +
spec/rubocop/cop/style/file_name_spec.rb | 84 +
spec/rubocop/cop/style/final_newline_spec.rb | 30 +
spec/rubocop/cop/style/flip_flop_spec.rb | 23 +
spec/rubocop/cop/style/for_spec.rb | 105 ++
spec/rubocop/cop/style/format_string_spec.rb | 136 ++
spec/rubocop/cop/style/global_vars_spec.rb | 34 +
spec/rubocop/cop/style/guard_clause_spec.rb | 77 +
spec/rubocop/cop/style/hash_syntax_spec.rb | 133 ++
spec/rubocop/cop/style/if_unless_modifier_spec.rb | 146 ++
spec/rubocop/cop/style/if_with_semicolon_spec.rb | 19 +
spec/rubocop/cop/style/indent_array_spec.rb | 136 ++
spec/rubocop/cop/style/indent_hash_spec.rb | 310 ++++
.../cop/style/indentation_consistency_spec.rb | 510 ++++++
spec/rubocop/cop/style/indentation_width_spec.rb | 606 +++++++
spec/rubocop/cop/style/lambda_call_spec.rb | 65 +
spec/rubocop/cop/style/lambda_spec.rb | 41 +
.../cop/style/leading_comment_space_spec.rb | 64 +
.../cop/style/line_end_concatenation_spec.rb | 62 +
spec/rubocop/cop/style/line_length_spec.rb | 20 +
.../cop/style/method_call_parentheses_spec.rb | 59 +
.../style/method_called_on_do_end_block_spec.rb | 60 +
.../cop/style/method_def_parentheses_spec.rb | 106 ++
spec/rubocop/cop/style/method_length_spec.rb | 147 ++
spec/rubocop/cop/style/method_name_spec.rb | 125 ++
spec/rubocop/cop/style/module_function_spec.rb | 24 +
.../cop/style/multiline_block_chain_spec.rb | 78 +
spec/rubocop/cop/style/multiline_if_then_spec.rb | 107 ++
.../cop/style/multiline_ternary_operator_spec.rb | 18 +
spec/rubocop/cop/style/negated_if_spec.rb | 98 ++
spec/rubocop/cop/style/negated_while_spec.rb | 62 +
.../cop/style/nested_ternary_operator_spec.rb | 21 +
spec/rubocop/cop/style/nil_comparison_spec.rb | 29 +
spec/rubocop/cop/style/non_nil_check_spec.rb | 70 +
spec/rubocop/cop/style/not_spec.rb | 28 +
spec/rubocop/cop/style/numeric_literals_spec.rb | 70 +
.../rubocop/cop/style/one_line_conditional_spec.rb | 13 +
spec/rubocop/cop/style/op_method_spec.rb | 82 +
spec/rubocop/cop/style/parameter_lists_spec.rb | 44 +
.../cop/style/parentheses_around_condition_spec.rb | 123 ++
.../cop/style/percent_literal_delimiters_spec.rb | 262 +++
spec/rubocop/cop/style/perl_backrefs_spec.rb | 17 +
spec/rubocop/cop/style/predicate_name_spec.rb | 26 +
spec/rubocop/cop/style/proc_spec.rb | 27 +
spec/rubocop/cop/style/raise_args_spec.rb | 87 +
spec/rubocop/cop/style/redundant_begin_spec.rb | 57 +
spec/rubocop/cop/style/redundant_exception_spec.rb | 27 +
spec/rubocop/cop/style/redundant_return_spec.rb | 171 ++
spec/rubocop/cop/style/redundant_self_spec.rb | 142 ++
spec/rubocop/cop/style/regexp_literal_spec.rb | 104 ++
spec/rubocop/cop/style/rescue_modifier_spec.rb | 116 ++
spec/rubocop/cop/style/self_assignment_spec.rb | 43 +
spec/rubocop/cop/style/semicolon_spec.rb | 114 ++
spec/rubocop/cop/style/signal_exception_spec.rb | 290 ++++
.../cop/style/single_line_block_params_spec.rb | 70 +
spec/rubocop/cop/style/single_line_methods_spec.rb | 90 +
.../style/single_space_before_first_arg_spec.rb | 63 +
spec/rubocop/cop/style/space_after_colon_spec.rb | 38 +
spec/rubocop/cop/style/space_after_comma_spec.rb | 30 +
.../cop/style/space_after_control_keyword_spec.rb | 84 +
.../cop/style/space_after_method_name_spec.rb | 70 +
spec/rubocop/cop/style/space_after_not_spec.rb | 22 +
.../cop/style/space_after_semicolon_spec.rb | 23 +
...pace_around_equals_in_parameter_default_spec.rb | 75 +
.../cop/style/space_around_operators_spec.rb | 325 ++++
.../cop/style/space_before_block_braces_spec.rb | 72 +
.../style/space_before_modifier_keyword_spec.rb | 70 +
.../cop/style/space_inside_block_braces_spec.rb | 287 +++
.../cop/style/space_inside_brackets_spec.rb | 59 +
.../style/space_inside_hash_literal_braces_spec.rb | 147 ++
spec/rubocop/cop/style/space_inside_parens_spec.rb | 46 +
spec/rubocop/cop/style/special_global_vars_spec.rb | 57 +
spec/rubocop/cop/style/string_literals_spec.rb | 212 +++
spec/rubocop/cop/style/symbol_array_spec.rb | 37 +
spec/rubocop/cop/style/tab_spec.rb | 17 +
.../rubocop/cop/style/trailing_blank_lines_spec.rb | 43 +
spec/rubocop/cop/style/trailing_comma_spec.rb | 230 +++
spec/rubocop/cop/style/trailing_whitespace_spec.rb | 30 +
spec/rubocop/cop/style/trivial_accessors_spec.rb | 418 +++++
spec/rubocop/cop/style/unless_else_spec.rb | 23 +
.../cop/style/variable_interpolation_spec.rb | 56 +
spec/rubocop/cop/style/variable_name_spec.rb | 107 ++
spec/rubocop/cop/style/when_then_spec.rb | 40 +
spec/rubocop/cop/style/while_until_do_spec.rb | 53 +
.../rubocop/cop/style/while_until_modifier_spec.rb | 93 +
spec/rubocop/cop/style/word_array_spec.rb | 97 ++
spec/rubocop/cop/team_spec.rb | 142 ++
spec/rubocop/cop/util_spec.rb | 49 +
.../cop/variable_inspector/assignment_spec.rb | 213 +++
.../cop/variable_inspector/locatable_spec.rb | 734 ++++++++
spec/rubocop/cop/variable_inspector/scope_spec.rb | 184 ++
.../cop/variable_inspector/variable_spec.rb | 73 +
.../cop/variable_inspector/variable_table_spec.rb | 269 +++
spec/rubocop/cop/variable_inspector_spec.rb | 29 +
spec/rubocop/file_inspector_spec.rb | 84 +
spec/rubocop/formatter/base_formatter_spec.rb | 191 ++
.../formatter/clang_style_formatter_spec.rb | 114 ++
spec/rubocop/formatter/colorizable_spec.rb | 107 ++
.../formatter/disabled_config_formatter_spec.rb | 50 +
.../formatter/disabled_lines_formatter_spec.rb | 69 +
.../formatter/emacs_style_formatter_spec.rb | 62 +
spec/rubocop/formatter/file_list_formatter_spec.rb | 33 +
spec/rubocop/formatter/formatter_set_spec.rb | 132 ++
.../formatter/fuubar_style_formatter_spec.rb | 129 ++
spec/rubocop/formatter/json_formatter_spec.rb | 152 ++
.../formatter/offense_count_formatter_spec.rb | 77 +
spec/rubocop/formatter/progress_formatter_spec.rb | 182 ++
.../formatter/simple_text_formatter_spec.rb | 123 ++
spec/rubocop/options_spec.rb | 176 ++
spec/rubocop/path_util_spec.rb | 42 +
spec/rubocop/processed_source_spec.rb | 114 ++
spec/rubocop/source_parser_spec.rb | 85 +
spec/rubocop/target_finder_spec.rb | 211 +++
spec/rubocop/token_spec.rb | 25 +
spec/spec_helper.rb | 149 ++
spec/support/ast_helper.rb | 15 +
spec/support/file_helper.rb | 21 +
spec/support/isolated_environment.rb | 34 +
spec/support/mri_syntax_checker.rb | 73 +
spec/support/shared_context.rb | 22 +
spec/support/shared_examples.rb | 33 +
spec/support/statement_modifier_helper.rb | 41 +
469 files changed, 41307 insertions(+)
--
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