Skip to content

Bump rubocop from 0.91.0 to 0.91.1

George Koltsov requested to merge dependabot-bundler-rubocop-0.91.1 into master

Bumps rubocop from 0.91.0 to 0.91.1.

Release notes

Sourced from rubocop's releases.

RuboCop 0.91.1

Bug fixes

  • #8720: Fix an error for Lint/IdentityComparison when calling object_id method without receiver in LHS or RHS. (@koic)
  • #8767: Fix a false positive for Style/RedundantReturn when a rescue has an else clause. (@fatkodima)
  • #8710: Fix a false positive for Layout/RescueEnsureAlignment when Layout/BeginEndAlignment cop is not enabled status. (@koic)
  • #8726: Fix a false positive for Naming/VariableNumber when naming multibyte character variable name. (@koic)
  • #8730: Fix an error for Lint/UselessTimes when there is a blank line in the method definition. (@koic)
  • #8740: Fix a false positive for Style/HashAsLastArrayItem when the hash is in an implicit array. (@dvandersluis)
  • #8739: Fix an error for Lint/UselessTimes when using empty block argument. (@koic)
  • #8742: Fix some assignment counts for Metrics/AbcSize. (@marcandre)
  • #8750: Fix an incorrect auto-correct for Style/MultilineWhenThen when line break for multiple condidate values of when statement. (@koic)
  • #8754: Fix an error for Style/RandomWithOffset when using a range with non-integer bounds. (@eugeneius)
  • #8756: Fix an infinite loop error for Layout/EmptyLinesAroundAccessModifier with Layout/EmptyLinesAroundBlockBody when using access modifier with block argument. (@koic)
  • #8372: Fix Lint/RedundantCopEnableDirective autocorrection to not leave orphaned empty # rubocop:enable comments. (@dvandersluis)
  • #8372: Fix Lint/RedundantCopDisableDirective autocorrection. (@dvandersluis)
  • #8764: Fix Layout/CaseIndentation not showing the cop name in output messages. (@dvandersluis)
  • #8771: Fix an error for Style/OneLineConditional when using if-then-elsif-then-end. (@koic)
  • #8576: Fix Style/IfUnlessModifier to ignore cop disable comment directives when considering conversion to the modifier form. (@dsavochkin)

Changes

  • #8489: Exclude method respond_to_missing? from OptionalBooleanParameter cop. (@em-gazelle)
  • #7914: Style/SafeNavigation marked as having unsafe auto-correction. (@marcandre)
  • #8749: Disable Style/IpAddresses by default in Gemfile and gemspec files. (@dvandersluis)
Changelog

Sourced from rubocop's changelog.

0.91.1 (2020-09-23)

Bug fixes

  • #8720: Fix an error for Lint/IdentityComparison when calling object_id method without receiver in LHS or RHS. (@koic)
  • #8767: Fix a false positive for Style/RedundantReturn when a rescue has an else clause. (@fatkodima)
  • #8710: Fix a false positive for Layout/RescueEnsureAlignment when Layout/BeginEndAlignment cop is not enabled status. (@koic)
  • #8726: Fix a false positive for Naming/VariableNumber when naming multibyte character variable name. (@koic)
  • #8730: Fix an error for Lint/UselessTimes when there is a blank line in the method definition. (@koic)
  • #8740: Fix a false positive for Style/HashAsLastArrayItem when the hash is in an implicit array. (@dvandersluis)
  • #8739: Fix an error for Lint/UselessTimes when using empty block argument. (@koic)
  • #8742: Fix some assignment counts for Metrics/AbcSize. (@marcandre)
  • #8750: Fix an incorrect auto-correct for Style/MultilineWhenThen when line break for multiple condidate values of when statement. (@koic)
  • #8754: Fix an error for Style/RandomWithOffset when using a range with non-integer bounds. (@eugeneius)
  • #8756: Fix an infinite loop error for Layout/EmptyLinesAroundAccessModifier with Layout/EmptyLinesAroundBlockBody when using access modifier with block argument. (@koic)
  • #8372: Fix Lint/RedundantCopEnableDirective autocorrection to not leave orphaned empty # rubocop:enable comments. (@dvandersluis)
  • #8372: Fix Lint/RedundantCopDisableDirective autocorrection. (@dvandersluis)
  • #8764: Fix Layout/CaseIndentation not showing the cop name in output messages. (@dvandersluis)
  • #8771: Fix an error for Style/OneLineConditional when using if-then-elsif-then-end. (@koic)
  • #8576: Fix Style/IfUnlessModifier to ignore cop disable comment directives when considering conversion to the modifier form. (@dsavochkin)

Changes

  • #8489: Exclude method respond_to_missing? from OptionalBooleanParameter cop. (@em-gazelle)
  • #7914: Style/SafeNavigation marked as having unsafe auto-correction. (@marcandre)
  • #8749: Disable Style/IpAddresses by default in Gemfile and gemspec files. (@dvandersluis)
Commits
  • de054ee Cut 0.91.1
  • c21be8f [Fix #8372] Fix Lint/RedundantCopEnableDirective autocorrection not removin...
  • b59c48a [Fix #8372] Fix Lint/RedundantCopDisableDirective autocorrection removing a...
  • 39f0624 Move a changelog entry
  • 54c63cf [Fix #8576] Fix Style/IfUnlessModifier to ignore cop disable comment direct...
  • 3ec3e38 Tweak a couple of changelog entries
  • 5cc162e [Fix #8771] Fix an error for Style/OneLineConditional
  • faaa683 Merge pull request #8769 from koic/use_cop_base_api_for_several_style_cops
  • c70badc Merge pull request #8768 from fatkodima/redundant_return-rescue-else
  • fd6d273 Use Cop::Base API for some Style cops
  • Additional commits viewable in compare view

Merge request reports

Loading