Skip to content

Upgrading rubocop 0.88 to 0.89

Breaking0.88.0 → 0.89.1Breaking5Platform1New17Changed1Fixed30Other4

BreakingUpgrade verdict

5 breaking changes and a platform requirement change.

  • Style/MethodMissingSuper cop is removed in favor of new Lint/MissingSuper cop.
  • Lint/UselessComparison cop is removed in favor of new Lint/BinaryOperatorWithIdenticalOperands cop.
  • potentially breaking.
  • (Breaking) Cop Metrics/AbcSize now counts ||=, &&=, multiple assignments, for, yield, iterating blocks. &. now count as conditions too (unless repeated on the same variable).
Top 4 of 6 that need code or config changes
Breaking5
Style/MethodMissingSuper cop is removed in favor of new Lint/MissingSuper cop.
Style/MethodMissingSuperLint/MissingSuper
Lint/UselessComparison cop is removed in favor of new Lint/BinaryOperatorWithIdenticalOperands cop.
Lint/UselessComparisonLint/BinaryOperatorWithIdenticalOperands
potentially breaking.
(Breaking) Cop Metrics/AbcSize now counts ||=, &&=, multiple assignments, for, yield, iterating blocks. &. now count as conditions too (unless repeated on the same variable).
Metrics/AbcSize
(Breaking) Cop Metrics/PerceivedComplexity now counts else in case statements, &., ||=, &&= and blocks known to iterate.
Metrics/PerceivedComplexityelsecase
Platform1
Enhance Gemspec/RequiredRubyVersion cop with check that required_ruby_version is specified.
Gemspec/RequiredRubyVersionrequired_ruby_version

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

  • added: class CopsDocumentationGenerator
  • added: constructor CopsDocumentationGenerator(departments: …)
  • added: method CopsDocumentationGenerator.call()
  • changed: static method Version.version(_ = …) → static method Version.version(debug: …)
  • added: method Config.for_badge(_)
  • added: module TokensUtil
  • added: static method PathUtil.hidden_file?(_)
  • added: static method PathUtil.maybe_hidden_file?(_)
  • added: static method TokensUtil.index_of_first_token(_)
  • added: static method TokensUtil.index_of_last_token(_)
  • added: static method TokensUtil.tokens(_)
  • changed: class COMMENT_DIRECTIVE_REGEXP < Regexp.new(('# rubocop : ((?:disable|enable|todo))\b ' + COPS_PATTERN) .gsub(' ', '\s*')) → class COMMENT_DIRECTIVE_REGEXP < Regexp.new("# rubocop : ((?:disable|enable|todo))\\b #{COPS_PATTERN}" .gsub(' ', '\s*'))
  • removed: const TooManyLines.MSG
  • removed: method HashTransformMethod.autocorrect(_)
  • removed: method ParserDiagnostic.investigate(_)
  • removed: module ParserDiagnostic
  • removed: module TooManyLines
  • removed: static method Util.tokens(_)
  • changed: method Registry.enabled(_, _ = …, _ = …) → method Registry.enabled(_, _ = …, only_safe: …)
  • changed: method Registry.qualified_cop_name(_, _, _ = …) → method Registry.qualified_cop_name(_, _, warn: …)
  • changed: static method UnusedArgCorrector.correct(_, _) → static method UnusedArgCorrector.correct(_, _, _)
  • changed: static method UnusedArgCorrector.correct_for_blockarg_type(_) → static method UnusedArgCorrector.correct_for_blockarg_type(_, _)
  • added: const CodeLength.MSG
  • removed: const RequiredRubyVersion.MSG
  • added: const RequiredRubyVersion.MISSING_MSG
  • added: const RequiredRubyVersion.NOT_EQUAL_MSG
  • removed: method MethodNameEqual.autocorrect(_)
  • removed: method OffenseLocationKeyword.autocorrect(_)
  • removed: method RedundantLocationArgument.autocorrect(_)
  • removed: method RedundantLocationArgument.offending_range(_)
  • removed: method RedundantMessageArgument.autocorrect(_)
  • removed: method UselessMessageAssertion.investigate(_)
  • changed: class MethodNameEqual < Cop → class MethodNameEqual < Base
  • changed: class NodeDestructuring < Cop → class NodeDestructuring < Base
  • changed: class OffenseLocationKeyword < Cop → class OffenseLocationKeyword < Base
  • changed: class RedundantLocationArgument < Cop → class RedundantLocationArgument < Base
  • changed: class RedundantMessageArgument < Cop → class RedundantMessageArgument < Base
  • changed: class UselessMessageAssertion < Cop → class UselessMessageAssertion < Base
  • added: method UselessMessageAssertion.on_new_investigation()
  • removed: method ExtraSpacing.autocorrect(_)
  • removed: method ExtraSpacing.investigate(_)
  • changed: class ExtraSpacing < Cop → class ExtraSpacing < Base
  • added: method ExtraSpacing.on_new_investigation()
  • removed: class UselessComparison < Cop
  • removed: const UselessComparison.MSG
  • removed: const UselessComparison.OPS
  • removed: method AmbiguousOperator.autocorrect(_)
  • removed: method AmbiguousRegexpLiteral.autocorrect(_)
  • removed: method BigDecimalNew.autocorrect(_)
  • removed: method BooleanSymbol.autocorrect(_)
  • removed: method DeprecatedClassMethods.autocorrect(_)
  • removed: method DeprecatedOpenSSLConstant.autocorrect(_)
  • removed: method EmptyEnsure.autocorrect(_)
  • removed: method EmptyInterpolation.autocorrect(_)
  • removed: method EnsureReturn.autocorrect(_)
  • removed: method ErbNewArguments.autocorrect(_)
  • removed: method HeredocMethodCallPosition.autocorrect(_)
  • removed: method InheritException.autocorrect(_)
  • removed: method InterpolationCheck.autocorrect(_)
  • removed: method InterpolationCheck.heredoc?(_)
  • removed: method LiteralInInterpolation.autocorrect(_)
  • removed: method MissingCopEnableDirective.investigate(_)
  • removed: method MultipleComparison.autocorrect(_)
  • removed: method NonDeterministicRequireOrder.autocorrect(_)
  • removed: method NumberConversion.autocorrect(_)
  • removed: method OrderedMagicComments.autocorrect(_)
  • removed: method OrderedMagicComments.investigate(_)
  • removed: method ParenthesesAsGroupedExpression.autocorrect(_)
  • removed: method PercentStringArray.autocorrect(_)
  • removed: method PercentSymbolArray.autocorrect(_)
  • removed: method RaiseException.autocorrect(_)
  • removed: method RedundantCopEnableDirective.autocorrect(_)
  • removed: method RedundantCopEnableDirective.investigate(_)
  • removed: method RedundantRequireStatement.autocorrect(_)
  • removed: method RedundantSplatExpansion.autocorrect(_)
  • removed: method RedundantStringCoercion.autocorrect(_)
  • removed: method RedundantWithIndex.autocorrect(_)
  • removed: method RedundantWithObject.autocorrect(_)
  • removed: method RegexpAsCondition.autocorrect(_)
  • removed: method SafeNavigationConsistency.autocorrect(_)
  • removed: method SafeNavigationWithEmpty.autocorrect(_)
  • removed: method ScriptPermission.autocorrect(_)
  • removed: method ScriptPermission.investigate(_)
  • removed: method SendWithMixinArgument.autocorrect(_)
  • removed: method ShadowedArgument.join_force?(_)
  • removed: method ShadowingOuterLocalVariable.join_force?(_)
  • removed: method ToJSON.autocorrect(_)
  • removed: method UnderscorePrefixedVariableName.join_force?(_)
  • removed: method UnifiedInteger.autocorrect(_)
  • removed: method UnusedArgument.join_force?(_)
  • removed: method UnusedBlockArgument.autocorrect(_)
  • removed: method UnusedMethodArgument.autocorrect(_)
  • removed: method UriRegexp.autocorrect(_)
  • removed: method UselessAccessModifier.autocorrect(_)
  • removed: method UselessAssignment.join_force?(_)
  • removed: method UselessComparison.on_send(_)
  • changed: class AmbiguousBlockAssociation < Cop → class AmbiguousBlockAssociation < Base
  • changed: class AmbiguousOperator < Cop → class AmbiguousOperator < Base
  • changed: class AmbiguousRegexpLiteral < Cop → class AmbiguousRegexpLiteral < Base
  • changed: class AssignmentInCondition < Cop → class AssignmentInCondition < Base
  • changed: class BigDecimalNew < Cop → class BigDecimalNew < Base
  • changed: class BooleanSymbol < Cop → class BooleanSymbol < Base
  • changed: class CircularArgumentReference < Cop → class CircularArgumentReference < Base
  • changed: class ConstantResolution < Cop → class ConstantResolution < Base
  • changed: class Debugger < Cop → class Debugger < Base
  • changed: class DeprecatedClassMethods < Cop → class DeprecatedClassMethods < Base
  • changed: class DeprecatedOpenSSLConstant < Cop → class DeprecatedOpenSSLConstant < Base
  • changed: class DuplicateCaseCondition < Cop → class DuplicateCaseCondition < Base
  • changed: class DuplicateHashKey < Cop → class DuplicateHashKey < Base
  • changed: class DuplicateMethods < Cop → class DuplicateMethods < Base
  • changed: class EachWithObjectArgument < Cop → class EachWithObjectArgument < Base
  • changed: class ElseLayout < Cop → class ElseLayout < Base
  • changed: class EmptyEnsure < Cop → class EmptyEnsure < Base
  • changed: class EmptyExpression < Cop → class EmptyExpression < Base
  • changed: class EmptyInterpolation < Cop → class EmptyInterpolation < Base
  • changed: class EmptyWhen < Cop → class EmptyWhen < Base
  • changed: class EnsureReturn < Cop → class EnsureReturn < Base
  • changed: class ErbNewArguments < Cop → class ErbNewArguments < Base
  • changed: class FlipFlop < Cop → class FlipFlop < Base
  • changed: class FloatOutOfRange < Cop → class FloatOutOfRange < Base
  • changed: class FormatParameterMismatch < Cop → class FormatParameterMismatch < Base
  • changed: class HeredocMethodCallPosition < Cop → class HeredocMethodCallPosition < Base
  • changed: class ImplicitStringConcatenation < Cop → class ImplicitStringConcatenation < Base
  • changed: class IneffectiveAccessModifier < Cop → class IneffectiveAccessModifier < Base
  • changed: class InheritException < Cop → class InheritException < Base
  • changed: class InterpolationCheck < Cop → class InterpolationCheck < Base
  • changed: class LiteralAsCondition < Cop → class LiteralAsCondition < Base
  • changed: class LiteralInInterpolation < Cop → class LiteralInInterpolation < Base
  • changed: class Loop < Cop → class Loop < Base
  • changed: class MissingCopEnableDirective < Cop → class MissingCopEnableDirective < Base
  • changed: class MixedRegexpCaptureTypes < Cop → class MixedRegexpCaptureTypes < Base
  • changed: class MultipleComparison < Cop → class MultipleComparison < Base
  • changed: class NestedMethodDefinition < Cop → class NestedMethodDefinition < Base
  • changed: class NestedPercentLiteral < Cop → class NestedPercentLiteral < Base
  • changed: class NextWithoutAccumulator < Cop → class NextWithoutAccumulator < Base
  • changed: class NonDeterministicRequireOrder < Cop → class NonDeterministicRequireOrder < Base
  • changed: class NonLocalExitFromIterator < Cop → class NonLocalExitFromIterator < Base
  • changed: class NumberConversion < Cop → class NumberConversion < Base
  • changed: class OrderedMagicComments < Cop → class OrderedMagicComments < Base
  • changed: class ParenthesesAsGroupedExpression < Cop → class ParenthesesAsGroupedExpression < Base
  • changed: class PercentStringArray < Cop → class PercentStringArray < Base
  • changed: class PercentSymbolArray < Cop → class PercentSymbolArray < Base
  • changed: class RaiseException < Cop → class RaiseException < Base
  • changed: class RandOne < Cop → class RandOne < Base
  • changed: class RedundantCopEnableDirective < Cop → class RedundantCopEnableDirective < Base
  • changed: class RedundantRequireStatement < Cop → class RedundantRequireStatement < Base
  • changed: class RedundantSplatExpansion < Cop → class RedundantSplatExpansion < Base
  • changed: class RedundantStringCoercion < Cop → class RedundantStringCoercion < Base
  • changed: class RedundantWithIndex < Cop → class RedundantWithIndex < Base
  • changed: class RedundantWithObject < Cop → class RedundantWithObject < Base
  • changed: class RegexpAsCondition < Cop → class RegexpAsCondition < Base
  • changed: class RequireParentheses < Cop → class RequireParentheses < Base
  • changed: class RescueException < Cop → class RescueException < Base
  • changed: class RescueType < Cop → class RescueType < Base
  • changed: class ReturnInVoidContext < Cop → class ReturnInVoidContext < Base
  • changed: class SafeNavigationChain < Cop → class SafeNavigationChain < Base
  • changed: class SafeNavigationConsistency < Cop → class SafeNavigationConsistency < Base
  • changed: class SafeNavigationWithEmpty < Cop → class SafeNavigationWithEmpty < Base
  • changed: class ScriptPermission < Cop → class ScriptPermission < Base
  • changed: class SendWithMixinArgument < Cop → class SendWithMixinArgument < Base
  • changed: class ShadowedArgument < Cop → class ShadowedArgument < Base
  • changed: class ShadowedException < Cop → class ShadowedException < Base
  • changed: class ShadowingOuterLocalVariable < Cop → class ShadowingOuterLocalVariable < Base
  • changed: class StructNewOverride < Cop → class StructNewOverride < Base
  • changed: class SuppressedException < Cop → class SuppressedException < Base
  • changed: class ToJSON < Cop → class ToJSON < Base
  • changed: class UnderscorePrefixedVariableName < Cop → class UnderscorePrefixedVariableName < Base
  • changed: class UnifiedInteger < Cop → class UnifiedInteger < Base
  • changed: class UnreachableCode < Cop → class UnreachableCode < Base
  • changed: class UnusedBlockArgument < Cop → class UnusedBlockArgument < Base
  • changed: class UnusedMethodArgument < Cop → class UnusedMethodArgument < Base
  • changed: class UriEscapeUnescape < Cop → class UriEscapeUnescape < Base
  • changed: class UriRegexp < Cop → class UriRegexp < Base
  • changed: class UselessAccessModifier < Cop → class UselessAccessModifier < Base
  • changed: class UselessAssignment < Cop → class UselessAssignment < Base
  • changed: class UselessElseWithoutRescue < Cop → class UselessElseWithoutRescue < Base
  • changed: class UselessSetterCall < Cop → class UselessSetterCall < Base
  • changed: class Void < Cop → class Void < Base
  • changed: method RescueType.autocorrect(_) → method RescueType.autocorrect(_, _)
  • added: class BinaryOperatorWithIdenticalOperands < Base
  • added: class DuplicateRescueException < Base
  • added: class EmptyConditionalBody < Base
  • added: class FloatComparison < Base
  • added: class MissingSuper < Base
  • added: class OutOfRangeRegexpRef < Base
  • added: class SelfAssignment < Base
  • added: class TopLevelReturnWithArgument < Cop
  • added: class UnreachableLoop < Base
  • added: const BinaryOperatorWithIdenticalOperands.MATH_OPERATORS
  • added: const BinaryOperatorWithIdenticalOperands.MSG
  • added: const Debugger.DEBUGGER_METHODS
  • added: const DeprecatedClassMethods.DEPRECATED_METHODS
  • added: const DuplicateMethods.METHOD_DEF_METHODS
  • added: const DuplicateRescueException.MSG
  • added: const EmptyConditionalBody.MSG
  • added: const FloatComparison.EQUALITY_METHODS
  • added: const FloatComparison.FLOAT_INSTANCE_METHODS
  • added: const FloatComparison.FLOAT_RETURNING_METHODS
  • added: const FloatComparison.MSG
  • added: const FormatParameterMismatch.FORMAT_METHODS
  • added: const MissingSuper.CALLBACKS
  • added: const MissingSuper.CALLBACK_MSG
  • added: const MissingSuper.CLASS_LIFECYCLE_CALLBACKS
  • added: const MissingSuper.CONSTRUCTOR_MSG
  • added: const MissingSuper.METHOD_LIFECYCLE_CALLBACKS
  • added: const MissingSuper.OBJECT_LIFECYCLE_CALLBACKS
  • added: const MissingSuper.STATELESS_CLASSES
  • added: const OutOfRangeRegexpRef.MSG
  • added: const OutOfRangeRegexpRef.REGEXP_ARGUMENT_METHODS
  • added: const OutOfRangeRegexpRef.REGEXP_CAPTURE_METHODS
  • added: const OutOfRangeRegexpRef.REGEXP_RECEIVER_METHODS
  • added: const SelfAssignment.ASSIGNMENT_TYPE_TO_RHS_TYPE
  • added: const SelfAssignment.MSG
  • added: const TopLevelReturnWithArgument.MSG
  • added: const UnreachableLoop.MSG
  • added: const UriRegexp.URI_CONSTANTS
  • added: method AmbiguousOperator.on_new_investigation()
  • added: method AmbiguousRegexpLiteral.on_new_investigation()
  • added: method BinaryOperatorWithIdenticalOperands.on_and(_)
  • added: method BinaryOperatorWithIdenticalOperands.on_or(_)
  • added: method BinaryOperatorWithIdenticalOperands.on_send(_)
  • added: method DuplicateRescueException.on_rescue(_)
  • added: method EmptyConditionalBody.on_if(_)
  • added: method FloatComparison.on_send(_)
  • added: method MissingCopEnableDirective.on_new_investigation()
  • added: method MissingSuper.on_def(_)
  • added: method MissingSuper.on_defs(_)
  • added: method OrderedMagicComments.on_new_investigation()
  • added: method OutOfRangeRegexpRef.on_match_with_lvasgn(_)
  • added: method OutOfRangeRegexpRef.on_new_investigation()
  • added: method OutOfRangeRegexpRef.on_nth_ref(_)
  • added: method OutOfRangeRegexpRef.on_send(_)
  • added: method OutOfRangeRegexpRef.on_when(_)
  • added: method RedundantCopEnableDirective.on_new_investigation()
  • added: method ScriptPermission.on_new_investigation()
  • added: method SelfAssignment.on_and_asgn(_)
  • added: method SelfAssignment.on_casgn(_)
  • added: method SelfAssignment.on_cvasgn(_)
  • added: method SelfAssignment.on_gvasgn(_)
  • added: method SelfAssignment.on_ivasgn(_)
  • added: method SelfAssignment.on_lvasgn(_)
  • added: method SelfAssignment.on_masgn(_)
  • added: method SelfAssignment.on_or_asgn(_)
  • added: method TopLevelReturnWithArgument.on_return(_)
  • added: method UnreachableLoop.on_block(_)
  • added: method UnreachableLoop.on_for(_)
  • added: method UnreachableLoop.on_until(_)
  • added: method UnreachableLoop.on_until_post(_)
  • added: method UnreachableLoop.on_while(_)
  • added: method UnreachableLoop.on_while_post(_)
  • added: method UselessElseWithoutRescue.on_new_investigation()
  • added: static method ShadowedArgument.joining_forces()
  • added: static method ShadowingOuterLocalVariable.joining_forces()
  • added: static method UnderscorePrefixedVariableName.joining_forces()
  • added: static method UnusedBlockArgument.joining_forces()
  • added: static method UnusedMethodArgument.joining_forces()
  • added: static method UselessAssignment.joining_forces()
  • removed: method BlockNesting.investigate(_)
  • changed: class AbcSize < Cop → class AbcSize < Base
  • changed: class BlockLength < Cop → class BlockLength < Base
  • changed: class BlockNesting < Cop → class BlockNesting < Base
  • changed: class ClassLength < Cop → class ClassLength < Base
  • changed: class CyclomaticComplexity < Cop → class CyclomaticComplexity < Base
  • changed: class MethodLength < Cop → class MethodLength < Base
  • changed: class ModuleLength < Cop → class ModuleLength < Base
  • changed: class ParameterLists < Cop → class ParameterLists < Base
  • changed: class PerceivedComplexity < Cop → class PerceivedComplexity < CyclomaticComplexity
  • added: method BlockNesting.on_new_investigation()
  • removed: const CodeLengthCalculator.CLASSISH_TYPES
  • changed: constructor CodeLengthCalculator(_, count_comments: …, foldable_types: …) → constructor CodeLengthCalculator(_, _, count_comments: …, foldable_types: …)
  • added: const AbcSizeCalculator.ARGUMENT_TYPES
  • added: const CodeLengthCalculator.CLASSLIKE_TYPES
  • added: method RepeatedCsendDiscount.discount_for_repeated_csend?(_)
  • added: method RepeatedCsendDiscount.reset_on_lvasgn(_)
  • added: method RepeatedCsendDiscount.reset_repeated_csend()
  • added: module RepeatedCsendDiscount
  • removed: method DepartmentName.autocorrect(_)
  • removed: method DepartmentName.investigate(_)
  • changed: class DepartmentName < Cop → class DepartmentName < Base
  • added: method DepartmentName.on_new_investigation()
  • removed: method AsciiIdentifiers.investigate(_)
  • removed: method FileName.investigate(_)
  • removed: method RescuedExceptionsVariableName.autocorrect(_)
  • changed: class AccessorMethodName < Cop → class AccessorMethodName < Base
  • changed: class AsciiIdentifiers < Cop → class AsciiIdentifiers < Base
  • changed: class BinaryOperatorParameterName < Cop → class BinaryOperatorParameterName < Base
  • changed: class BlockParameterName < Cop → class BlockParameterName < Base
  • changed: class ClassAndModuleCamelCase < Cop → class ClassAndModuleCamelCase < Base
  • changed: class ConstantName < Cop → class ConstantName < Base
  • changed: class FileName < Cop → class FileName < Base
  • changed: class HeredocDelimiterCase < Cop → class HeredocDelimiterCase < Base
  • changed: class HeredocDelimiterNaming < Cop → class HeredocDelimiterNaming < Base
  • changed: class MemoizedInstanceVariableName < Cop → class MemoizedInstanceVariableName < Base
  • changed: class MethodParameterName < Cop → class MethodParameterName < Base
  • changed: class PredicateName < Cop → class PredicateName < Base
  • changed: class RescuedExceptionsVariableName < Cop → class RescuedExceptionsVariableName < Base
  • added: method AsciiIdentifiers.on_new_investigation()
  • added: method FileName.on_new_investigation()
  • removed: method JSONLoad.autocorrect(_)
  • removed: method YAMLLoad.autocorrect(_)
  • changed: class Eval < Cop → class Eval < Base
  • changed: class JSONLoad < Cop → class JSONLoad < Base
  • changed: class MarshalLoad < Cop → class MarshalLoad < Base
  • changed: class Open < Cop → class Open < Base
  • changed: class YAMLLoad < Cop → class YAMLLoad < Base
  • removed: class MethodMissingSuper < Cop
  • removed: const MethodMissingSuper.MSG
  • removed: const MultilineMemoization.MSG
  • removed: method AccessorGrouping.autocorrect(_)
  • removed: method Alias.autocorrect(_)
  • removed: method AndOr.autocorrect(_)
  • removed: method ArrayJoin.autocorrect(_)
  • removed: method AsciiComments.investigate(_)
  • removed: method Attr.autocorrect(_)
  • removed: method BarePercentLiterals.autocorrect(_)
  • removed: method BisectedAttrAccessor.autocorrect(_)
  • removed: method BlockComments.autocorrect(_)
  • removed: method BlockComments.investigate(_)
  • removed: method BlockDelimiters.autocorrect(_)
  • removed: method CaseLikeIf.autocorrect(_)
  • removed: method ClassAndModuleChildren.autocorrect(_)
  • removed: method ClassCheck.autocorrect(_)
  • removed: method ClassMethods.autocorrect(_)
  • removed: method ClassVars.message(_)
  • removed: method CollectionMethods.autocorrect(_)
  • removed: method ColonMethodCall.autocorrect(_)
  • removed: method ColonMethodDefinition.autocorrect(_)
  • removed: method CommandLiteral.autocorrect(_)
  • removed: method CommentAnnotation.autocorrect(_)
  • removed: method CommentAnnotation.investigate(_)
  • removed: method Copyright.autocorrect(_)
  • removed: method Copyright.investigate(_)
  • removed: method DefWithParentheses.autocorrect(_)
  • removed: method Dir.autocorrect(_)
  • removed: method DisableCopsWithinSourceCodeDirective.autocorrect(_)
  • removed: method DisableCopsWithinSourceCodeDirective.investigate(_)
  • removed: method DoubleCopDisableDirective.autocorrect(_)
  • removed: method DoubleCopDisableDirective.investigate(_)
  • removed: method EachForSimpleLoop.autocorrect(_)
  • removed: method EachWithObject.autocorrect(_)
  • removed: method EmptyCaseCondition.autocorrect(_)
  • removed: method EmptyElse.autocorrect(_)
  • removed: method EmptyLiteral.autocorrect(_)
  • removed: method EmptyMethod.autocorrect(_)
  • removed: method Encoding.autocorrect(_)
  • removed: method Encoding.investigate(_)
  • removed: method EndBlock.autocorrect(_)
  • removed: method EvenOdd.autocorrect(_)
  • removed: method ExpandPathArguments.autocorrect(_)
  • removed: method For.autocorrect(_)
  • removed: method FormatString.autocorrect(_)
  • removed: method FormatString.message(_)
  • removed: method FormatString.method_name(_)
  • removed: method FrozenStringLiteralComment.autocorrect(_)
  • removed: method FrozenStringLiteralComment.investigate(_)
  • removed: method HashEachMethods.autocorrect(_)
  • removed: method IfUnlessModifier.autocorrect(_)
  • removed: method IfUnlessModifierOfIfUnless.autocorrect(_)
  • removed: method IfWithSemicolon.autocorrect(_)
  • removed: method InfiniteLoop.autocorrect(_)
  • removed: method InfiniteLoop.join_force?(_)
  • removed: method InlineComment.investigate(_)
  • removed: method InverseMethods.autocorrect(_)
  • removed: method InverseMethods.correct_inverse_block(_)
  • removed: method InverseMethods.correct_inverse_method(_)
  • removed: method InverseMethods.correct_inverse_selector(_, _)
  • removed: method Lambda.autocorrect(_)
  • removed: method LineEndConcatenation.autocorrect(_)
  • removed: method LineEndConcatenation.investigate(_)
  • removed: method MethodCallWithoutArgsParentheses.autocorrect(_)
  • removed: method MethodDefParentheses.autocorrect(_)
  • removed: method MethodMissingSuper.on_def(_)
  • removed: method MethodMissingSuper.on_defs(_)
  • removed: method MinMax.autocorrect(_)
  • removed: method MixinGrouping.autocorrect(_)
  • removed: method ModuleFunction.autocorrect(_)
  • removed: method MultilineIfModifier.autocorrect(_)
  • removed: method MultilineIfThen.autocorrect(_)
  • removed: method MultilineMemoization.autocorrect(_)
  • removed: method MultilineTernaryOperator.autocorrect(_)
  • removed: method MultilineWhenThen.accept_node_type?(_)
  • removed: method MultilineWhenThen.autocorrect(_)
  • removed: method MultilineWhenThen.require_then?(_)
  • removed: method MutableConstant.autocorrect(_)
  • changed: class AccessModifierDeclarations < Cop → class AccessModifierDeclarations < Base
  • changed: class AccessorGrouping < Cop → class AccessorGrouping < Base
  • changed: class Alias < Cop → class Alias < Base
  • changed: class AndOr < Cop → class AndOr < Base
  • changed: class ArrayJoin < Cop → class ArrayJoin < Base
  • changed: class AsciiComments < Cop → class AsciiComments < Base
  • changed: class Attr < Cop → class Attr < Base
  • changed: class AutoResourceCleanup < Cop → class AutoResourceCleanup < Base
  • changed: class BarePercentLiterals < Cop → class BarePercentLiterals < Base
  • changed: class BeginBlock < Cop → class BeginBlock < Base
  • changed: class BisectedAttrAccessor < Cop → class BisectedAttrAccessor < Base
  • changed: class BlockComments < Cop → class BlockComments < Base
  • changed: class BlockDelimiters < Cop → class BlockDelimiters < Base
  • changed: class CaseEquality < Cop → class CaseEquality < Base
  • changed: class CaseLikeIf < Cop → class CaseLikeIf < Base
  • changed: class ClassAndModuleChildren < Cop → class ClassAndModuleChildren < Base
  • changed: class ClassCheck < Cop → class ClassCheck < Base
  • changed: class ClassMethods < Cop → class ClassMethods < Base
  • changed: class ClassVars < Cop → class ClassVars < Base
  • changed: class CollectionMethods < Cop → class CollectionMethods < Base
  • changed: class ColonMethodCall < Cop → class ColonMethodCall < Base
  • changed: class ColonMethodDefinition < Cop → class ColonMethodDefinition < Base
  • changed: class CommandLiteral < Cop → class CommandLiteral < Base
  • changed: class CommentAnnotation < Cop → class CommentAnnotation < Base
  • changed: class ConstantVisibility < Cop → class ConstantVisibility < Base
  • changed: class Copyright < Cop → class Copyright < Base
  • changed: class DateTime < Cop → class DateTime < Base
  • changed: class DefWithParentheses < Cop → class DefWithParentheses < Base
  • changed: class Dir < Cop → class Dir < Base
  • changed: class DisableCopsWithinSourceCodeDirective < Cop → class DisableCopsWithinSourceCodeDirective < Base
  • changed: class Documentation < Cop → class Documentation < Base
  • changed: class DocumentationMethod < Cop → class DocumentationMethod < Base
  • changed: class DoubleCopDisableDirective < Cop → class DoubleCopDisableDirective < Base
  • changed: class DoubleNegation < Cop → class DoubleNegation < Base
  • changed: class EachForSimpleLoop < Cop → class EachForSimpleLoop < Base
  • changed: class EachWithObject < Cop → class EachWithObject < Base
  • changed: class EmptyCaseCondition < Cop → class EmptyCaseCondition < Base
  • changed: class EmptyElse < Cop → class EmptyElse < Base
  • changed: class EmptyLiteral < Cop → class EmptyLiteral < Base
  • changed: class EmptyMethod < Cop → class EmptyMethod < Base
  • changed: class Encoding < Cop → class Encoding < Base
  • changed: class EndBlock < Cop → class EndBlock < Base
  • changed: class EvalWithLocation < Cop → class EvalWithLocation < Base
  • changed: class EvenOdd < Cop → class EvenOdd < Base
  • changed: class ExpandPathArguments < Cop → class ExpandPathArguments < Base
  • changed: class ExponentialNotation < Cop → class ExponentialNotation < Base
  • changed: class FloatDivision < Cop → class FloatDivision < Base
  • changed: class For < Cop → class For < Base
  • changed: class FormatString < Cop → class FormatString < Base
  • changed: class FormatStringToken < Cop → class FormatStringToken < Base
  • changed: class FrozenStringLiteralComment < Cop → class FrozenStringLiteralComment < Base
  • changed: class GlobalVars < Cop → class GlobalVars < Base
  • changed: class GuardClause < Cop → class GuardClause < Base
  • changed: class HashEachMethods < Cop → class HashEachMethods < Base
  • changed: class HashTransformKeys < Cop → class HashTransformKeys < Base
  • changed: class HashTransformValues < Cop → class HashTransformValues < Base
  • changed: class IdenticalConditionalBranches < Cop → class IdenticalConditionalBranches < Base
  • changed: class IfInsideElse < Cop → class IfInsideElse < Base
  • changed: class IfUnlessModifier < Cop → class IfUnlessModifier < Base
  • changed: class IfUnlessModifierOfIfUnless < Cop → class IfUnlessModifierOfIfUnless < Base
  • changed: class IfWithSemicolon < Cop → class IfWithSemicolon < Base
  • changed: class ImplicitRuntimeError < Cop → class ImplicitRuntimeError < Base
  • changed: class InfiniteLoop < Cop → class InfiniteLoop < Base
  • changed: class InlineComment < Cop → class InlineComment < Base
  • changed: class InverseMethods < Cop → class InverseMethods < Base
  • changed: class Lambda < Cop → class Lambda < Base
  • changed: class LambdaCall < Cop → class LambdaCall < Base
  • changed: class LineEndConcatenation < Cop → class LineEndConcatenation < Base
  • changed: class MethodCallWithArgsParentheses < Cop → class MethodCallWithArgsParentheses < Base
  • changed: class MethodCallWithoutArgsParentheses < Cop → class MethodCallWithoutArgsParentheses < Base
  • changed: class MethodCalledOnDoEndBlock < Cop → class MethodCalledOnDoEndBlock < Base
  • changed: class MethodDefParentheses < Cop → class MethodDefParentheses < Base
  • changed: class MinMax < Cop → class MinMax < Base
  • changed: class MissingElse < Cop → class MissingElse < Base
  • changed: class MissingRespondToMissing < Cop → class MissingRespondToMissing < Base
  • changed: class MixinGrouping < Cop → class MixinGrouping < Base
  • changed: class MixinUsage < Cop → class MixinUsage < Base
  • changed: class ModuleFunction < Cop → class ModuleFunction < Base
  • changed: class MultilineIfModifier < Cop → class MultilineIfModifier < Base
  • changed: class MultilineIfThen < Cop → class MultilineIfThen < Base
  • changed: class MultilineMemoization < Cop → class MultilineMemoization < Base
  • changed: class MultilineMethodSignature < Cop → class MultilineMethodSignature < Base
  • changed: class MultilineTernaryOperator < Cop → class MultilineTernaryOperator < Base
  • changed: class MultilineWhenThen < Cop → class MultilineWhenThen < Base
  • changed: class MultipleComparison < Cop → class MultipleComparison < Base
  • changed: class MutableConstant < Cop → class MutableConstant < Base
  • changed: method LambdaCall.autocorrect(_) → method LambdaCall.autocorrect(_, _)
  • added: class ExplicitBlockArgument < Base
  • added: class GlobalStdStream < Base
  • added: class OptionalBooleanParameter < Base
  • added: class SingleArgumentDig < Base
  • added: class StringConcatenation < Base
  • added: const AccessModifierDeclarations.ACCESS_MODIFIERS
  • added: const EvalWithLocation.EVAL_METHODS
  • added: const ExplicitBlockArgument.MSG
  • added: const FormatString.FORMAT_METHODS
  • added: const GlobalStdStream.MSG
  • added: const GlobalStdStream.STD_STREAMS
  • added: const MultilineMemoization.BRACES_MSG
  • added: const MultilineMemoization.KEYWORD_MSG
  • added: const NumericPredicate.COMPARISON_METHODS
  • added: const OptionalBooleanParameter.BOOLEAN_TYPES
  • added: const OptionalBooleanParameter.MSG
  • added: const RedundantException.RAISE_METHODS
  • added: const RedundantSort.SORT_METHODS
  • added: const SingleArgumentDig.MSG
  • added: const StringConcatenation.MSG
  • added: const ZeroLengthPredicate.LENGTH_METHODS
  • added: constructor ExplicitBlockArgument(_ = …, _ = …)
  • added: method AsciiComments.on_new_investigation()
  • added: method BlockComments.on_new_investigation()
  • added: method CommentAnnotation.on_new_investigation()
  • added: method Copyright.on_new_investigation()
  • added: method DisableCopsWithinSourceCodeDirective.on_new_investigation()
  • added: method DoubleCopDisableDirective.on_new_investigation()
  • added: method Encoding.on_new_investigation()
  • added: method ExplicitBlockArgument.on_yield(_)
  • added: method FrozenStringLiteralComment.on_new_investigation()
  • added: method GlobalStdStream.on_const(_)
  • added: method InlineComment.on_new_investigation()
  • added: method LineEndConcatenation.on_new_investigation()
  • added: method MultilineMemoization.message(_)
  • added: method OptionalBooleanParameter.on_def(_)
  • added: method OptionalBooleanParameter.on_defs(_)
  • added: method SingleArgumentDig.on_send(_)
  • added: method StringConcatenation.on_send(_)
  • added: static method InfiniteLoop.joining_forces()
  • removed: method OmitParentheses.autocorrect(_)
  • removed: method OmitParentheses.message(_ = …)
  • removed: method RequireParentheses.autocorrect(_)