Skip to content

Upgrading rubocop 0.82 to 0.83

Breaking0.82.0 → 0.83.0Breaking3New13Changed1Fixed13Other3

BreakingUpgrade verdict

3 breaking changes.

  • Remove dependency on the jaro_winkler gem, instead depending on did_you_mean.
  • (Breaking) Inspect all files given on command line unless --only-recognized-file-types is given.
  • (Breaking) Enabling a cop overrides disabling its department.
3 items need code or config changes
Breaking3
Remove dependency on the jaro_winkler gem, instead depending on did_you_mean.
jaro_winklerdid_you_meanNameSimilarity#find_similar_name
(Breaking) Inspect all files given on command line unless --only-recognized-file-types is given.
--only-recognized-file-types
(Breaking) Enabling a cop overrides disabling its department.

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

  • removed: const NameSimilarity.MINIMUM_SIMILARITY_TO_SUGGEST
  • removed: module StringUtil
  • removed: static method StringUtil.similarity(_, _)
  • changed: method NameSimilarity.find_similar_name(_, _) → static method NameSimilarity.find_similar_name(_, _)
  • changed: method TargetFinder.find(_) → method TargetFinder.find(_, _)
  • changed: method TargetFinder.process_explicit_path(_) → method TargetFinder.process_explicit_path(_, _)
  • added: method ConfigLoaderResolver.override_department_setting_for_cops(_, _)
  • added: static method NameSimilarity.find_similar_names(_, _)
  • changed: method Generator.inject_config(config_file_path: …) → method Generator.inject_config(config_file_path: …, version_added: …)
  • added: method TargetRubyVersion.required_minimum_ruby_version()
  • added: static method Util.add_parentheses(_, _)
  • added: static method Util.args_begin(_)
  • added: static method Util.args_end(_)
  • added: static method Util.comment_lines?(_)
  • added: class EmptyLinesAroundAttributeAccessor < Cop
  • added: const EmptyLinesAroundAttributeAccessor.MSG
  • added: method ConditionPosition.autocorrect(_)
  • added: method EmptyLinesAroundAttributeAccessor.autocorrect(_)
  • added: method EmptyLinesAroundAttributeAccessor.on_send(_)
  • added: method AmbiguousOperator.autocorrect(_)
  • added: method AmbiguousRegexpLiteral.autocorrect(_)
  • added: method EnsureReturn.autocorrect(_)
  • added: method ParenthesesAsGroupedExpression.autocorrect(_)
  • added: method UselessAccessModifier.autocorrect(_)
  • added: class SlicingWithRange < Cop
  • added: const SlicingWithRange.MSG
  • added: method IfWithSemicolon.autocorrect(_)
  • added: method MultilineWhenThen.require_then?(_)
  • added: method SlicingWithRange.autocorrect(_)
  • added: method SlicingWithRange.on_send(_)