Skip to content

Upgrading rubocop 0.78 to 0.79

Review needed0.78.0 → 0.79.0New2Changed1Fixed11

Review neededUpgrade verdict

1 changed default.

  • 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.

  • removed: const ConfigValidator.DEFAULT_RUBY_VERSION
  • removed: const ConfigValidator.KNOWN_RUBIES
  • removed: const ConfigValidator.OBSOLETE_RUBIES
  • removed: const ConfigValidator.RUBY_VERSION_FILENAME
  • added: class TargetRuby
  • added: const TargetRuby.DEFAULT_VERSION
  • added: constructor TargetRuby(_)
  • added: method TargetRuby.rubocop_version_with_support()
  • added: method TargetRuby.source()
  • added: method TargetRuby.supported?()
  • added: method TargetRuby.version()
  • added: static method ConfigLoader.warn_on_pending_cops(_)
  • added: static method TargetRuby.supported_versions()
  • added: class ForwardArgsNode < Node
  • added: method DefNode.argument_forwarding?()
  • added: method ForwardArgsNode.to_a()
  • added: constructor ShowCops(_)
  • added: method AutocorrectLogic.safe_autocorrect?()
  • removed: const HashAlignment.MSG
  • added: const HashAlignment.MESSAGES
  • added: const DepartmentName.DISABLE_COMMENT_FORMAT
  • added: const DepartmentName.DISABLING_COPS_CONTENT_TOKEN
  • removed: const MethodCallWithArgsParentheses.TRAILING_WHITESPACE_REGEX
  • removed: method MethodCallWithArgsParentheses.autocorrect(_)
  • removed: method MethodCallWithArgsParentheses.message(_ = …)
  • removed: method MethodCallWithArgsParentheses.on_csend(_)
  • removed: method MethodCallWithArgsParentheses.on_send(_)
  • removed: method MethodCallWithArgsParentheses.on_super(_)
  • removed: method MethodCallWithArgsParentheses.on_yield(_)
  • added: const YodaCondition.PROGRAM_NAMES
  • added: constructor MethodCallWithArgsParentheses(*)
  • added: method MultilineWhenThen.accept_node_type?(_)
  • added: const OmitParentheses.TRAILING_WHITESPACE_REGEX
  • added: method OmitParentheses.autocorrect(_)
  • added: method OmitParentheses.message(_ = …)
  • added: method OmitParentheses.on_csend(_)
  • added: method OmitParentheses.on_send(_)
  • added: method OmitParentheses.on_super(_)
  • added: method OmitParentheses.on_yield(_)
  • added: method RequireParentheses.autocorrect(_)
  • added: method RequireParentheses.message(_ = …)
  • added: method RequireParentheses.on_csend(_)
  • added: method RequireParentheses.on_send(_)
  • added: method RequireParentheses.on_super(_)
  • added: method RequireParentheses.on_yield(_)
  • added: module OmitParentheses
  • added: module RequireParentheses
  • added: class BundlerLockFile < Source
  • added: class Default < Source
  • added: class RuboCopConfig < Source
  • added: class RubyVersionFile < Source
  • added: class Source
  • added: const RubyVersionFile.FILENAME
  • added: constructor Source(_)
  • added: method BundlerLockFile.name()
  • added: method Default.name()
  • added: method RuboCopConfig.name()
  • added: method RubyVersionFile.name()
  • added: method Source.to_s()
  • added: property Source.name: reader
  • added: property Source.version: reader