Upgrading rubocop 0.52 to 0.53
Unknown0.52.1 → 0.53.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.
API changes
Generated by DepDelta from published Ruby source. Not mixed with prose notes.
- removed:
method OptionsValidator.no_offense_counts_without_auto_gen_config?() - removed:
static method PathUtil.find_file_upwards(_, _ = …) - removed:
static property ConfigLoader.root_level: writer - changed:
method ConfigLoaderResolver.merge(_, _) → method ConfigLoaderResolver.merge(_, _, **) - changed:
method OptionsValidator.validate_exclude_limit_option(_) → method OptionsValidator.validate_exclude_limit_option() - added:
class ConfigNotFoundError < Error - added:
const CLI.STATUS_ERROR - added:
const CLI.STATUS_OFFENSES - added:
const CLI.STATUS_SUCCESS - added:
method CommentConfig.extra_enabled_comments() - added:
method FileFinder.find_file_upwards(_, _, use_home: …) - added:
method FileFinder.find_files_upwards(_, _, use_home: …) - added:
method OptionsValidator.validate_auto_gen_config() - added:
method ProcessedSource.blank?() - added:
method ProcessedSource.comment_on_line?(_) - added:
method ProcessedSource.commented?(_) - added:
method ProcessedSource.comments_before_line(_) - added:
method ProcessedSource.each_comment() - added:
method ProcessedSource.each_token() - added:
method ProcessedSource.file_path() - added:
method ProcessedSource.find_comment() - added:
method ProcessedSource.find_token() - added:
method ProcessedSource.following_line(_) - added:
method ProcessedSource.preceding_line(_) - added:
method ProcessedSource.start_with?(_) - added:
method Token.end?() - added:
method Token.rescue_modifier?() - added:
module FileFinder - added:
static method FileFinder.root_level?(_) - added:
static set FileFinder.root_level(_)
- removed:
method AndNode.node_parts() - removed:
method BlockNode.node_parts() - removed:
method CaseNode.node_parts() - removed:
method EnsureNode.node_parts() - removed:
method ForNode.node_parts() - removed:
method OrNode.node_parts() - removed:
method PairNode.node_parts() - removed:
method ResbodyNode.node_parts() - removed:
method SendNode.node_parts() - removed:
method SymbolNode.node_parts() - removed:
method UntilNode.node_parts() - removed:
method WhenNode.node_parts() - removed:
method WhileNode.node_parts() - added:
method Node.node_parts() - added:
method Node.parenthesized_call?()
- removed:
const Util.BYTE_ORDER_MARK - removed:
static method Util.effective_column(_) - removed:
static method Util.ends_its_line?(_) - removed:
static method Util.parenthesized_call?(_) - removed:
static method Util.precede?(_, _) - removed:
static method Util.range_between(_, _) - removed:
static method Util.range_by_whole_lines(_, include_final_newline: …) - removed:
static method Util.range_with_surrounding_comma(_, _ = …) - removed:
static method Util.range_with_surrounding_space(range:, side: …, newlines: …, whitespace: …) - removed:
static method Util.source_range(_, _, _, _ = …) - removed:
static method Util.strip_quotes(_) - removed:
static method Util.stripped_source_upto(_) - removed:
static method Util.symbol_without_quote?(_) - removed:
static method Util.to_symbol_literal(_) - removed:
static method Util.within_node?(_, _) - added:
class LineBreakCorrector - added:
const EndKeywordAlignment.BYTE_ORDER_MARK - added:
const UncommunicativeName.CASE_MSG - added:
const UncommunicativeName.FORBIDDEN_MSG - added:
const UncommunicativeName.LENGTH_MSG - added:
const UncommunicativeName.NUM_MSG - added:
method TrailingBody.body_on_first_line?(_, _) - added:
method TrailingBody.first_part_of(_) - added:
method TrailingBody.trailing_body?(_) - added:
method UncommunicativeName.check(_, _) - added:
module NilMethods - added:
module RangeHelp - added:
module TrailingBody - added:
module UncommunicativeName - added:
static method LineBreakCorrector.break_line_before(range:, node:, corrector:, indent_steps: …, configured_width:) - added:
static method LineBreakCorrector.correct_trailing_body(configured_width:, corrector:, node:, processed_source:) - added:
static method LineBreakCorrector.move_comment(eol_comment:, node:, corrector:) - added:
static method SpaceCorrector.empty_corrections(_, _, _, _, _) - added:
static method Util.tokens(_) - added:
static property LineBreakCorrector.processed_source: reader
- added:
class BlockAlignment < Cop - added:
class ConditionPosition < Cop - added:
class DefEndAlignment < Cop - added:
class EmptyComment < Cop - added:
class EndAlignment < Cop - added:
const BlockAlignment.MSG - added:
const ConditionPosition.MSG - added:
const DefEndAlignment.MSG - added:
const EmptyComment.MSG - added:
const SpaceInsideReferenceBrackets.BRACKET_METHODS - added:
const SpaceInsideReferenceBrackets.EMPTY_MSG - added:
method BlockAlignment.autocorrect(_) - added:
method BlockAlignment.on_block(_) - added:
method BlockAlignment.style_parameter_name() - added:
method ConditionPosition.on_if(_) - added:
method ConditionPosition.on_until(_) - added:
method ConditionPosition.on_while(_) - added:
method DefEndAlignment.autocorrect(_) - added:
method DefEndAlignment.on_def(_) - added:
method DefEndAlignment.on_defs(_) - added:
method DefEndAlignment.on_send(_) - added:
method EmptyComment.autocorrect(_) - added:
method EmptyComment.investigate(_) - added:
method EndAlignment.autocorrect(_) - added:
method EndAlignment.on_case(_) - added:
method EndAlignment.on_class(_) - added:
method EndAlignment.on_if(_) - added:
method EndAlignment.on_module(_) - added:
method EndAlignment.on_until(_) - added:
method EndAlignment.on_while(_)
- removed:
class BlockAlignment < Cop - removed:
class ConditionPosition < Cop - removed:
class DefEndAlignment < Cop - removed:
class EndAlignment < Cop - removed:
class UnneededDisable < Cop - removed:
const BlockAlignment.MSG - removed:
const ConditionPosition.MSG - removed:
const DefEndAlignment.MSG - removed:
const UnneededDisable.COP_NAME - removed:
method BlockAlignment.autocorrect(_) - removed:
method BlockAlignment.on_block(_) - removed:
method BlockAlignment.style_parameter_name() - removed:
method ConditionPosition.on_if(_) - removed:
method ConditionPosition.on_until(_) - removed:
method ConditionPosition.on_while(_) - removed:
method DefEndAlignment.autocorrect(_) - removed:
method DefEndAlignment.on_def(_) - removed:
method DefEndAlignment.on_defs(_) - removed:
method DefEndAlignment.on_send(_) - removed:
method EndAlignment.autocorrect(_) - removed:
method EndAlignment.on_case(_) - removed:
method EndAlignment.on_class(_) - removed:
method EndAlignment.on_if(_) - removed:
method EndAlignment.on_module(_) - removed:
method EndAlignment.on_until(_) - removed:
method EndAlignment.on_while(_) - removed:
method SafeNavigationChain.autocorrect(_) - removed:
method UnneededDisable.autocorrect(_) - removed:
method UnneededDisable.check(_, _, _) - added:
class BigDecimalNew < Cop - added:
class NumberConversion < Cop - added:
class OrderedMagicComments < Cop - added:
class UnneededCopDisableDirective < Cop - added:
class UnneededCopEnableDirective < Cop - added:
const BigDecimalNew.MSG - added:
const NumberConversion.CONVERSION_METHOD_CLASS_MAPPING - added:
const NumberConversion.MSG - added:
const OrderedMagicComments.MSG - added:
const UnneededCopDisableDirective.COP_NAME - added:
const UnneededCopEnableDirective.MSG - added:
const Void.NONMUTATING_METHODS - added:
const Void.NONMUTATING_MSG - added:
method BigDecimalNew.autocorrect(_) - added:
method BigDecimalNew.on_send(_) - added:
method NumberConversion.on_send(_) - added:
method OrderedMagicComments.autocorrect(_) - added:
method OrderedMagicComments.investigate(_) - added:
method UnneededCopDisableDirective.autocorrect(_) - added:
method UnneededCopDisableDirective.check(_, _, _) - added:
method UnneededCopEnableDirective.autocorrect(_) - added:
method UnneededCopEnableDirective.investigate(_)
- added:
class MemoizedInstanceVariableName < Cop - added:
class UncommunicativeBlockParamName < Cop - added:
class UncommunicativeMethodParamName < Cop - added:
const MemoizedInstanceVariableName.MSG - added:
method MemoizedInstanceVariableName.on_def(_) - added:
method MemoizedInstanceVariableName.on_defs(_) - added:
method UncommunicativeBlockParamName.on_block(_) - added:
method UncommunicativeMethodParamName.on_def(_) - added:
method UncommunicativeMethodParamName.on_defs(_)
- removed:
class HashEachMethods < Cop - removed:
const HashEachMethods.MSG - removed:
method HashEachMethods.autocorrect(_) - removed:
method HashEachMethods.on_block(_)
- removed:
method HttpPositionalArguments.convert_hash_data(_, _) - removed:
method HttpPositionalArguments.format_arg?(_) - removed:
method HttpPositionalArguments.needs_conversion?(_) - removed:
method HttpPositionalArguments.special_keyword_arg?(_) - added:
class ActiveRecordAliases < Cop - added:
const ActiveRecordAliases.ALIASES - added:
const ActiveRecordAliases.MSG - added:
method ActiveRecordAliases.autocorrect(_) - added:
method ActiveRecordAliases.on_send(_)
- added:
class Open < Cop - added:
const Open.MSG - added:
method Open.on_send(_) - added:
method Open.safe?(_)
- removed:
class TrailingCommaInLiteral < Cop - removed:
const SafeNavigation.NIL_METHODS - removed:
const WordArray.QUESTION_MARK_SIZE - removed:
method TrailingCommaInLiteral.autocorrect(_) - removed:
method TrailingCommaInLiteral.on_array(_) - removed:
method TrailingCommaInLiteral.on_hash(_) - added:
class EmptyLineAfterGuardClause < Cop - added:
class ExpandPathArguments < Cop - added:
class TrailingBodyOnClass < Cop - added:
class TrailingBodyOnModule < Cop - added:
class TrailingCommaInArrayLiteral < Cop - added:
class TrailingCommaInHashLiteral < Cop - added:
const EmptyLineAfterGuardClause.MSG - added:
const ExpandPathArguments.MSG - added:
const ExpandPathArguments.PATHNAME_MSG - added:
const ExpandPathArguments.PATHNAME_NEW_MSG - added:
const TrailingBodyOnClass.MSG - added:
const TrailingBodyOnModule.MSG - added:
method EmptyLineAfterGuardClause.autocorrect(_) - added:
method EmptyLineAfterGuardClause.on_if(_) - added:
method ExpandPathArguments.autocorrect(_) - added:
method ExpandPathArguments.on_send(_) - added:
method ModuleFunction.autocorrect(_) - added:
method TrailingBodyOnClass.autocorrect(_) - added:
method TrailingBodyOnClass.on_class(_) - added:
method TrailingBodyOnModule.autocorrect(_) - added:
method TrailingBodyOnModule.on_module(_) - added:
method TrailingCommaInArrayLiteral.autocorrect(_) - added:
method TrailingCommaInArrayLiteral.on_array(_) - added:
method TrailingCommaInHashLiteral.autocorrect(_) - added:
method TrailingCommaInHashLiteral.on_hash(_)