Upgrading rubocop 0.21 to 0.22
Breaking0.21.0 → 0.22.0Breaking1New7Changed5Fixed12
BreakingUpgrade verdict
1 breaking change.
In plain terms
- The generated todo configuration file has a new name and location.
Must act 1 item needs code or config changes
What you must change
Breaking1
Renames the rubocop-todo.yml file to .rubocop_todo.yml.
rubocop-todo.yml.rubocop_todo.ymlAPI changes
Generated by DepDelta from published Ruby source. Not mixed with prose notes.
- added:
method TargetFinder.fail_fast?()
- removed:
method UnusedBlockArgument.after_leaving_scope(_, _) - removed:
method UnusedBlockArgument.join_force?(_) - removed:
method UnusedMethodArgument.after_leaving_scope(_, _) - removed:
method UnusedMethodArgument.join_force?(_) - added:
method UnusedArgument.after_leaving_scope(_, _) - added:
method UnusedArgument.autocorrect(_) - added:
method UnusedArgument.check_argument(_) - added:
method UnusedArgument.join_force?(_) - added:
module UnusedArgument
- removed:
method SelfAssignment.check(_, _) - removed:
method SelfAssignment.check_boolean_node(_, _, _, _) - removed:
method SelfAssignment.check_send_node(_, _, _, _) - added:
class CommentIndentation < Cop - added:
class EachWithObject < Cop - added:
class Next < Cop - added:
class SpaceBeforeComment < Cop - added:
class UnneededPercentX < Cop - added:
const CommentIndentation.MSG - added:
const EachWithObject.METHODS - added:
const EachWithObject.MSG - added:
const Next.METHODS - added:
const Next.MSG - added:
const SelfAssignment.MSG - added:
const SpaceBeforeComment.MSG - added:
const UnneededPercentX.MSG - added:
method CommentIndentation.investigate(_) - added:
method EachWithObject.on_block(_) - added:
method GuardClause.on_def(_) - added:
method Next.on_block(_) - added:
method Next.on_for(_) - added:
method Next.on_until(_) - added:
method Next.on_while(_) - added:
method SpaceBeforeComment.investigate(_) - added:
method UnneededPercentX.on_xstr(_)