Skip to content

Upgrading rubocop 0.28 to 0.29

Breaking0.28.0 → 0.29.1Breaking1New14Fixed27Other2

BreakingUpgrade verdict

1 breaking change.

  • Options -e/--emacs and -s/--silent are no longer recognized.
1 item needs code or config changes
Breaking1
Options -e/--emacs and -s/--silent are no longer recognized.
-e--emacs-s--silent

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

  • added: method ProcessedSource.checksum()
  • added: static method Options.validate_cop_list(_)
  • removed: method OnNormalIfUnless.on_unless(_)
  • changed: static method Util.range_with_surrounding_space(_, _ = …) → static method Util.range_with_surrounding_space(_, _ = …, _ = …)
  • added: method AccessModifierNode.class_constructor?(_)
  • added: method AccessModifierNode.class_or_module_parent?(_)
  • added: method AccessModifierNode.modifier_structure?(_)
  • added: static method Util.range_with_surrounding_comma(_, _ = …, _ = …)
  • added: class DuplicateMethods < Cop
  • added: const Debugger.CAPYBARA_SAVE_PAGE
  • added: const Debugger.CAPYBARA_SAVE_SCREENSHOT
  • added: const DuplicateMethods.MSG
  • added: method DuplicateMethods.on_class(_)
  • added: method DuplicateMethods.on_module(_)
  • added: method Delegate.on_def(_)
  • added: method ReadWriteAttribute.autocorrect(_)
  • removed: const EvenOdd.MSG_EVEN
  • removed: const EvenOdd.MSG_ODD
  • removed: method EmptyLiteral.on_block()
  • removed: method LineEndConcatenation.on_send(_)
  • added: class FirstParameterIndentation < Cop
  • added: class SpaceAroundBlockParameters < Cop
  • added: class StructInheritance < Cop
  • added: const EvenOdd.MSG
  • added: const Lambda.SINGLE_NO_ARG_MSG
  • added: const LineEndConcatenation.COMPLEX_STRING_EDGE_TOKEN_TYPES
  • added: const LineEndConcatenation.CONCAT_TOKEN_TYPES
  • added: const LineEndConcatenation.HIGH_PRECEDENCE_OP_TOKEN_TYPES
  • added: const LineEndConcatenation.QUOTE_DELIMITERS
  • added: const LineEndConcatenation.SIMPLE_STRING_TOKEN_TYPE
  • added: const MultilineBlockLayout.ARG_MSG
  • added: const StructInheritance.MSG
  • added: method EmptyLiteral.first_arg_in_method_call_without_parentheses?(_)
  • added: method EvenOdd.autocorrect(_)
  • added: method FirstParameterIndentation.on_send(_)
  • added: method LineEndConcatenation.investigate(_)
  • added: method MultilineBlockLayout.add_offense_for_expression(_, _, _)
  • added: method MultilineBlockLayout.autocorrect_arguments(_, _, _, _)
  • added: method MultilineBlockLayout.autocorrect_body(_, _, _)
  • added: method MultilineBlockLayout.block_arg_string(_)
  • added: method RedundantException.autocorrect(_)
  • added: method SpaceAroundBlockParameters.on_block(_)
  • added: method StructInheritance.on_class(_)
  • added: class InfiniteCorrectionLoop < Exception
  • added: constructor InfiniteCorrectionLoop(_, _)
  • added: property InfiniteCorrectionLoop.offenses: reader