Skip to content

Upgrading rubocop 0.15 to 0.16

Unknown0.15.0 → 0.16.0

UnknownUpgrade verdict

DepDelta hasn't looked for this range's notes yet, so breaking changes can't be ruled out.

  • DepDelta hasn't finished looking for the notes in this range, so it can't rule out breaking changes yet.
Unknown for releases without notes

Releases without notes may still need changes. Check their commits before upgrading.

Generated by DepDelta from published Ruby source. Not mixed with prose notes.

  • removed: method CLI.display_error_summary(_)
  • removed: method ConfigStore.set_options_config(_)
  • added: class FileInspector
  • added: const Config.COMMON_PARAMS
  • added: constructor FileInspector(_)
  • added: method FileInspector.display_error_summary()
  • added: method FileInspector.process_files(_, _)
  • added: property CLI.config_store: reader
  • added: property RakeTask.formatters: accessor
  • added: set ConfigStore.options_config(_)
  • added: static property ConfigLoader.root_level: writer
  • removed: method Cop.convention(_, _, _ = …)
  • removed: method Cop.warning(_, _, _ = …)
  • removed: static method Util.source_length(_, _ = …)
  • changed: method Cop.add_offence(_, _, _, _ = …) → method Cop.add_offence(_, _, _ = …, _ = …)
  • added: const Util.PROC_NEW_NODE
  • added: method CheckAssignment.on_and_asgn(_)
  • added: method CheckAssignment.on_casgn(_)
  • added: method CheckAssignment.on_gvasgn(_)
  • added: method CheckAssignment.on_ivasgn(_)
  • added: method CheckAssignment.on_lvasgn(_)
  • added: method CheckAssignment.on_op_asgn(_)
  • added: method CheckAssignment.on_or_asgn(_)
  • added: method CheckMethods.on_def(_)
  • added: method CheckMethods.on_defs(_)
  • added: method Cop.config_to_allow_offences()
  • added: method Cop.exclude_file?(_)
  • added: method Cop.exclude_paths()
  • added: method Cop.include_file?(_)
  • added: method Cop.include_paths()
  • added: method Cop.relevant_file?(_)
  • added: method IfNode.elsif?(_)
  • added: method IfNode.if_else?(_)
  • added: method IfNode.modifier_if?(_)
  • added: method IfNode.ternary_op?(_)
  • added: module CheckAssignment
  • added: module CheckMethods
  • added: module IfNode
  • added: set Cop.config_to_allow_offences(_)
  • added: static method Util.command?(_, _)
  • added: static method Util.first_part_of_call_chain(_)
  • added: static method Util.lambda?(_)
  • added: static method Util.lambda_or_proc?(_)
  • added: static method Util.on_node(_, _, _ = …)
  • added: static method Util.proc?(_)
  • added: static method Util.range_with_surrounding_space(_, _ = …)
  • added: static method Util.source_range(_, _, _, _)
  • removed: method EndAlignment.on_def(_)
  • removed: method EndAlignment.on_defs(_)
  • removed: method EndInMethod.on_def(_)
  • removed: method EndInMethod.on_defs(_)
  • removed: method UselessSetterCall.on_def(_)
  • removed: method UselessSetterCall.on_defs(_)
  • added: class DefaultScope < Cop
  • added: const DefaultScope.MSG
  • added: method DefaultScope.on_send(_)
  • removed: class DefWithoutParentheses < Cop
  • removed: class ReduceArguments < Cop
  • removed: class SymbolName < Cop
  • removed: const CaseIndentation.MSG
  • removed: const ClassLength.MSG
  • removed: const DefWithoutParentheses.MSG
  • removed: const For.MSG
  • removed: const IndentationWidth.MSG
  • removed: const MethodLength.MSG
  • removed: const ReduceArguments.ARGS_NODE
  • removed: const ReduceArguments.MSG
  • removed: const SpaceAroundOperators.BINARY_OPERATORS
  • removed: const SpaceAroundOperators.MSG_DETECTED
  • removed: const SpaceAroundOperators.MSG_MISSING
  • removed: const SymbolName.CAMEL_CASE
  • removed: const SymbolName.MSG
  • removed: const SymbolName.SNAKE_CASE
  • removed: const SymbolName.SNAKE_CASE_WITH_DOTS
  • removed: method ClassLength.count_comments?()
  • removed: method ClassLength.max_length()
  • removed: method CyclomaticComplexity.on_def(_)
  • removed: method CyclomaticComplexity.on_defs(_)
  • removed: method DefWithParentheses.on_def(_)
  • removed: method DefWithParentheses.on_defs(_)
  • removed: method DefWithoutParentheses.autocorrect(_)
  • removed: method DefWithoutParentheses.on_def(_)
  • removed: method DefWithoutParentheses.on_defs(_)
  • removed: method EmptyLinesAroundBody.on_def(_)
  • removed: method EmptyLinesAroundBody.on_defs(_)
  • removed: method IfUnlessModifier.elsif?(_)
  • removed: method IfUnlessModifier.if_else?(_)
  • removed: method IfUnlessModifier.modifier_if?(_)
  • removed: method IfUnlessModifier.ternary_op?(_)
  • removed: method IndentationWidth.on_def(_)
  • removed: method IndentationWidth.on_defs(_)
  • removed: method MethodLength.count_comments?()
  • removed: method MethodLength.max_length()
  • removed: method MethodLength.on_def(_)
  • removed: method MethodLength.on_defs(_)
  • removed: method ReduceArguments.on_block(_)
  • removed: method RedundantBegin.on_def(_)
  • removed: method RedundantBegin.on_defs(_)
  • removed: method RedundantReturn.on_def(_)
  • removed: method RedundantReturn.on_defs(_)
  • removed: method RedundantSelf.on_arg(_)
  • removed: method RescueModifier.check_rescue(_)
  • removed: method RescueModifier.on_def(_)
  • removed: method RescueModifier.on_defs(_)
  • removed: method SingleLineMethods.on_def(_)
  • removed: method SingleLineMethods.on_defs(_)
  • removed: method SpaceAfterMethodName.on_def(_)
  • removed: method SpaceAfterMethodName.on_defs(_)
  • removed: method SpaceAroundBlockBraces.autocorrect(_)
  • removed: method SpaceAroundBlockBraces.check(_, _)
  • removed: method SpaceAroundBlockBraces.check_empty_braces(_, _)
  • removed: method SpaceAroundBlockBraces.check_no_space_inside_braces(_, _)
  • removed: method SpaceAroundBlockBraces.check_pipe(_, _)
  • removed: method SpaceAroundBlockBraces.check_space_inside_braces(_, _)
  • removed: method SpaceAroundBlockBraces.check_space_outside_left_brace(_, _)
  • removed: method SpaceAroundBlockBraces.investigate(_)
  • removed: method SpaceAroundBlockBraces.positions_not_to_check()
  • removed: method SpaceAroundBlockBraces.problem_details(_, _)
  • removed: method SpaceAroundBlockBraces.space_range(_)
  • removed: method SpaceAroundOperators.autocorrect(_)
  • removed: method SpaceAroundOperators.check_missing_space(_, _, _)
  • removed: method SpaceAroundOperators.do_not_check_block_arg_pipes()
  • removed: method SpaceAroundOperators.do_not_check_class_lshift_self()
  • removed: method SpaceAroundOperators.do_not_check_def_things()
  • removed: method SpaceAroundOperators.do_not_check_param_default()
  • removed: method SpaceAroundOperators.do_not_check_singleton_operator_defs()
  • removed: method SpaceAroundOperators.investigate(_)
  • removed: method SpaceAroundOperators.positions_not_to_check()
  • removed: method SpaceAroundOperators.space_on_any_side?(_, _, _)
  • removed: method SpaceAroundOperators.space_on_both_sides?(_, _, _)
  • removed: method SpaceAroundOperators.token_with_surrounding_space(_)
  • removed: method SymbolName.allow_camel_case?()
  • removed: method SymbolName.allow_dots?()
  • removed: method SymbolName.on_send(_)
  • removed: method SymbolName.on_sym(_)
  • removed: method TrivialAccessors.on_def(_)
  • removed: method TrivialAccessors.on_defs(_)
  • changed: method IndentationWidth.on_if(_) → method IndentationWidth.on_if(_, _ = …)
  • changed: method SpaceAfterMethodName.check(_) → method SpaceAfterMethodName.check(_, _, _, _)
  • added: class AccessorMethodName < Cop
  • added: class FlipFlop < Cop
  • added: class MethodDefParentheses < Cop
  • added: class PredicateName < Cop
  • added: class SingleLineBlockParams < Cop
  • added: const FlipFlop.MSG
  • added: const SpaceAroundOperators.TYPES
  • added: method AccessorMethodName.on_def(_)
  • added: method AccessorMethodName.on_defs(_)
  • added: method Alias.autocorrect(_)
  • added: method ArraySyntax.array_of?(_, _)
  • added: method AutocorrectAlignment.calculate_range(_, _, _)
  • added: method CodeLength.check(_, *)
  • added: method CodeLength.count_comments?()
  • added: method CodeLength.irrelevant_line(_)
  • added: method CodeLength.max_length()
  • added: method ConfigurableEnforcedStyle.alternative_style()
  • added: method ConfigurableEnforcedStyle.both_styles_detected()
  • added: method ConfigurableEnforcedStyle.correct_style_detected()
  • added: method ConfigurableEnforcedStyle.opposite_style_detected()
  • added: method ConfigurableEnforcedStyle.style()
  • added: method ConfigurableEnforcedStyle.unrecognized_style_detected()
  • added: method DefWithParentheses.check(_, _, _, _)
  • added: method EmptyLines.autocorrect(_)
  • added: method EmptyLinesAroundBody.autocorrect(_)
  • added: method FlipFlop.on_eflipflop(_)
  • added: method FlipFlop.on_iflipflop(_)
  • added: method For.on_block(_)
  • added: method IndentationWidth.check(_, _, _, _)
  • added: method IndentationWidth.on_begin(_)
  • added: method MethodDefParentheses.autocorrect(_)
  • added: method MethodDefParentheses.check(_, _, _, _)
  • added: method MultilineIfThen.end_position(_)
  • added: method PredicateName.on_def(_)
  • added: method PredicateName.on_defs(_)
  • added: method RedundantSelf.on_args(_)
  • added: method RescueModifier.check(_, _, _, _)
  • added: method Semicolon.on_begin(_)
  • added: method SingleLineBlockParams.on_block(_)
  • added: method SpaceAroundBlockBraces.on_block(_)
  • added: method SpaceAroundOperators.on_if(_)
  • added: method SpaceAroundOperators.on_pair(_)
  • added: method SpaceAroundOperators.on_resbody(_)
  • added: method SpaceAroundOperators.on_send(_)
  • added: module ArraySyntax
  • added: module CodeLength
  • added: module ConfigurableEnforcedStyle
  • added: module ConfigurableMax
  • added: set ConfigurableMax.max(_)
  • added: static method AccessModifierIndentation.modifier_node?(_)
  • added: static property DisabledConfigFormatter.config_to_allow_offences: accessor