Upgrading rubocop 0.68 to 0.69
Breaking0.68.1 → 0.69.0Breaking2Platform1New2Fixed10Other1
BreakingUpgrade verdict
2 breaking changes and a platform requirement change.
In plain terms
- 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.
Must act 3 items need code or config changes
Ruby requirement changed in 0.69.0: >= 2.2.2 → >= 2.3.0.
What you must change
Breaking2
Set default EnforcedStyle to squiggly option for Layout/IndentHeredoc and auto_detection option is removed.
EnforcedStylesquigglyLayout/IndentHeredocauto_detectionSet default EnforcedStyle to always option for Style/FrozenStringLiteralComment and when_needed option is removed.
EnforcedStylealwaysStyle/FrozenStringLiteralCommentwhen_neededPlatform1
Drop support for Ruby 2.2.
API changes
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(_)