Skip to content

Upgrading rubocop 0.72 to 0.73

Safe0.72.0 → 0.73.0New3Fixed7Other2

SafeUpgrade verdict

Only new features and fixes in this range.

  • Nothing in this range needs changes to your code. It adds features and fixes.
Nothing to change

No breaking, platform, security or deprecated items in this range.

Nothing in this upgrade needs a code or configuration change.

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

  • added: class ErrorWithAnalyzedFileLocation < Error
  • added: constructor ErrorWithAnalyzedFileLocation(cause:, node:, cop:)
  • added: method ErrorWithAnalyzedFileLocation.column()
  • added: method ErrorWithAnalyzedFileLocation.line()
  • added: method ErrorWithAnalyzedFileLocation.message()
  • added: method OptionsValidator.validate_auto_correct()
  • added: property ErrorWithAnalyzedFileLocation.cause: reader
  • added: property ErrorWithAnalyzedFileLocation.cop: reader
  • added: method AutocorrectLogic.correctable?()
  • added: method AutocorrectLogic.disable_offense(_)
  • added: method AutocorrectLogic.disable_uncorrectable?()
  • added: method Cop.disable_uncorrectable(_)
  • added: method Cop.reason_to_not_correct(_)
  • removed: class CopError < Struct.new(:error, :line, :column)
  • added: class Correction < Struct.new(:lambda, :node, :cop)
  • added: method Correction.call(_)
  • added: const RescueEnsureAlignment.ALTERNATIVE_ACCESS_MODIFIERS
  • added: class DoubleCopDisableDirective < Cop
  • added: class MultilineWhenThen < Cop
  • added: const DoubleCopDisableDirective.MSG
  • added: const MultilineWhenThen.MSG
  • added: method DoubleCopDisableDirective.autocorrect(_)
  • added: method DoubleCopDisableDirective.investigate(_)
  • added: method MultilineWhenThen.autocorrect(_)
  • added: method MultilineWhenThen.on_when(_)