[DRE-commits] [rubocop] 01/02: Merge tag 'upstream/0.48.1+dfsg'
Miguel Landaeta
nomadium at moszumanska.debian.org
Mon Apr 3 22:38:54 UTC 2017
This is an automated email from the git hooks/post-receive script.
nomadium pushed a commit to branch master
in repository rubocop.
commit 98846e2bc9ddc2181cc88c4bf3640709bad1ebb9
Merge: c1e8886 728d3c8
Author: Miguel Landaeta <nomadium at debian.org>
Date: Mon Apr 3 23:09:42 2017 +0100
Merge tag 'upstream/0.48.1+dfsg'
Upstream release 0.48.1+dfsg
# gpg: Signature made Mon 03 Apr 2017 10:58:13 PM IST
# gpg: using RSA key 0xAFB8E0FC9231CC6D
# gpg: Good signature from "Miguel Landaeta <miguel at miguel.cc>" [full]
# gpg: aka "Miguel Landaeta <nomadium at gmail.com>" [full]
# gpg: aka "Miguel Landaeta (LDC) <miguel at ldc.usb.ve>" [full]
# gpg: aka "Miguel Landaeta (Debian) <nomadium at debian.org>" [full]
# Primary key fingerprint: 4CB7 FE1E 280E CC90 F29A 597E 6E60 8B63 7D89 67E9
# Subkey fingerprint: 1247 379C 15BC F26C 0EC4 6B61 AFB8 E0FC 9231 CC6D
.rubocop.yml | 13 +-
CHANGELOG.md | 28 ++
README.md | 2 +-
Rakefile | 4 +-
config/default.yml | 5 +
config/enabled.yml | 3 +-
lib/rubocop/ast/builder.rb | 4 +-
lib/rubocop/ast/node.rb | 28 +-
lib/rubocop/ast/node/send_node.rb | 11 +-
lib/rubocop/ast/traversal.rb | 16 +-
lib/rubocop/config.rb | 6 +-
lib/rubocop/config_loader.rb | 4 +-
.../cop/lint/ambiguous_block_association.rb | 39 ++-
lib/rubocop/cop/lint/format_parameter_mismatch.rb | 2 +-
lib/rubocop/cop/lint/inherit_exception.rb | 4 +-
lib/rubocop/cop/lint/literal_in_condition.rb | 2 +-
lib/rubocop/cop/lint/literal_in_interpolation.rb | 2 +-
lib/rubocop/cop/lint/nested_method_definition.rb | 29 ++-
lib/rubocop/cop/lint/unneeded_splat_expansion.rb | 2 +-
lib/rubocop/cop/lint/unreachable_code.rb | 4 +-
lib/rubocop/cop/lint/useless_comparison.rb | 2 +-
lib/rubocop/cop/lint/useless_setter_call.rb | 2 +-
lib/rubocop/cop/lint/void.rb | 2 +-
lib/rubocop/cop/metrics/abc_size.rb | 2 +-
lib/rubocop/cop/metrics/block_nesting.rb | 4 +-
lib/rubocop/cop/metrics/cyclomatic_complexity.rb | 4 +-
lib/rubocop/cop/metrics/parameter_lists.rb | 2 +-
lib/rubocop/cop/metrics/perceived_complexity.rb | 4 +-
lib/rubocop/cop/mixin/access_modifier_node.rb | 2 +-
lib/rubocop/cop/mixin/def_node.rb | 2 +-
lib/rubocop/cop/mixin/frozen_string_literal.rb | 2 +-
lib/rubocop/cop/mixin/on_method_def.rb | 2 +-
lib/rubocop/cop/mixin/percent_literal.rb | 49 +++-
lib/rubocop/cop/mixin/space_after_punctuation.rb | 2 +-
lib/rubocop/cop/mixin/unused_argument.rb | 2 +-
lib/rubocop/cop/offense.rb | 4 +-
lib/rubocop/cop/performance/casecmp.rb | 2 +-
lib/rubocop/cop/performance/end_with.rb | 3 +-
lib/rubocop/cop/performance/redundant_match.rb | 2 +-
lib/rubocop/cop/performance/regexp_match.rb | 4 +-
lib/rubocop/cop/performance/start_with.rb | 3 +-
lib/rubocop/cop/rails/action_filter.rb | 8 +-
lib/rubocop/cop/rails/blank.rb | 1 +
lib/rubocop/cop/rails/date.rb | 6 +-
lib/rubocop/cop/rails/delegate.rb | 2 +-
lib/rubocop/cop/rails/exit.rb | 4 +-
lib/rubocop/cop/rails/file_path.rb | 6 +-
lib/rubocop/cop/rails/find_by.rb | 2 +-
lib/rubocop/cop/rails/find_each.rb | 4 +-
lib/rubocop/cop/rails/http_positional_arguments.rb | 6 +-
lib/rubocop/cop/rails/relative_date_constant.rb | 10 +-
lib/rubocop/cop/rails/request_referer.rb | 19 +-
lib/rubocop/cop/rails/save_bang.rb | 8 +-
lib/rubocop/cop/rails/skips_model_validations.rb | 4 +-
lib/rubocop/cop/rails/time_zone.rb | 12 +-
lib/rubocop/cop/rails/validation.rb | 4 +-
lib/rubocop/cop/severity.rb | 2 +-
.../cop/style/braces_around_hash_parameters.rb | 34 +++
lib/rubocop/cop/style/class_and_module_children.rb | 2 +-
lib/rubocop/cop/style/command_literal.rb | 2 +-
lib/rubocop/cop/style/conditional_assignment.rb | 6 +-
lib/rubocop/cop/style/constant_name.rb | 2 +-
lib/rubocop/cop/style/each_with_object.rb | 2 +-
.../cop/style/empty_line_after_magic_comment.rb | 2 +-
lib/rubocop/cop/style/file_name.rb | 4 +-
lib/rubocop/cop/style/global_vars.rb | 4 +-
lib/rubocop/cop/style/if_unless_modifier.rb | 4 +-
lib/rubocop/cop/style/indentation_width.rb | 4 +-
lib/rubocop/cop/style/inverse_methods.rb | 2 +-
lib/rubocop/cop/style/line_end_concatenation.rb | 10 +-
.../cop/style/method_call_with_args_parentheses.rb | 22 +-
.../style/method_call_without_args_parentheses.rb | 2 +-
lib/rubocop/cop/style/mixin_grouping.rb | 4 +-
.../cop/style/nested_parenthesized_calls.rb | 4 +-
lib/rubocop/cop/style/next.rb | 6 +-
lib/rubocop/cop/style/numeric_predicate.rb | 2 +-
lib/rubocop/cop/style/one_line_conditional.rb | 4 +-
lib/rubocop/cop/style/op_method.rb | 4 +-
lib/rubocop/cop/style/parallel_assignment.rb | 2 +-
.../cop/style/percent_literal_delimiters.rb | 41 +--
lib/rubocop/cop/style/perl_backrefs.rb | 2 +-
lib/rubocop/cop/style/preferred_hash_methods.rb | 4 +-
lib/rubocop/cop/style/redundant_parentheses.rb | 2 +-
lib/rubocop/cop/style/redundant_self.rb | 9 +-
lib/rubocop/cop/style/regexp_literal.rb | 2 +-
lib/rubocop/cop/style/self_assignment.rb | 6 +-
lib/rubocop/cop/style/space_around_keyword.rb | 18 +-
lib/rubocop/cop/style/space_around_operators.rb | 2 +-
lib/rubocop/cop/style/space_inside_brackets.rb | 2 +-
lib/rubocop/cop/style/space_inside_parens.rb | 2 +-
lib/rubocop/cop/style/special_global_vars.rb | 20 +-
lib/rubocop/cop/style/symbol_proc.rb | 4 +-
lib/rubocop/cop/style/ternary_parentheses.rb | 5 +-
lib/rubocop/cop/style/trivial_accessors.rb | 2 +-
lib/rubocop/cop/util.rb | 14 +-
lib/rubocop/cop/variable_force.rb | 14 +-
lib/rubocop/cop/variable_force/variable.rb | 4 +-
lib/rubocop/formatter/colorizable.rb | 4 +-
lib/rubocop/formatter/disabled_config_formatter.rb | 2 +-
lib/rubocop/formatter/formatter_set.rb | 2 +-
lib/rubocop/options.rb | 31 ++-
lib/rubocop/processed_source.rb | 2 +-
lib/rubocop/result_cache.rb | 4 +-
lib/rubocop/rspec/shared_examples.rb | 2 +-
lib/rubocop/runner.rb | 2 +-
lib/rubocop/target_finder.rb | 12 +-
lib/rubocop/version.rb | 2 +-
manual/cops_lint.md | 25 ++
manual/cops_performance.md | 8 +-
manual/cops_rails.md | 22 +-
manual/cops_style.md | 53 +++-
manual/installation.md | 2 +-
manual/integration_with_other_tools.md | 5 +-
relnotes/v0.48.1.md | 281 +++++++++++++++++++++
spec/project_spec.rb | 2 +-
spec/rubocop/ast/send_node_spec.rb | 6 +-
spec/rubocop/cli/cli_auto_gen_config_spec.rb | 5 +-
spec/rubocop/cli/cli_autocorrect_spec.rb | 48 ++--
spec/rubocop/cli/cli_options_spec.rb | 18 +-
spec/rubocop/cli_spec.rb | 72 +++---
spec/rubocop/config_loader_spec.rb | 6 +-
spec/rubocop/cop/commissioner_spec.rb | 6 +-
.../cop/lint/ambiguous_block_association_spec.rb | 24 +-
.../cop/lint/circular_argument_reference_spec.rb | 2 +-
spec/rubocop/cop/lint/condition_position_spec.rb | 2 +-
spec/rubocop/cop/lint/debugger_spec.rb | 12 +-
spec/rubocop/cop/lint/duplicated_key_spec.rb | 4 +-
spec/rubocop/cop/lint/multiple_compare_spec.rb | 2 +-
.../cop/lint/nested_method_definition_spec.rb | 48 ++++
.../cop/lint/non_local_exit_from_iterator_spec.rb | 2 +-
spec/rubocop/cop/lint/percent_string_array_spec.rb | 2 +-
spec/rubocop/cop/lint/percent_symbol_array_spec.rb | 2 +-
.../rubocop/cop/lint/safe_navigation_chain_spec.rb | 2 +-
.../lint/underscore_prefixed_variable_name_spec.rb | 2 +-
spec/rubocop/cop/lint/unneeded_disable_spec.rb | 2 +-
.../rubocop/cop/lint/unused_block_argument_spec.rb | 8 +-
.../cop/lint/unused_method_argument_spec.rb | 2 +-
.../cop/lint/useless_access_modifier_spec.rb | 18 +-
spec/rubocop/cop/lint/useless_assignment_spec.rb | 2 +-
spec/rubocop/cop/lint/void_spec.rb | 2 +-
spec/rubocop/cop/message_annotator_spec.rb | 7 +-
spec/rubocop/cop/metrics/line_length_spec.rb | 6 +-
spec/rubocop/cop/offense_spec.rb | 4 +-
spec/rubocop/cop/performance/detect_spec.rb | 2 +-
spec/rubocop/cop/performance/end_with_spec.rb | 8 +-
.../cop/performance/redundant_merge_spec.rb | 2 +-
spec/rubocop/cop/performance/regexp_match_spec.rb | 4 +-
spec/rubocop/cop/performance/start_with_spec.rb | 8 +-
.../cop/performance/string_replacement_spec.rb | 4 +-
spec/rubocop/cop/rails/action_filter_spec.rb | 8 +-
spec/rubocop/cop/rails/blank_spec.rb | 13 +
spec/rubocop/cop/rails/date_spec.rb | 6 +-
spec/rubocop/cop/rails/dynamic_find_by_spec.rb | 2 +-
spec/rubocop/cop/rails/file_path_spec.rb | 9 +
.../cop/rails/http_positional_arguments_spec.rb | 4 +-
spec/rubocop/cop/rails/output_spec.rb | 2 +-
.../cop/rails/relative_date_constant_spec.rb | 16 ++
.../cop/rails/skips_model_validations_spec.rb | 6 +-
spec/rubocop/cop/rails/uniq_before_pluck_spec.rb | 2 +-
spec/rubocop/cop/registry_spec.rb | 2 +-
.../cop/style/access_modifier_indentation_spec.rb | 2 +-
spec/rubocop/cop/style/align_array_spec.rb | 2 +-
spec/rubocop/cop/style/and_or_spec.rb | 4 +-
spec/rubocop/cop/style/block_delimiters_spec.rb | 10 +-
spec/rubocop/cop/style/command_literal_spec.rb | 2 +-
spec/rubocop/cop/style/comment_annotation_spec.rb | 6 +-
...ditional_assignment_assign_in_condition_spec.rb | 12 +-
...ditional_assignment_assign_to_condition_spec.rb | 12 +-
.../rubocop/cop/style/documentation_method_spec.rb | 2 +-
spec/rubocop/cop/style/documentation_spec.rb | 6 +-
spec/rubocop/cop/style/each_with_object_spec.rb | 2 +-
spec/rubocop/cop/style/empty_else_spec.rb | 8 +-
.../style/empty_line_after_magic_comment_spec.rb | 6 +-
.../empty_lines_around_access_modifier_spec.rb | 2 +-
.../style/empty_lines_around_block_body_spec.rb | 2 +-
spec/rubocop/cop/style/file_name_spec.rb | 4 +-
.../cop/style/first_parameter_indentation_spec.rb | 8 +-
spec/rubocop/cop/style/guard_clause_spec.rb | 8 +-
spec/rubocop/cop/style/hash_syntax_spec.rb | 10 +-
.../cop/style/implicit_runtime_error_spec.rb | 2 +-
spec/rubocop/cop/style/indent_array_spec.rb | 4 +-
spec/rubocop/cop/style/indent_hash_spec.rb | 4 +-
spec/rubocop/cop/style/infinite_loop_spec.rb | 2 +-
.../method_call_with_args_parentheses_spec.rb | 23 +-
spec/rubocop/cop/style/method_name_spec.rb | 2 +-
spec/rubocop/cop/style/missing_else_spec.rb | 20 +-
spec/rubocop/cop/style/mixin_grouping_spec.rb | 11 +
.../cop/style/multiline_assignment_layout_spec.rb | 6 +-
.../multiline_method_call_indentation_spec.rb | 24 +-
.../style/multiline_operation_indentation_spec.rb | 30 +--
spec/rubocop/cop/style/negated_if_spec.rb | 6 +-
.../cop/style/numeric_literal_prefix_spec.rb | 10 +-
.../rubocop/cop/style/one_line_conditional_spec.rb | 4 +-
spec/rubocop/cop/style/op_method_spec.rb | 2 +-
.../cop/style/parentheses_around_condition_spec.rb | 2 +-
spec/rubocop/cop/style/predicate_name_spec.rb | 14 +-
spec/rubocop/cop/style/redundant_self_spec.rb | 6 +
spec/rubocop/cop/style/regexp_literal_spec.rb | 2 +-
spec/rubocop/cop/style/self_assignment_spec.rb | 2 +-
.../cop/style/single_line_block_params_spec.rb | 4 +-
.../space_inside_array_percent_literal_spec.rb | 4 +-
.../cop/style/space_inside_block_braces_spec.rb | 2 +-
...space_inside_percent_literal_delimiters_spec.rb | 6 +-
spec/rubocop/cop/style/string_methods_spec.rb | 2 +-
spec/rubocop/cop/style/symbol_array_spec.rb | 33 ++-
spec/rubocop/cop/style/symbol_proc_spec.rb | 2 +-
spec/rubocop/cop/style/ternary_parentheses_spec.rb | 12 +-
spec/rubocop/cop/style/variable_number_spec.rb | 6 +-
spec/rubocop/cop/style/word_array_spec.rb | 31 ++-
spec/rubocop/cop/team_spec.rb | 4 +-
spec/rubocop/cop/variable_force/scope_spec.rb | 18 +-
spec/rubocop/formatter/base_formatter_spec.rb | 2 +-
spec/rubocop/formatter/colorizable_spec.rb | 4 +-
.../formatter/disabled_lines_formatter_spec.rb | 2 +-
.../formatter/emacs_style_formatter_spec.rb | 2 +-
spec/rubocop/formatter/file_list_formatter_spec.rb | 2 +-
spec/rubocop/formatter/formatter_set_spec.rb | 2 +-
.../formatter/fuubar_style_formatter_spec.rb | 2 +-
spec/rubocop/formatter/json_formatter_spec.rb | 8 +-
.../formatter/offense_count_formatter_spec.rb | 4 +-
spec/rubocop/formatter/progress_formatter_spec.rb | 2 +-
.../formatter/worst_offenders_formatter_spec.rb | 2 +-
spec/rubocop/node_pattern_spec.rb | 2 +-
spec/rubocop/options_spec.rb | 51 ++--
spec/rubocop/processed_source_spec.rb | 4 +-
spec/rubocop/remote_config_spec.rb | 32 ++-
spec/rubocop/string_util_spec.rb | 22 +-
spec/rubocop/target_finder_spec.rb | 2 +-
tasks/cops_documentation.rake | 2 +-
229 files changed, 1437 insertions(+), 681 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