Upgrading rubocop 0.34 to 0.35
Unknown0.34.2 → 0.35.1New24Changed7Fixed33
UnknownUpgrade verdict
DepDelta hasn't looked for the notes of 1 of 2 releases yet, so breaking changes can't be ruled out.
In plain terms
- DepDelta hasn't finished looking for the notes in this range, so it can't rule out breaking changes yet.
- Their commits are listed with this comparison.
Must act Unknown for releases without notes
Releases without notes may still need changes. Check their commits before upgrading.
API changes
Generated by DepDelta from published Ruby source. Not mixed with prose notes.
- added:
module Astrolabe
- added:
class Node - added:
method Node.asgn_method_call?() - added:
method Node.multiline?() - added:
method Node.single_line?() - added:
static method Node.def_matcher(_, _)
- removed:
static method Options.validate_cop_list(_) - added:
class NodePattern - added:
class OptionsValidator - added:
class RemoteConfig - added:
class Warning < StandardError - added:
const RemoteConfig.CACHE_LIFETIME - added:
constructor NodePattern(_) - added:
constructor OptionsValidator(_) - added:
constructor RemoteConfig(_) - added:
method OptionsValidator.validate_compatibility() - added:
method OptionsValidator.validate_exclude_limit_option(_) - added:
method RemoteConfig.file() - added:
property Runner.warnings: reader - added:
static method OptionsValidator.validate_cop_list(_) - added:
static property ConfigLoader.default_configuration: writer
- removed:
method ConfigurableEnforcedStyle.both_styles_detected() - removed:
method SafeAssignment.safe_assignment?(_) - added:
const Util.BASIC_LITERALS - added:
const Util.LITERALS - added:
method ConfigurableEnforcedStyle.ambiguous_style_detected(*) - added:
method ConfigurableEnforcedStyle.conflicting_styles_detected() - added:
method ConfigurableEnforcedStyle.detected_style() - added:
method ConfigurableEnforcedStyle.no_acceptable_style!() - added:
method ConfigurableEnforcedStyle.no_acceptable_style?() - added:
method ConfigurableEnforcedStyle.style_detected(_) - added:
method ConfigurableEnforcedStyle.unexpected_style_detected(_) - added:
method Cop.details() - added:
method Cop.extra_details?() - added:
method FirstElementLineBreak.autocorrect(_) - added:
module FirstElementLineBreak - added:
property Team.warnings: reader - added:
set ConfigurableEnforcedStyle.detected_style(_)
- added:
class INLINE_BEGIN < InlineBeginNodes.new - added:
class InlineBeginNodes < Parser::AST::Processor - added:
method InlineBeginNodes.on_begin(_)
- removed:
const Debugger.BYEBUG_NODE - removed:
const Debugger.CAPYBARA_SAVE_OPEN_SCREENSHOT - removed:
const Debugger.CAPYBARA_SAVE_PAGE - removed:
const Debugger.CAPYBARA_SAVE_SCREENSHOT - removed:
const Debugger.DEBUGGER_NODE - removed:
const Debugger.DEBUGGER_NODES - removed:
const Debugger.PRY_NODE - removed:
const Debugger.PRY_REMOTE_NODE - removed:
const Debugger.REMOTE_PRY_NODE - removed:
const LiteralInCondition.BASIC_LITERALS - removed:
const LiteralInCondition.LITERALS - added:
method CircularArgumentReference.on_optarg(_) - added:
method NonLocalExitFromIterator.define_method?(_)
- added:
class FixedSize < Cop - added:
const FixedSize.COUNTERS - added:
const FixedSize.MSG - added:
const FixedSize.STATIC_SIZED_TYPES - added:
method FixedSize.on_send(_)
- added:
class PluralizationGrammar < Cop - added:
const PluralizationGrammar.MSG - added:
const PluralizationGrammar.PLURAL_DURATION_METHODS - added:
const PluralizationGrammar.SINGULAR_DURATION_METHODS - added:
method PluralizationGrammar.on_send(_)
- removed:
const AlignParameters.MSG - removed:
method UnneededPercentQ.on_regexp(_) - added:
class FirstArrayElementLineBreak < Cop - added:
class FirstHashElementLineBreak < Cop - added:
class FirstMethodArgumentLineBreak < Cop - added:
class FirstMethodParameterLineBreak < Cop - added:
class NestedModifier < Cop - added:
class StabbyLambdaParentheses < Cop - added:
const BlockComments.BEGIN_LENGTH - added:
const BlockComments.END_LENGTH - added:
const Encoding.AUTO_CORRECT_ENCODING_COMMENT - added:
const Encoding.SHEBANG - added:
const FirstArrayElementLineBreak.MSG - added:
const FirstHashElementLineBreak.MSG - added:
const FirstMethodArgumentLineBreak.MSG - added:
const FirstMethodParameterLineBreak.MSG - added:
const For.EACH_LENGTH - added:
const IfUnlessModifier.ASSIGNMENT_TYPES - added:
const NestedModifier.MSG - added:
const StabbyLambdaParentheses.MSG_NO_REQUIRE - added:
const StabbyLambdaParentheses.MSG_REQUIRE - added:
const TrailingUnderscoreVariable.UNDERSCORE - added:
const UnneededPercentQ.DYNAMIC_MSG - added:
const UnneededPercentQ.EMPTY - added:
const UnneededPercentQ.PERCENT_CAPITAL_Q - added:
const UnneededPercentQ.PERCENT_Q - added:
const UnneededPercentQ.QUOTE - added:
const UnneededPercentQ.SINGLE_QUOTE - added:
const UnneededPercentQ.STRING_INTERPOLATION_REGEXP - added:
const WordArray.QUESTION_MARK_SIZE - added:
method AlignParameters.message(_) - added:
method AlignParameters.on_method_def(_, _, _, _) - added:
method FirstArrayElementLineBreak.on_array(_) - added:
method FirstHashElementLineBreak.on_hash(_) - added:
method FirstMethodArgumentLineBreak.on_send(_) - added:
method FirstMethodParameterLineBreak.on_method_def(_, _, _, _) - added:
method IfUnlessModifier.chained?(_) - added:
method IfUnlessModifier.method_uses_parens?(_, _) - added:
method IfUnlessModifier.parenthesize?(_) - added:
method NestedModifier.autocorrect(_) - added:
method NestedModifier.autocorrect_if_unless(_, _) - added:
method NestedModifier.check(_) - added:
method NestedModifier.modifier?(_) - added:
method NestedModifier.modifier_while_or_until?(_) - added:
method NestedModifier.new_expression(_, _) - added:
method NestedModifier.on_if(_) - added:
method NestedModifier.on_until(_) - added:
method NestedModifier.on_while(_) - added:
method StabbyLambdaParentheses.autocorrect(_) - added:
method StabbyLambdaParentheses.on_send(_) - added:
method VariableName.on_arg(_)
- changed:
constructor GenericCorrector(_, _) → constructor GenericCorrector(_, _, _) - added:
class AssignmentSorter - added:
constructor AssignmentSorter(_) - added:
method AssignmentSorter.tsort_each_child(_) - added:
method AssignmentSorter.tsort_each_node()
- changed:
method DisabledConfigFormatter.output_exclude_list(_, _) → method DisabledConfigFormatter.output_exclude_list(_, _, _) - added:
method DisabledConfigFormatter.output_cop_config(_, _, _)
- added:
class Compiler - added:
class Invalid < StandardError - added:
const Compiler.CLOSING - added:
const Compiler.ID_CHAR - added:
const Compiler.LITERAL - added:
const Compiler.META_CHAR - added:
const Compiler.NODE - added:
const Compiler.PARAM - added:
const Compiler.PREDICATE - added:
const Compiler.RSYM - added:
const Compiler.TOKEN - added:
const Compiler.WILDCARD - added:
constructor Compiler(_, _ = …) - added:
method Compiler.compile_ascend(_, _, _) - added:
method Compiler.compile_capt_ellip(_, _, _, _) - added:
method Compiler.compile_capture(_, _, _) - added:
method Compiler.compile_ellipsis(_, _, _, _) - added:
method Compiler.compile_expr(_, _, _) - added:
method Compiler.compile_intersect(_, _, _) - added:
method Compiler.compile_literal(_, _, _) - added:
method Compiler.compile_negation(_, _, _) - added:
method Compiler.compile_nodetype(_, _) - added:
method Compiler.compile_param(_, _, _) - added:
method Compiler.compile_predicate(_, _, _) - added:
method Compiler.compile_seq(_, _, _) - added:
method Compiler.compile_seq_tail(_, _) - added:
method Compiler.compile_seq_terms(_, _) - added:
method Compiler.compile_union(_, _, _) - added:
method Compiler.compile_wildcard(_, _, _) - added:
method Compiler.emit_capture_list() - added:
method Compiler.emit_method_code() - added:
method Compiler.emit_param_list() - added:
method Compiler.emit_retval() - added:
method Compiler.emit_trailing_param_list() - added:
method Compiler.fail_due_to(_) - added:
method Compiler.join_terms(_, _, _) - added:
method Compiler.next_capture() - added:
method Compiler.run(_) - added:
method Macros.def_node_matcher(_, _) - added:
method Macros.def_node_search(_, _) - added:
module Macros - added:
property Compiler.match_code: reader