Upgrading rubocop 0.48 to 0.49
Unknown0.48.1 → 0.49.1
Fetching 2 releases from GitHub…0 / 2
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.
API changes
Generated by DepDelta from published Ruby source. Not mixed with prose notes.
- added:
method OptionsValidator.validate_parallel() - added:
module RSpec - added:
static method PathUtil.smart_path(_)
- removed:
method SendNode.arguments?() - removed:
method SendNode.block_argument?() - removed:
method SendNode.first_argument() - removed:
method SendNode.last_argument() - removed:
method SendNode.parenthesized?() - removed:
method SendNode.splat_argument?() - added:
class ArgsNode < Node - added:
class BlockNode < Node - added:
class SuperNode < Node - added:
const SendNode.ENUMERATOR_METHODS - added:
method ArgsNode.empty?() - added:
method ArgsNode.size() - added:
method BlockNode.arguments() - added:
method BlockNode.arguments?() - added:
method BlockNode.body() - added:
method BlockNode.braces?() - added:
method BlockNode.closing_delimiter() - added:
method BlockNode.delimiters() - added:
method BlockNode.keywords?() - added:
method BlockNode.lambda?() - added:
method BlockNode.multiline?() - added:
method BlockNode.node_parts() - added:
method BlockNode.opening_delimiter() - added:
method BlockNode.send_node() - added:
method BlockNode.single_line?() - added:
method ParameterizedNode.arguments?() - added:
method ParameterizedNode.block_argument?() - added:
method ParameterizedNode.block_literal?() - added:
method ParameterizedNode.block_node() - added:
method ParameterizedNode.first_argument() - added:
method ParameterizedNode.last_argument() - added:
method ParameterizedNode.parenthesized?() - added:
method ParameterizedNode.splat_argument?() - added:
method SendNode.assignment_method?() - added:
method SendNode.comparison_method?() - added:
method SendNode.enumerator_method?() - added:
method SuperNode.arguments() - added:
method SuperNode.method?(_) - added:
method SuperNode.method_name() - added:
method SuperNode.node_parts() - added:
module ParameterizedNode
- removed:
const Team.INCOMPATIBLE_COPS - changed:
method MultilineExpressionIndentation.argument_in_method_call(_) → method MultilineExpressionIndentation.argument_in_method_call(_, _) - added:
class Generator - added:
const Generator.SOURCE_TEMPLATE - added:
const Generator.SPEC_TEMPLATE - added:
constructor Generator(_) - added:
method EnforceSuperclass.autocorrect(_) - added:
method EnforceSuperclass.on_class(_) - added:
method EnforceSuperclass.on_send(_) - added:
method Generator.todo() - added:
method Generator.write_source() - added:
method Generator.write_spec() - added:
module ArrayMinSize - added:
module EnforceSuperclass - added:
module InternalAffairs - added:
module Layout - added:
static method Cop.autocorrect_incompatible_with() - added:
static method Util.range_by_whole_lines(_, include_final_newline: …) - added:
static property MessageAnnotator.style_guide_urls: reader
- added:
class NodeTypePredicate < Cop - added:
class UselessMessageAssertion < Cop - added:
const NodeTypePredicate.MSG - added:
const UselessMessageAssertion.MSG - added:
method NodeTypePredicate.on_send(_) - added:
method UselessMessageAssertion.investigate(_)
- added:
class AccessModifierIndentation < Cop - added:
class AlignArray < Cop - added:
class AlignHash < Cop - added:
class AlignParameters < Cop - added:
class BlockEndNewline < Cop - added:
class CaseIndentation < Cop - added:
class ClosingParenthesisIndentation < Cop - added:
class CommentIndentation < Cop - added:
class DotPosition < Cop - added:
class ElseAlignment < Cop - added:
class EmptyLineAfterMagicComment < Cop - added:
class EmptyLineBetweenDefs < Cop - added:
class EmptyLines < Cop - added:
class EmptyLinesAroundAccessModifier < Cop - added:
class EmptyLinesAroundBeginBody < Cop - added:
class EmptyLinesAroundBlockBody < Cop - added:
class EmptyLinesAroundClassBody < Cop - added:
class EmptyLinesAroundExceptionHandlingKeywords < Cop - added:
class EmptyLinesAroundMethodBody < Cop - added:
class EmptyLinesAroundModuleBody < Cop - added:
class EndOfLine < Cop - added:
class ExtraSpacing < Cop - added:
class FirstArrayElementLineBreak < Cop - added:
class FirstHashElementLineBreak < Cop - added:
class FirstMethodArgumentLineBreak < Cop - added:
class FirstMethodParameterLineBreak < Cop - added:
class FirstParameterIndentation < Cop - added:
class IndentArray < Cop - added:
class IndentAssignment < Cop - added:
class IndentHash < Cop - added:
class IndentHeredoc < Cop - added:
class IndentationConsistency < Cop - added:
class IndentationWidth < Cop - added:
class InitialIndentation < Cop - added:
class LeadingCommentSpace < Cop - added:
class MultilineArrayBraceLayout < Cop - added:
class MultilineAssignmentLayout < Cop - added:
class MultilineBlockLayout < Cop - added:
class MultilineHashBraceLayout < Cop - added:
class MultilineMethodCallBraceLayout < Cop - added:
class MultilineMethodCallIndentation < Cop - added:
class MultilineMethodDefinitionBraceLayout < Cop - added:
class MultilineOperationIndentation < Cop - added:
class RescueEnsureAlignment < Cop - added:
class SpaceAfterColon < Cop - added:
class SpaceAfterComma < Cop - added:
class SpaceAfterMethodName < Cop - added:
class SpaceAfterNot < Cop - added:
class SpaceAfterSemicolon < Cop - added:
class SpaceAroundBlockParameters < Cop - added:
class SpaceAroundEqualsInParameterDefault < Cop - added:
class SpaceAroundKeyword < Cop - added:
class SpaceAroundOperators < Cop - added:
class SpaceBeforeBlockBraces < Cop - added:
class SpaceBeforeComma < Cop - added:
class SpaceBeforeComment < Cop - added:
class SpaceBeforeFirstArg < Cop - added:
class SpaceBeforeSemicolon < Cop - added:
class SpaceInLambdaLiteral < Cop - added:
class SpaceInsideArrayPercentLiteral < Cop - added:
class SpaceInsideBlockBraces < Cop - added:
class SpaceInsideBrackets < Cop - added:
class SpaceInsideHashLiteralBraces < Cop - added:
class SpaceInsideParens < Cop - added:
class SpaceInsidePercentLiteralDelimiters < Cop - added:
class SpaceInsideRangeLiteral < Cop - added:
class SpaceInsideStringInterpolation < Cop - added:
class Tab < Cop - added:
class TrailingBlankLines < Cop - added:
class TrailingWhitespace < Cop - added:
const AccessModifierIndentation.MSG - added:
const AlignArray.MSG - added:
const AlignHash.MSG - added:
const AlignParameters.ALIGN_PARAMS_MSG - added:
const AlignParameters.FIXED_INDENT_MSG - added:
const BlockEndNewline.MSG - added:
const CaseIndentation.MSG - added:
const ClosingParenthesisIndentation.MSG_ALIGN - added:
const ClosingParenthesisIndentation.MSG_INDENT - added:
const CommentIndentation.MSG - added:
const ElseAlignment.MSG - added:
const EmptyLineAfterMagicComment.BLANK_LINE - added:
const EmptyLineAfterMagicComment.MSG - added:
const EmptyLineBetweenDefs.MSG - added:
const EmptyLines.LINE_OFFSET - added:
const EmptyLines.MSG - added:
const EmptyLinesAroundAccessModifier.MSG_AFTER - added:
const EmptyLinesAroundAccessModifier.MSG_BEFORE_AND_AFTER - added:
const EmptyLinesAroundBeginBody.KIND - added:
const EmptyLinesAroundBlockBody.KIND - added:
const EmptyLinesAroundBody.MSG_DEFERRED - added:
const EmptyLinesAroundBody.MSG_EXTRA - added:
const EmptyLinesAroundBody.MSG_MISSING - added:
const EmptyLinesAroundClassBody.KIND - added:
const EmptyLinesAroundExceptionHandlingKeywords.MSG - added:
const EmptyLinesAroundMethodBody.KIND - added:
const EmptyLinesAroundModuleBody.KIND - added:
const EndOfLine.MSG_DETECTED - added:
const EndOfLine.MSG_MISSING - added:
const ExtraSpacing.MSG_UNALIGNED_ASGN - added:
const ExtraSpacing.MSG_UNNECESSARY - added:
const FirstArrayElementLineBreak.MSG - added:
const FirstHashElementLineBreak.MSG - added:
const FirstMethodArgumentLineBreak.MSG - added:
const FirstMethodParameterLineBreak.MSG - added:
const IndentAssignment.MSG - added:
const IndentHeredoc.LIBRARY_MSG - added:
const IndentHeredoc.RUBY23_MSG - added:
const IndentHeredoc.StripMethods - added:
const IndentationConsistency.MSG - added:
const IndentationWidth.SPECIAL_MODIFIERS - added:
const InitialIndentation.MSG - added:
const LeadingCommentSpace.MSG - added:
const MultilineArrayBraceLayout.ALWAYS_NEW_LINE_MESSAGE - added:
const MultilineArrayBraceLayout.ALWAYS_SAME_LINE_MESSAGE - added:
const MultilineArrayBraceLayout.NEW_LINE_MESSAGE - added:
const MultilineArrayBraceLayout.SAME_LINE_MESSAGE - added:
const MultilineAssignmentLayout.NEW_LINE_OFFENSE - added:
const MultilineAssignmentLayout.SAME_LINE_OFFENSE - added:
const MultilineBlockLayout.ARG_MSG - added:
const MultilineBlockLayout.MSG - added:
const MultilineHashBraceLayout.ALWAYS_NEW_LINE_MESSAGE - added:
const MultilineHashBraceLayout.ALWAYS_SAME_LINE_MESSAGE - added:
const MultilineHashBraceLayout.NEW_LINE_MESSAGE - added:
const MultilineHashBraceLayout.SAME_LINE_MESSAGE - added:
const MultilineMethodCallBraceLayout.ALWAYS_NEW_LINE_MESSAGE - added:
const MultilineMethodCallBraceLayout.ALWAYS_SAME_LINE_MESSAGE - added:
const MultilineMethodCallBraceLayout.NEW_LINE_MESSAGE - added:
const MultilineMethodCallBraceLayout.SAME_LINE_MESSAGE - added:
const MultilineMethodDefinitionBraceLayout.ALWAYS_NEW_LINE_MESSAGE - added:
const MultilineMethodDefinitionBraceLayout.ALWAYS_SAME_LINE_MESSAGE - added:
const MultilineMethodDefinitionBraceLayout.NEW_LINE_MESSAGE - added:
const MultilineMethodDefinitionBraceLayout.SAME_LINE_MESSAGE - added:
const RescueEnsureAlignment.MSG - added:
const SpaceAfterColon.MSG - added:
const SpaceAfterMethodName.MSG - added:
const SpaceAfterNot.MSG - added:
const SpaceAroundKeyword.ACCEPT_LEFT_PAREN - added:
const SpaceAroundKeyword.ACCEPT_LEFT_SQUARE_BRACKET - added:
const SpaceAroundKeyword.DO - added:
const SpaceAroundKeyword.MSG_AFTER - added:
const SpaceAroundKeyword.MSG_BEFORE - added:
const SpaceAroundKeyword.SAFE_NAVIGATION - added:
const SpaceAroundOperators.IRREGULAR_METHODS - added:
const SpaceBeforeComment.MSG - added:
const SpaceBeforeFirstArg.MSG - added:
const SpaceInLambdaLiteral.ARROW - added:
const SpaceInLambdaLiteral.MSG_REQUIRE_NO_SPACE - added:
const SpaceInLambdaLiteral.MSG_REQUIRE_SPACE - added:
const SpaceInsideArrayPercentLiteral.MSG - added:
const SpaceInsideArrayPercentLiteral.MULTIPLE_SPACES_BETWEEN_ITEMS_REGEX - added:
const SpaceInsideHashLiteralBraces.MSG - added:
const SpaceInsidePercentLiteralDelimiters.BEGIN_REGEX - added:
const SpaceInsidePercentLiteralDelimiters.END_REGEX - added:
const SpaceInsidePercentLiteralDelimiters.MSG - added:
const SpaceInsideRangeLiteral.MSG - added:
const SpaceInsideStringInterpolation.NO_SPACE_MSG - added:
const SpaceInsideStringInterpolation.SPACE_MSG - added:
const Tab.MSG - added:
const TrailingWhitespace.MSG - added:
method AccessModifierIndentation.on_block(_) - added:
method AccessModifierIndentation.on_class(_) - added:
method AccessModifierIndentation.on_module(_) - added:
method AccessModifierIndentation.on_sclass(_) - added:
method AlignArray.on_array(_) - added:
method AlignHash.on_hash(_) - added:
method AlignHash.on_send(_) - added:
method AlignParameters.message(_) - added:
method AlignParameters.on_method_def(_, _, _, _) - added:
method AlignParameters.on_send(_) - added:
method BlockEndNewline.on_block(_) - added:
method CaseIndentation.on_case(_) - added:
method ClosingParenthesisIndentation.on_begin(_) - added:
method ClosingParenthesisIndentation.on_send(_) - added:
method CommentIndentation.investigate(_) - added:
method DotPosition.on_send(_) - added:
method ElseAlignment.on_case(_) - added:
method ElseAlignment.on_if(_, _ = …) - added:
method ElseAlignment.on_rescue(_) - added:
method EmptyLineAfterMagicComment.autocorrect(_) - added:
method EmptyLineAfterMagicComment.investigate(_) - added:
method EmptyLineBetweenDefs.check_defs(_) - added:
method EmptyLineBetweenDefs.on_begin(_) - added:
method EmptyLines.autocorrect(_) - added:
method EmptyLines.investigate(_) - added:
method EmptyLinesAroundAccessModifier.autocorrect(_) - added:
method EmptyLinesAroundAccessModifier.on_send(_) - added:
method EmptyLinesAroundBeginBody.on_kwbegin(_) - added:
method EmptyLinesAroundBlockBody.on_block(_) - added:
method EmptyLinesAroundBody.autocorrect(_) - added:
method EmptyLinesAroundClassBody.on_class(_) - added:
method EmptyLinesAroundClassBody.on_sclass(_) - added:
method EmptyLinesAroundExceptionHandlingKeywords.on_kwbegin(_) - added:
method EmptyLinesAroundExceptionHandlingKeywords.on_method_def(_, _, _, _) - added:
method EmptyLinesAroundMethodBody.on_method_def(_, _, _, _) - added:
method EmptyLinesAroundModuleBody.on_module(_) - added:
method EndOfLine.investigate(_) - added:
method EndOfLine.offense_message(_) - added:
method EndOfLine.unimportant_missing_cr?(_, _, _) - added:
method ExtraSpacing.autocorrect(_) - added:
method ExtraSpacing.investigate(_) - added:
method FirstArrayElementLineBreak.on_array(_) - added:
method FirstHashElementLineBreak.on_hash(_) - added:
method FirstMethodArgumentLineBreak.on_send(_) - added:
method FirstMethodParameterLineBreak.on_method_def(_, _, _, _) - added:
method FirstParameterIndentation.on_send(_) - added:
method IndentArray.on_array(_) - added:
method IndentArray.on_send(_) - added:
method IndentAssignment.check_assignment(_, _) - added:
method IndentHash.on_hash(_) - added:
method IndentHash.on_send(_) - added:
method IndentHeredoc.autocorrect(_) - added:
method IndentHeredoc.on_dstr(_) - added:
method IndentHeredoc.on_str(_) - added:
method IndentHeredoc.on_xstr(_) - added:
method IndentationConsistency.on_begin(_) - added:
method IndentationConsistency.on_kwbegin(_) - added:
method IndentationWidth.on_block(_) - added:
method IndentationWidth.on_case(_) - added:
method IndentationWidth.on_class(_) - added:
method IndentationWidth.on_ensure(_) - added:
method IndentationWidth.on_for(_) - added:
method IndentationWidth.on_if(_, _ = …) - added:
method IndentationWidth.on_kwbegin(_) - added:
method IndentationWidth.on_method_def(_, _, _, _) - added:
method IndentationWidth.on_module(_) - added:
method IndentationWidth.on_resbody(_) - added:
method IndentationWidth.on_rescue(_) - added:
method IndentationWidth.on_send(_) - added:
method IndentationWidth.on_until(_, _ = …) - added:
method IndentationWidth.on_while(_, _ = …) - added:
method InitialIndentation.autocorrect(_) - added:
method InitialIndentation.investigate(_) - added:
method LeadingCommentSpace.autocorrect(_) - added:
method LeadingCommentSpace.investigate(_) - added:
method MultilineArrayBraceLayout.on_array(_) - added:
method MultilineAssignmentLayout.autocorrect(_) - added:
method MultilineAssignmentLayout.check_assignment(_, _) - added:
method MultilineAssignmentLayout.check_new_line_offense(_, _) - added:
method MultilineAssignmentLayout.check_same_line_offense(_, _) - added:
method MultilineBlockLayout.on_block(_) - added:
method MultilineHashBraceLayout.on_hash(_) - added:
method MultilineMethodCallBraceLayout.on_send(_) - added:
method MultilineMethodCallIndentation.validate_config() - added:
method MultilineMethodDefinitionBraceLayout.on_method_def(_, _, _, _) - added:
method MultilineOperationIndentation.on_and(_) - added:
method MultilineOperationIndentation.on_or(_) - added:
method MultilineOperationIndentation.validate_config() - added:
method RescueEnsureAlignment.autocorrect(_) - added:
method RescueEnsureAlignment.investigate(_) - added:
method RescueEnsureAlignment.on_ensure(_) - added:
method RescueEnsureAlignment.on_resbody(_) - added:
method SpaceAfterColon.on_kwoptarg(_) - added:
method SpaceAfterColon.on_pair(_) - added:
method SpaceAfterComma.kind(_) - added:
method SpaceAfterComma.space_style_before_rcurly() - added:
method SpaceAfterMethodName.autocorrect(_) - added:
method SpaceAfterMethodName.on_method_def(_, _, _, _) - added:
method SpaceAfterNot.autocorrect(_) - added:
method SpaceAfterNot.on_send(_) - added:
method SpaceAfterNot.whitespace_after_operator?(_) - added:
method SpaceAfterSemicolon.kind(_) - added:
method SpaceAfterSemicolon.space_style_before_rcurly() - added:
method SpaceAroundBlockParameters.on_block(_) - added:
method SpaceAroundEqualsInParameterDefault.on_optarg(_) - added:
method SpaceAroundKeyword.on_and(_) - added:
method SpaceAroundKeyword.on_block(_) - added:
method SpaceAroundKeyword.on_break(_) - added:
method SpaceAroundKeyword.on_case(_) - added:
method SpaceAroundKeyword.on_defined?(_) - added:
method SpaceAroundKeyword.on_ensure(_) - added:
method SpaceAroundKeyword.on_for(_) - added:
method SpaceAroundKeyword.on_if(_) - added:
method SpaceAroundKeyword.on_kwbegin(_) - added:
method SpaceAroundKeyword.on_next(_) - added:
method SpaceAroundKeyword.on_or(_) - added:
method SpaceAroundKeyword.on_postexe(_) - added:
method SpaceAroundKeyword.on_preexe(_) - added:
method SpaceAroundKeyword.on_resbody(_) - added:
method SpaceAroundKeyword.on_rescue(_) - added:
method SpaceAroundKeyword.on_return(_) - added:
method SpaceAroundKeyword.on_send(_) - added:
method SpaceAroundKeyword.on_super(_) - added:
method SpaceAroundKeyword.on_until(_) - added:
method SpaceAroundKeyword.on_when(_) - added:
method SpaceAroundKeyword.on_while(_) - added:
method SpaceAroundKeyword.on_yield(_) - added:
method SpaceAroundKeyword.on_zsuper(_) - added:
method SpaceAroundOperators.on_and(_) - added:
method SpaceAroundOperators.on_and_asgn(_) - added:
method SpaceAroundOperators.on_binary(_) - added:
method SpaceAroundOperators.on_casgn(_) - added:
method SpaceAroundOperators.on_class(_) - added:
method SpaceAroundOperators.on_cvasgn(_) - added:
method SpaceAroundOperators.on_gvasgn(_) - added:
method SpaceAroundOperators.on_if(_) - added:
method SpaceAroundOperators.on_ivasgn(_) - added:
method SpaceAroundOperators.on_lvasgn(_) - added:
method SpaceAroundOperators.on_masgn(_) - added:
method SpaceAroundOperators.on_op_asgn(_) - added:
method SpaceAroundOperators.on_or(_) - added:
method SpaceAroundOperators.on_or_asgn(_) - added:
method SpaceAroundOperators.on_pair(_) - added:
method SpaceAroundOperators.on_resbody(_) - added:
method SpaceAroundOperators.on_send(_) - added:
method SpaceAroundOperators.on_special_asgn(_) - added:
method SpaceBeforeBlockBraces.on_block(_) - added:
method SpaceBeforeComma.kind(_) - added:
method SpaceBeforeComment.investigate(_) - added:
method SpaceBeforeFirstArg.autocorrect(_) - added:
method SpaceBeforeFirstArg.on_send(_) - added:
method SpaceBeforeSemicolon.kind(_) - added:
method SpaceInLambdaLiteral.autocorrect(_) - added:
method SpaceInLambdaLiteral.on_send(_) - added:
method SpaceInsideArrayPercentLiteral.autocorrect(_) - added:
method SpaceInsideArrayPercentLiteral.on_array(_) - added:
method SpaceInsideArrayPercentLiteral.on_percent_literal(_) - added:
method SpaceInsideBlockBraces.on_block(_) - added:
method SpaceInsideBrackets.specifics() - added:
method SpaceInsideHashLiteralBraces.on_hash(_) - added:
method SpaceInsideParens.specifics() - added:
method SpaceInsidePercentLiteralDelimiters.autocorrect(_) - added:
method SpaceInsidePercentLiteralDelimiters.on_array(_) - added:
method SpaceInsidePercentLiteralDelimiters.on_percent_literal(_) - added:
method SpaceInsidePercentLiteralDelimiters.on_xstr(_) - added:
method SpaceInsideRangeLiteral.on_erange(_) - added:
method SpaceInsideRangeLiteral.on_irange(_) - added:
method SpaceInsideStringInterpolation.on_dstr(_) - added:
method Tab.investigate(_) - added:
method TrailingBlankLines.investigate(_) - added:
method TrailingWhitespace.autocorrect(_) - added:
method TrailingWhitespace.investigate(_) - added:
module EmptyLinesAroundBody - added:
static method MultilineHashBraceLayout.autocorrect_incompatible_with() - added:
static method SpaceAroundOperators.autocorrect_incompatible_with() - added:
static method SpaceBeforeBlockBraces.autocorrect_incompatible_with()
- added:
class RescueType < Cop - added:
class ScriptPermission < Cop - added:
const RescueType.INVALID_TYPES - added:
const RescueType.MSG - added:
const ScriptPermission.MSG - added:
const ScriptPermission.SHEBANG - added:
method RescueType.autocorrect(_) - added:
method RescueType.on_resbody(_) - added:
method ScriptPermission.investigate(_)
- added:
class Caller < Cop - added:
const Caller.MSG - added:
const Caller.SCOPE_METHODS - added:
method Caller.on_send(_)
- added:
class ApplicationJob < Cop - added:
class ApplicationRecord < Cop - added:
const ApplicationJob.BASE_PATTERN - added:
const ApplicationJob.MSG - added:
const ApplicationJob.SUPERCLASS - added:
const ApplicationRecord.BASE_PATTERN - added:
const ApplicationRecord.MSG - added:
const ApplicationRecord.SUPERCLASS - added:
const ReversibleMigration.IRREVERSIBLE_CHANGE_TABLE_CALLS - added:
method RelativeDateConstant.on_masgn(_) - added:
method RelativeDateConstant.on_or_asgn(_) - added:
method ReversibleMigration.on_block(_)
- removed:
class AccessModifierIndentation < Cop - removed:
class AlignArray < Cop - removed:
class AlignHash < Cop - removed:
class AlignParameters < Cop - removed:
class BlockEndNewline < Cop - removed:
class CaseIndentation < Cop - removed:
class ClosingParenthesisIndentation < Cop - removed:
class CommentIndentation < Cop - removed:
class DotPosition < Cop - removed:
class ElseAlignment < Cop - removed:
class EmptyLineAfterMagicComment < Cop - removed:
class EmptyLineBetweenDefs < Cop - removed:
class EmptyLines < Cop - removed:
class EmptyLinesAroundAccessModifier < Cop - removed:
class EmptyLinesAroundBeginBody < Cop - removed:
class EmptyLinesAroundBlockBody < Cop - removed:
class EmptyLinesAroundClassBody < Cop - removed:
class EmptyLinesAroundExceptionHandlingKeywords < Cop - removed:
class EmptyLinesAroundMethodBody < Cop - removed:
class EmptyLinesAroundModuleBody < Cop - removed:
class EndOfLine < Cop - removed:
class ExtraSpacing < Cop - removed:
class FirstArrayElementLineBreak < Cop - removed:
class FirstHashElementLineBreak < Cop - removed:
class FirstMethodArgumentLineBreak < Cop - removed:
class FirstMethodParameterLineBreak < Cop - removed:
class FirstParameterIndentation < Cop - removed:
class IndentArray < Cop - removed:
class IndentAssignment < Cop - removed:
class IndentHash < Cop - removed:
class IndentHeredoc < Cop - removed:
class IndentationConsistency < Cop - removed:
class IndentationWidth < Cop - removed:
class InitialIndentation < Cop - removed:
class LeadingCommentSpace < Cop - removed:
class MultilineArrayBraceLayout < Cop - removed:
class MultilineAssignmentLayout < Cop - removed:
class MultilineBlockLayout < Cop - removed:
class MultilineHashBraceLayout < Cop - removed:
class MultilineMethodCallBraceLayout < Cop - removed:
class MultilineMethodCallIndentation < Cop - removed:
class MultilineMethodDefinitionBraceLayout < Cop - removed:
class MultilineOperationIndentation < Cop - removed:
class RescueEnsureAlignment < Cop - removed:
class SpaceAfterColon < Cop - removed:
class SpaceAfterComma < Cop - removed:
class SpaceAfterMethodName < Cop - removed:
class SpaceAfterNot < Cop - removed:
class SpaceAfterSemicolon < Cop - removed:
class SpaceAroundBlockParameters < Cop - removed:
class SpaceAroundEqualsInParameterDefault < Cop - removed:
class SpaceAroundKeyword < Cop - removed:
class SpaceAroundOperators < Cop - removed:
class SpaceBeforeBlockBraces < Cop - removed:
class SpaceBeforeComma < Cop - removed:
class SpaceBeforeComment < Cop - removed:
class SpaceBeforeFirstArg < Cop - removed:
class SpaceBeforeSemicolon < Cop - removed:
class SpaceInLambdaLiteral < Cop - removed:
class SpaceInsideArrayPercentLiteral < Cop - removed:
class SpaceInsideBlockBraces < Cop - removed:
class SpaceInsideBrackets < Cop - removed:
class SpaceInsideHashLiteralBraces < Cop - removed:
class SpaceInsideParens < Cop - removed:
class SpaceInsidePercentLiteralDelimiters < Cop - removed:
class SpaceInsideRangeLiteral < Cop - removed:
class SpaceInsideStringInterpolation < Cop - removed:
class Tab < Cop - removed:
class TrailingBlankLines < Cop - removed:
class TrailingWhitespace < Cop - removed:
const AccessModifierIndentation.MSG - removed:
const AlignArray.MSG - removed:
const AlignHash.MSG - removed:
const AlignParameters.ALIGN_PARAMS_MSG - removed:
const AlignParameters.FIXED_INDENT_MSG - removed:
const BlockEndNewline.MSG - removed:
const CaseIndentation.MSG - removed:
const ClosingParenthesisIndentation.MSG_ALIGN - removed:
const ClosingParenthesisIndentation.MSG_INDENT - removed:
const CommentIndentation.MSG - removed:
const ElseAlignment.MSG - removed:
const EmptyLineAfterMagicComment.BLANK_LINE - removed:
const EmptyLineAfterMagicComment.MSG - removed:
const EmptyLineBetweenDefs.MSG - removed:
const EmptyLines.LINE_OFFSET - removed:
const EmptyLines.MSG - removed:
const EmptyLinesAroundAccessModifier.MSG_AFTER - removed:
const EmptyLinesAroundAccessModifier.MSG_BEFORE_AND_AFTER - removed:
const EmptyLinesAroundBeginBody.KIND - removed:
const EmptyLinesAroundBlockBody.KIND - removed:
const EmptyLinesAroundBody.MSG_DEFERRED - removed:
const EmptyLinesAroundBody.MSG_EXTRA - removed:
const EmptyLinesAroundBody.MSG_MISSING - removed:
const EmptyLinesAroundClassBody.KIND - removed:
const EmptyLinesAroundExceptionHandlingKeywords.MSG - removed:
const EmptyLinesAroundMethodBody.KIND - removed:
const EmptyLinesAroundModuleBody.KIND - removed:
const EndOfLine.MSG_DETECTED - removed:
const EndOfLine.MSG_MISSING - removed:
const ExtraSpacing.MSG_UNALIGNED_ASGN - removed:
const ExtraSpacing.MSG_UNNECESSARY - removed:
const FirstArrayElementLineBreak.MSG - removed:
const FirstHashElementLineBreak.MSG - removed:
const FirstMethodArgumentLineBreak.MSG - removed:
const FirstMethodParameterLineBreak.MSG - removed:
const IndentAssignment.MSG - removed:
const IndentHeredoc.LIBRARY_MSG - removed:
const IndentHeredoc.RUBY23_MSG - removed:
const IndentHeredoc.StripMethods - removed:
const IndentationConsistency.MSG - removed:
const IndentationWidth.SPECIAL_MODIFIERS - removed:
const InitialIndentation.MSG - removed:
const LeadingCommentSpace.MSG - removed:
const MultilineArrayBraceLayout.ALWAYS_NEW_LINE_MESSAGE - removed:
const MultilineArrayBraceLayout.ALWAYS_SAME_LINE_MESSAGE - removed:
const MultilineArrayBraceLayout.NEW_LINE_MESSAGE - removed:
const MultilineArrayBraceLayout.SAME_LINE_MESSAGE - removed:
const MultilineAssignmentLayout.NEW_LINE_OFFENSE - removed:
const MultilineAssignmentLayout.SAME_LINE_OFFENSE - removed:
const MultilineBlockLayout.ARG_MSG - removed:
const MultilineBlockLayout.MSG - removed:
const MultilineHashBraceLayout.ALWAYS_NEW_LINE_MESSAGE - removed:
const MultilineHashBraceLayout.ALWAYS_SAME_LINE_MESSAGE - removed:
const MultilineHashBraceLayout.NEW_LINE_MESSAGE - removed:
const MultilineHashBraceLayout.SAME_LINE_MESSAGE - removed:
const MultilineMethodCallBraceLayout.ALWAYS_NEW_LINE_MESSAGE - removed:
const MultilineMethodCallBraceLayout.ALWAYS_SAME_LINE_MESSAGE - removed:
const MultilineMethodCallBraceLayout.NEW_LINE_MESSAGE - removed:
const MultilineMethodCallBraceLayout.SAME_LINE_MESSAGE - removed:
const MultilineMethodDefinitionBraceLayout.ALWAYS_NEW_LINE_MESSAGE - removed:
const MultilineMethodDefinitionBraceLayout.ALWAYS_SAME_LINE_MESSAGE - removed:
const MultilineMethodDefinitionBraceLayout.NEW_LINE_MESSAGE - removed:
const MultilineMethodDefinitionBraceLayout.SAME_LINE_MESSAGE - removed:
const Next.EACH_ - removed:
const Next.ENUMERATORS - removed:
const RescueEnsureAlignment.MSG - removed:
const SpaceAfterColon.MSG - removed:
const SpaceAfterMethodName.MSG - removed:
const SpaceAfterNot.MSG - removed:
const SpaceAroundKeyword.ACCEPT_LEFT_PAREN - removed:
const SpaceAroundKeyword.ACCEPT_LEFT_SQUARE_BRACKET - removed:
const SpaceAroundKeyword.DO - removed:
const SpaceAroundKeyword.MSG_AFTER - removed:
const SpaceAroundKeyword.MSG_BEFORE - removed:
const SpaceAroundKeyword.SAFE_NAVIGATION - removed:
const SpaceAroundOperators.IRREGULAR_METHODS - removed:
const SpaceBeforeComment.MSG - removed:
const SpaceBeforeFirstArg.MSG - removed:
const SpaceInLambdaLiteral.ARROW - removed:
const SpaceInLambdaLiteral.MSG_REQUIRE_NO_SPACE - removed:
const SpaceInLambdaLiteral.MSG_REQUIRE_SPACE - removed:
const SpaceInsideArrayPercentLiteral.MSG - removed:
const SpaceInsideArrayPercentLiteral.MULTIPLE_SPACES_BETWEEN_ITEMS_REGEX - removed:
const SpaceInsideHashLiteralBraces.MSG - removed:
const SpaceInsidePercentLiteralDelimiters.BEGIN_REGEX - removed:
const SpaceInsidePercentLiteralDelimiters.END_REGEX - removed:
const SpaceInsidePercentLiteralDelimiters.MSG - removed:
const SpaceInsideRangeLiteral.MSG - removed:
const SpaceInsideStringInterpolation.NO_SPACE_MSG - removed:
const SpaceInsideStringInterpolation.SPACE_MSG - removed:
const Tab.MSG - removed:
const TrailingWhitespace.MSG - removed:
method AccessModifierIndentation.on_block(_) - removed:
method AccessModifierIndentation.on_class(_) - removed:
method AccessModifierIndentation.on_module(_) - removed:
method AccessModifierIndentation.on_sclass(_) - removed:
method AlignArray.on_array(_) - removed:
method AlignHash.on_hash(_) - removed:
method AlignHash.on_send(_) - removed:
method AlignParameters.message(_) - removed:
method AlignParameters.on_method_def(_, _, _, _) - removed:
method AlignParameters.on_send(_) - removed:
method BlockEndNewline.autocorrect(_) - removed:
method BlockEndNewline.indentation_of_block_start_line(_) - removed:
method BlockEndNewline.on_block(_) - removed:
method CaseIndentation.on_case(_) - removed:
method ClosingParenthesisIndentation.on_begin(_) - removed:
method ClosingParenthesisIndentation.on_send(_) - removed:
method CommentIndentation.investigate(_) - removed:
method DotPosition.on_send(_) - removed:
method EachWithObject.autocorrect(_) - removed:
method ElseAlignment.on_case(_) - removed:
method ElseAlignment.on_if(_, _ = …) - removed:
method ElseAlignment.on_rescue(_) - removed:
method EmptyLineAfterMagicComment.autocorrect(_) - removed:
method EmptyLineAfterMagicComment.investigate(_) - removed:
method EmptyLineBetweenDefs.check_defs(_) - removed:
method EmptyLineBetweenDefs.on_begin(_) - removed:
method EmptyLines.autocorrect(_) - removed:
method EmptyLines.investigate(_) - removed:
method EmptyLinesAroundAccessModifier.autocorrect(_) - removed:
method EmptyLinesAroundAccessModifier.on_send(_) - removed:
method EmptyLinesAroundBeginBody.on_kwbegin(_) - removed:
method EmptyLinesAroundBlockBody.on_block(_) - removed:
method EmptyLinesAroundBody.autocorrect(_) - removed:
method EmptyLinesAroundClassBody.on_class(_) - removed:
method EmptyLinesAroundClassBody.on_sclass(_) - removed:
method EmptyLinesAroundExceptionHandlingKeywords.on_kwbegin(_) - removed:
method EmptyLinesAroundExceptionHandlingKeywords.on_method_def(_, _, _, _) - removed:
method EmptyLinesAroundMethodBody.on_method_def(_, _, _, _) - removed:
method EmptyLinesAroundModuleBody.on_module(_) - removed:
method EndOfLine.investigate(_) - removed:
method EndOfLine.offense_message(_) - removed:
method EndOfLine.unimportant_missing_cr?(_, _, _) - removed:
method ExtraSpacing.autocorrect(_) - removed:
method ExtraSpacing.investigate(_) - removed:
method FirstArrayElementLineBreak.on_array(_) - removed:
method FirstHashElementLineBreak.on_hash(_) - removed:
method FirstMethodArgumentLineBreak.on_send(_) - removed:
method FirstMethodParameterLineBreak.on_method_def(_, _, _, _) - removed:
method FirstParameterIndentation.on_send(_) - removed:
method IndentArray.on_array(_) - removed:
method IndentArray.on_send(_) - removed:
method IndentAssignment.check_assignment(_, _) - removed:
method IndentHash.on_hash(_) - removed:
method IndentHash.on_send(_) - removed:
method IndentHeredoc.autocorrect(_) - removed:
method IndentHeredoc.on_dstr(_) - removed:
method IndentHeredoc.on_str(_) - removed:
method IndentHeredoc.on_xstr(_) - removed:
method IndentationConsistency.on_begin(_) - removed:
method IndentationConsistency.on_kwbegin(_) - removed:
method IndentationWidth.on_block(_) - removed:
method IndentationWidth.on_case(_) - removed:
method IndentationWidth.on_class(_) - removed:
method IndentationWidth.on_ensure(_) - removed:
method IndentationWidth.on_for(_) - removed:
method IndentationWidth.on_if(_, _ = …) - removed:
method IndentationWidth.on_kwbegin(_) - removed:
method IndentationWidth.on_method_def(_, _, _, _) - removed:
method IndentationWidth.on_module(_) - removed:
method IndentationWidth.on_resbody(_) - removed:
method IndentationWidth.on_rescue(_) - removed:
method IndentationWidth.on_send(_) - removed:
method IndentationWidth.on_until(_, _ = …) - removed:
method IndentationWidth.on_while(_, _ = …) - removed:
method InitialIndentation.autocorrect(_) - removed:
method InitialIndentation.investigate(_) - removed:
method InverseMethods.end_parentheses(_, _) - removed:
method InverseMethods.inverse_blocks() - removed:
method InverseMethods.inverse_methods() - removed:
method InverseMethods.not_to_receiver(_, _) - removed:
method LeadingCommentSpace.autocorrect(_) - removed:
method LeadingCommentSpace.investigate(_) - removed:
method MethodName.message(_) - removed:
method MultilineArrayBraceLayout.on_array(_) - removed:
method MultilineAssignmentLayout.autocorrect(_) - removed:
method MultilineAssignmentLayout.check_assignment(_, _) - removed:
method MultilineAssignmentLayout.check_new_line_offense(_, _) - removed:
method MultilineAssignmentLayout.check_same_line_offense(_, _) - removed:
method MultilineBlockLayout.add_offense_for_expression(_, _, _) - removed:
method MultilineBlockLayout.args_on_different_line?(_, _) - removed:
method MultilineBlockLayout.arguments_on_different_line?(_, _) - removed:
method MultilineBlockLayout.autocorrect(_) - removed:
method MultilineBlockLayout.autocorrect_arguments(_, _, _) - removed:
method MultilineBlockLayout.autocorrect_body(_, _, _) - removed:
method MultilineBlockLayout.block_arg_string(_) - removed:
method MultilineBlockLayout.on_block(_) - removed:
method MultilineBlockLayout.oneliner?(_) - removed:
method MultilineHashBraceLayout.on_hash(_) - removed:
method MultilineMethodCallBraceLayout.on_send(_) - removed:
method MultilineMethodCallIndentation.validate_config() - removed:
method MultilineMethodDefinitionBraceLayout.on_method_def(_, _, _, _) - removed:
method MultilineOperationIndentation.on_and(_) - removed:
method MultilineOperationIndentation.on_or(_) - removed:
method MultilineOperationIndentation.validate_config() - removed:
method RescueEnsureAlignment.autocorrect(_) - removed:
method RescueEnsureAlignment.investigate(_) - removed:
method RescueEnsureAlignment.on_ensure(_) - removed:
method RescueEnsureAlignment.on_resbody(_) - removed:
method SpaceAfterColon.on_kwoptarg(_) - removed:
method SpaceAfterColon.on_pair(_) - removed:
method SpaceAfterComma.kind(_) - removed:
method SpaceAfterComma.space_style_before_rcurly() - removed:
method SpaceAfterMethodName.autocorrect(_) - removed:
method SpaceAfterMethodName.on_method_def(_, _, _, _) - removed:
method SpaceAfterNot.autocorrect(_) - removed:
method SpaceAfterNot.on_send(_) - removed:
method SpaceAfterNot.whitespace_after_operator?(_) - removed:
method SpaceAfterSemicolon.kind(_) - removed:
method SpaceAfterSemicolon.space_style_before_rcurly() - removed:
method SpaceAroundBlockParameters.on_block(_) - removed:
method SpaceAroundEqualsInParameterDefault.on_optarg(_) - removed:
method SpaceAroundKeyword.on_and(_) - removed:
method SpaceAroundKeyword.on_block(_) - removed:
method SpaceAroundKeyword.on_break(_) - removed:
method SpaceAroundKeyword.on_case(_) - removed:
method SpaceAroundKeyword.on_defined?(_) - removed:
method SpaceAroundKeyword.on_ensure(_) - removed:
method SpaceAroundKeyword.on_for(_) - removed:
method SpaceAroundKeyword.on_if(_) - removed:
method SpaceAroundKeyword.on_kwbegin(_) - removed:
method SpaceAroundKeyword.on_next(_) - removed:
method SpaceAroundKeyword.on_or(_) - removed:
method SpaceAroundKeyword.on_postexe(_) - removed:
method SpaceAroundKeyword.on_preexe(_) - removed:
method SpaceAroundKeyword.on_resbody(_) - removed:
method SpaceAroundKeyword.on_rescue(_) - removed:
method SpaceAroundKeyword.on_return(_) - removed:
method SpaceAroundKeyword.on_send(_) - removed:
method SpaceAroundKeyword.on_super(_) - removed:
method SpaceAroundKeyword.on_until(_) - removed:
method SpaceAroundKeyword.on_when(_) - removed:
method SpaceAroundKeyword.on_while(_) - removed:
method SpaceAroundKeyword.on_yield(_) - removed:
method SpaceAroundKeyword.on_zsuper(_) - removed:
method SpaceAroundOperators.on_and(_) - removed:
method SpaceAroundOperators.on_and_asgn(_) - removed:
method SpaceAroundOperators.on_binary(_) - removed:
method SpaceAroundOperators.on_casgn(_) - removed:
method SpaceAroundOperators.on_class(_) - removed:
method SpaceAroundOperators.on_cvasgn(_) - removed:
method SpaceAroundOperators.on_gvasgn(_) - removed:
method SpaceAroundOperators.on_if(_) - removed:
method SpaceAroundOperators.on_ivasgn(_) - removed:
method SpaceAroundOperators.on_lvasgn(_) - removed:
method SpaceAroundOperators.on_masgn(_) - removed:
method SpaceAroundOperators.on_op_asgn(_) - removed:
method SpaceAroundOperators.on_or(_) - removed:
method SpaceAroundOperators.on_or_asgn(_) - removed:
method SpaceAroundOperators.on_pair(_) - removed:
method SpaceAroundOperators.on_resbody(_) - removed:
method SpaceAroundOperators.on_send(_) - removed:
method SpaceAroundOperators.on_special_asgn(_) - removed:
method SpaceBeforeBlockBraces.on_block(_) - removed:
method SpaceBeforeComma.kind(_) - removed:
method SpaceBeforeComment.investigate(_) - removed:
method SpaceBeforeFirstArg.autocorrect(_) - removed:
method SpaceBeforeFirstArg.on_send(_) - removed:
method SpaceBeforeSemicolon.kind(_) - removed:
method SpaceInLambdaLiteral.autocorrect(_) - removed:
method SpaceInLambdaLiteral.on_send(_) - removed:
method SpaceInsideArrayPercentLiteral.autocorrect(_) - removed:
method SpaceInsideArrayPercentLiteral.on_array(_) - removed:
method SpaceInsideArrayPercentLiteral.on_percent_literal(_) - removed:
method SpaceInsideBlockBraces.on_block(_) - removed:
method SpaceInsideBrackets.specifics() - removed:
method SpaceInsideHashLiteralBraces.on_hash(_) - removed:
method SpaceInsideParens.specifics() - removed:
method SpaceInsidePercentLiteralDelimiters.autocorrect(_) - removed:
method SpaceInsidePercentLiteralDelimiters.on_array(_) - removed:
method SpaceInsidePercentLiteralDelimiters.on_percent_literal(_) - removed:
method SpaceInsidePercentLiteralDelimiters.on_xstr(_) - removed:
method SpaceInsideRangeLiteral.on_erange(_) - removed:
method SpaceInsideRangeLiteral.on_irange(_) - removed:
method SpaceInsideStringInterpolation.on_dstr(_) - removed:
method Tab.investigate(_) - removed:
method TrailingBlankLines.investigate(_) - removed:
method TrailingWhitespace.autocorrect(_) - removed:
method TrailingWhitespace.investigate(_) - removed:
module EmptyLinesAroundBody - added:
class FormatStringToken < Cop - added:
class MultipleComparison < Cop - added:
class YodaCondition < Cop - added:
const FormatStringToken.FIELD_CHARACTERS - added:
const FormatStringToken.STYLE_PATTERNS - added:
const FormatStringToken.TOKEN_PATTERN - added:
const MultipleComparison.MSG - added:
const SingleLineBlockParams.MSG - added:
const YodaCondition.MSG - added:
const YodaCondition.REVERSE_COMPARISON - added:
method FormatString.autocorrect(_) - added:
method FormatStringToken.on_str(_) - added:
method MixinGrouping.autocorrect(_) - added:
method MultipleComparison.on_if(_) - added:
method SymbolArray.autocorrect(_) - added:
method YodaCondition.on_send(_) - added:
static method LineEndConcatenation.autocorrect_incompatible_with() - added:
static method SelfAssignment.autocorrect_incompatible_with() - added:
static method SymbolProc.autocorrect_incompatible_with() - added:
static method UnneededInterpolation.autocorrect_incompatible_with() - added:
static property SymbolArray.largest_brackets: accessor
- added:
method AssignmentSorter.dependency?(_, _)
- added:
const ExpectOffense.DEFAULT_FILENAME - added:
method ExpectOffense.expect_no_offenses(_, _ = …) - added:
method ExpectOffense.expect_offense(_, _ = …) - added:
module ExpectOffense
- added:
class AnnotatedSource - added:
const AnnotatedSource.ANNOTATION_PATTERN - added:
constructor AnnotatedSource(_, _) - added:
method AnnotatedSource.plain_source() - added:
method AnnotatedSource.to_s() - added:
method AnnotatedSource.with_offense_annotations(_) - added:
static method AnnotatedSource.parse(_)