Skip to content

Upgrading rubocop 0.68 to 0.69

Breaking0.68.1 → 0.69.0Breaking2Platform1New2Fixed10Other1

BreakingUpgrade verdict

2 breaking changes and a platform requirement change.

  • Set default EnforcedStyle to squiggly option for Layout/IndentHeredoc and auto_detection option is removed.
  • Set default EnforcedStyle to always option for Style/FrozenStringLiteralComment and when_needed option is removed.
  • Drop support for Ruby 2.2.
3 items need code or config changes

Ruby requirement changed in 0.69.0: >= 2.2.2 → >= 2.3.0.

Breaking2
Set default EnforcedStyle to squiggly option for Layout/IndentHeredoc and auto_detection option is removed.
EnforcedStylesquigglyLayout/IndentHeredocauto_detection
Set default EnforcedStyle to always option for Style/FrozenStringLiteralComment and when_needed option is removed.
EnforcedStylealwaysStyle/FrozenStringLiteralCommentwhen_needed
Platform1
Drop support for Ruby 2.2.

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

  • added: method Node.call_type?()
  • removed: const HeredocArgumentClosingParenthesis.STRING_TYPES
  • removed: const HeredocMethodCallPosition.STRING_TYPES
  • added: method InheritException.on_send(_)
  • removed: const TimeZone.MSG_CURRENT
  • removed: const TimeZone.TIMECLASS
  • added: const TimeZone.TIMECLASSES
  • added: class NegatedUnless < Cop
  • added: method NegatedUnless.autocorrect(_)
  • added: method NegatedUnless.on_if(_)