Upgrading rubocop 0.41 to 0.42
Unknown0.41.2 → 0.42.0
Fetching 1 release from GitHub…0 / 1
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
Ruby requirement changed in 0.42.0: >= 1.9.3 → >= 2.0.0.
API changes
Generated by DepDelta from published Ruby source. Not mixed with prose notes.
- added:
method Offense.column_length() - added:
method Offense.column_range() - added:
method Offense.first_line() - added:
method Offense.last_line() - added:
method Offense.source_line()
- added:
class SaveBang < Cop - added:
const SaveBang.MSG - added:
const SaveBang.PERSIST_METHODS - added:
method SaveBang.autocorrect(_) - added:
method SaveBang.on_send(_)
- removed:
method EachForSimpleLoop.autocorrect(_) - added:
class MethodMissing < Cop - added:
class NumericPredicate < Cop - added:
class TernaryParentheses < Cop - added:
const EachForSimpleLoop.MSG - added:
const MethodMissing.MSG - added:
const NumericPredicate.MSG - added:
const NumericPredicate.REPLACEMENTS - added:
const TernaryParentheses.MSG - added:
const UnneededPercentQ.ESCAPED_NON_BACKSLASH - added:
method ConditionalCorrectorHelper.correct_if_branches(_, _, _) - added:
method ConditionalCorrectorHelper.replace_branch_assignment(_, _) - added:
method EachWithObject.autocorrect(_) - added:
method EmptyLinesAroundMethodBody.on_method_def(_, _, _, _) - added:
method MethodMissing.on_method_def(_, _, _, _) - added:
method NestedModifier.left_hand_operand(_, _) - added:
method NestedModifier.replacement_operator(_) - added:
method NestedModifier.right_hand_operand(_, _) - added:
method NumericPredicate.on_send(_) - added:
method TernaryParentheses.on_if(_)
- removed:
method DisabledConfigFormatter.command() - removed:
method DisabledConfigFormatter.output_cop(_, _) - removed:
method DisabledConfigFormatter.output_cop_comments(_, _, _, _) - removed:
method DisabledConfigFormatter.output_cop_config(_, _, _) - removed:
method DisabledConfigFormatter.output_exclude_list(_, _, _) - removed:
method DisabledConfigFormatter.output_offending_files(_, _, _) - removed:
method DisabledConfigFormatter.output_offenses()
- added:
method ERBContext.hightlight_source_tag(_) - added:
method ERBContext.possible_ellipses(_) - added:
method ERBContext.source_after_highlight(_) - added:
method ERBContext.source_before_highlight(_)