Skip to content

Upgrading rubocop 0.92 to 0.93

Breaking0.92.0 → 0.93.1Breaking1New4Changed5Fixed26Other1

BreakingUpgrade verdict

1 breaking change.

  • Code that inspects parsed regular expressions will now see interpolated parts as blanks instead of being skipped entirely.
1 item needs code or config changes
Breaking1
RegexpNode#parsed_tree now processes regexps including interpolation by blanking the interpolation before parsing rather than skipping.
RegexpNode#parsed_tree

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

  • removed: method TargetFinder.excluded_dirs(_)
  • removed: method TargetFinder.toplevel_dirs(_, _)
  • added: method ResultCache.debug?()
  • added: method TargetFinder.combined_exclude_glob_patterns(_)
  • added: method TargetFinder.wanted_dir_patterns(_, _, _)
  • removed: module RegexpLiteralHelp
  • added: class HashCompareByIdentity < Base
  • added: class RedundantSafeNavigation < Base
  • added: const HashCompareByIdentity.MSG
  • added: const HashCompareByIdentity.RESTRICT_ON_SEND
  • added: const RedundantSafeNavigation.MSG
  • added: const RedundantSafeNavigation.NIL_SPECIFIC_METHODS
  • added: method HashCompareByIdentity.on_send(_)
  • added: method RedundantSafeNavigation.on_csend(_)
  • changed: class NO_LOCATION < PseudoSourceRange.new(1, 0, '', 0, 1) → class NO_LOCATION < PseudoSourceRange.new(1, 0, '', 0, 0)
  • removed: const RedundantRegexpCharacterClass.PATTERN
  • added: class ClassEqualityComparison < Base
  • added: const ClassEqualityComparison.MSG
  • added: const ClassEqualityComparison.RESTRICT_ON_SEND
  • added: const RedundantRegexpCharacterClass.REQUIRES_ESCAPE_OUTSIDE_CHAR_CLASS_CHARS
  • added: method ClassEqualityComparison.on_send(_)
  • added: method RedundantBegin.on_kwbegin(_)