Skip to content

Upgrading rubocop 0.74 to 0.75

Breaking0.74.0 → 0.75.1Breaking1New7Changed9Fixed30

BreakingUpgrade verdict

1 breaking change.

  • Renames the `IgnoredMethodPatterns` option to `IgnoredPatterns` for `Style/MethodCallWithArgsParentheses`.
1 item needs code or config changes
Breaking1
Renames the IgnoredMethodPatterns option to IgnoredPatterns for Style/MethodCallWithArgsParentheses.
Style/MethodCallWithArgsParenthesesIgnoredMethodPatternsIgnoredPatterns

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

  • removed: method String.strip_indent()
  • added: const OptionsHelp.FORMATTER_OPTION_LIST
  • added: method Config.for_department(_)
  • added: method MagicComment.valid_literal_value?()
  • changed: class COMMENT_DIRECTIVE_REGEXP < Regexp.new(('# rubocop : ((?:dis|en)able)\b ' + COPS_PATTERN).gsub(' ', '\s*')) → class COMMENT_DIRECTIVE_REGEXP < Regexp.new(('# rubocop : ((?:disable|enable|todo))\b ' + COPS_PATTERN) .gsub(' ', '\s*'))
  • removed: method Offense.corrected()
  • removed: module IgnoredMethodPatterns
  • changed: constructor MessageAnnotator(_, _, _) → constructor MessageAnnotator(_, _, _, _)
  • changed: method MessageAnnotator.annotate(_, _) → method MessageAnnotator.annotate(_)
  • changed: method Registry.qualified_cop_name(_, _) → method Registry.qualified_cop_name(_, _, _ = …)
  • added: method Offense.corrected_with_todo?()
  • added: method Registry.department_missing?(_, _)
  • added: method Registry.print_warning(_, _)
  • added: method Registry.unqualified_cop_names()
  • added: module Migration
  • added: module Utils
  • added: property MessageAnnotator.cop_name: reader
  • added: const MultilineBlockLayout.PIPE_SIZE
  • added: method IndentAssignment.leftmost_multiple_assignment(_)
  • removed: const FormatParameterMismatch.DIGIT_DOLLAR_FLAG
  • removed: const FormatParameterMismatch.FIELD_REGEX
  • removed: const FormatParameterMismatch.NAMED_FIELD_REGEX
  • removed: const FormatParameterMismatch.NAMED_INTERPOLATION
  • removed: const FormatParameterMismatch.PERCENT
  • removed: const FormatParameterMismatch.PERCENT_PERCENT
  • added: class SendWithMixinArgument < Cop
  • added: const SendWithMixinArgument.MIXIN_METHODS
  • added: const SendWithMixinArgument.MSG
  • added: method SendWithMixinArgument.autocorrect(_)
  • added: method SendWithMixinArgument.on_send(_)
  • added: class DepartmentName < Cop
  • added: const DepartmentName.MSG
  • added: method DepartmentName.autocorrect(_)
  • added: method DepartmentName.investigate(_)
  • added: method VariableName.on_lvar(_)
  • removed: const FormatStringToken.FIELD_CHARACTERS
  • removed: const FormatStringToken.FORMAT_STRING_METHODS
  • removed: const FormatStringToken.STYLE_PATTERNS
  • removed: const IfUnlessModifier.MSG
  • added: const IfUnlessModifier.MSG_USE_MODIFIER
  • added: const IfUnlessModifier.MSG_USE_NORMAL
  • added: method NestedModifier.add_parentheses_to_method_arguments(_)
  • added: method RedundantSelf.on_masgn(_)
  • added: method TernaryParentheses.only_closing_parenthesis_is_last_line?(_)
  • added: class FormatString
  • added: const FormatString.DIGIT_DOLLAR
  • added: const FormatString.FLAG
  • added: const FormatString.NAME
  • added: const FormatString.NUMBER
  • added: const FormatString.NUMBER_ARG
  • added: const FormatString.PRECISION
  • added: const FormatString.SEQUENCE
  • added: const FormatString.TEMPLATE_NAME
  • added: const FormatString.TYPE
  • added: const FormatString.WIDTH
  • added: constructor FormatString(_)
  • added: method FormatString.format_sequences()
  • added: method FormatString.max_digit_dollar_num()
  • added: method FormatString.named_interpolation?()
  • added: class FormatSequence
  • added: constructor FormatSequence(_, **)
  • added: method FormatSequence.annotated?()
  • added: method FormatSequence.arity()
  • added: method FormatSequence.max_digit_dollar_num()
  • added: method FormatSequence.percent?()
  • added: method FormatSequence.style()
  • added: method FormatSequence.template?()
  • added: property FormatSequence.begin_pos: reader
  • added: property FormatSequence.end_pos: reader
  • added: property FormatSequence.flags: reader
  • added: property FormatSequence.name: reader
  • added: property FormatSequence.precision: reader
  • added: property FormatSequence.type: reader
  • added: property FormatSequence.width: reader
  • added: method Variable.in_modifier_if?(_)
  • added: class PacmanFormatter < ClangStyleFormatter
  • added: const PacmanFormatter.FALLBACK_TERMINAL_WIDTH
  • added: const PacmanFormatter.GHOST
  • added: const PacmanFormatter.PACDOT
  • added: const PacmanFormatter.PACMAN
  • added: constructor PacmanFormatter(_, _ = …)
  • added: method PacmanFormatter.cols()
  • added: method PacmanFormatter.file_finished(_, _)
  • added: method PacmanFormatter.file_started(_, _)
  • added: method PacmanFormatter.next_step(_)
  • added: method PacmanFormatter.pacdots(_)
  • added: method PacmanFormatter.started(_)
  • added: method PacmanFormatter.step(_)
  • added: method PacmanFormatter.update_progress_line()
  • added: property PacmanFormatter.progress_line: accessor