Skip to content

Upgrading rubocop 0.87 to 0.88

Review needed0.87.1 → 0.88.0New10Changed3Fixed7

Review neededUpgrade verdict

3 changed defaults.

  • 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: method FileFinder.find_files_upwards(_, _)
  • removed: static method PathUtil.chdir(_)
  • removed: static method PathUtil.pwd()
  • removed: static method PathUtil.reset_pwd()
  • changed: method FileFinder.find_file_upwards(_, _) → method FileFinder.find_file_upwards(_, _, _ = …)
  • changed: static method FileFinder.root_level?(_) → static method FileFinder.root_level?(_, _)
  • added: method ConfigStore.for_pwd()
  • added: method FileFinder.find_last_file_upwards(_, _, _ = …)
  • added: static method ConfigLoader.project_root()
  • added: static property ConfigLoader.project_root: writer
  • removed: method SpaceAroundMethodCallOperator.autocorrect(_)
  • changed: class SpaceAroundMethodCallOperator < Cop → class SpaceAroundMethodCallOperator < Base
  • added: const SpaceAroundMethodCallOperator.SPACES_REGEXP
  • changed: class DisjunctiveAssignmentInConstructor < Cop → class DisjunctiveAssignmentInConstructor < Base
  • added: class DuplicateElsifCondition < Base
  • added: const DuplicateElsifCondition.MSG
  • added: method DuplicateElsifCondition.on_if(_)
  • added: method NonDeterministicRequireOrder.on_block_pass(_)
  • removed: const IfUnlessModifier.ASSIGNMENT_TYPES
  • removed: method TrailingMethodEndStatement.autocorrect(_)
  • changed: class TrailingMethodEndStatement < Cop → class TrailingMethodEndStatement < Base
  • added: class ArrayCoercion < Base
  • added: class CaseLikeIf < Cop
  • added: class HashAsLastArrayItem < Base
  • added: class HashLikeCase < Base
  • added: class RedundantFileExtensionInRequire < Cop
  • added: const ArrayCoercion.CHECK_MSG
  • added: const ArrayCoercion.SPLAT_MSG
  • added: const CaseLikeIf.MSG
  • added: const CommentedKeyword.ALLOWED_COMMENT_REGEXES
  • added: const CommentedKeyword.KEYWORD_REGEXES
  • added: const ExponentialNotation.MESSAGES
  • added: const FloatDivision.MESSAGES
  • added: const HashLikeCase.MSG
  • added: const RedundantFileExtensionInRequire.MSG
  • added: method ArrayCoercion.on_array(_)
  • added: method ArrayCoercion.on_if(_)
  • added: method CaseLikeIf.autocorrect(_)
  • added: method CaseLikeIf.on_if(_)
  • added: method HashAsLastArrayItem.on_hash(_)
  • added: method HashLikeCase.on_case(_)
  • added: method RedundantFileExtensionInRequire.autocorrect(_)
  • added: method RedundantFileExtensionInRequire.on_send(_)
  • added: const AnnotatedSource.ABBREV
  • added: method AnnotatedSource.==(_)
  • added: method AnnotatedSource.inspect()
  • added: method AnnotatedSource.match_annotations?(_)
  • added: protected property AnnotatedSource.annotations: reader
  • added: protected property AnnotatedSource.lines: reader