Skip to content

Bump rubocop from 0.76.0 to 1.6.1

NipaNipa requested to merge dependabot/bundler/rubocop-1.6.1 into master

Bumps rubocop from 0.76.0 to 1.6.1.

Release notes

Sourced from rubocop's releases.

RuboCop 1.6.1

Bug fixes

  • #9196: Fix ConfigObsoletion::ExtractedCop raising errors for loaded features when bundler is not activated. (@​dvandersluis)

RuboCop 1.6

New features

  • #9125: Allow ConfigObsoletion to be extended by other RuboCop libraries. (@​dvandersluis)
  • #9182: Support auto-correction for Style/RedundantArgument. (@​koic)
  • #9186: Support auto-correction for Style/FloatDivision. (@​koic)
  • #9167: Support auto-correct for StyleSingleLineBlockParams. (@​koic)

Bug fixes

  • #9177: Remove back-ref related code from Style/SpecialGlobalVars. (@​r7kamura)
  • #9160: Fix an incorrect auto-correct for Style/IfUnlessModifier and Style/SoleNestedConditional when auto-correction conflicts for guard condition. (@​koic)
  • #9174: Handle send nodes with unparenthesized arguments in Style/SoleNestedConditional. (@​dvandersluis)
  • #9184: Layout/EmptyLinesAroundAttributeAccessor fails if the attr_accessor is the last line of the file. (@​tas50)

Changes

  • #9171: Add "did you mean" message when failing due to invalid cops in configuration. (@​dvandersluis)
  • #8897: Change Style/StringConcatenation to accept line-end concatenation between two strings so that Style/LineEndConcatenation can handle it instead. (@​dvandersluis)
  • #9172: Add Style/PerlBackrefs targets and change message more detailed. (@​r7kamura)
  • #9187: Update formatters to output [Correctable] for correctable offenses. (@​dvandersluis)
  • #9169: Add obsoletion warnings for Performance/* and Rails/* which are in separate gems now. (@​dvandersluis)

RuboCop 1.5.2

Bug fixes

  • #9152: Fix an incorrect auto-correct for Style/SoleNestedConditional when nested || operator modifier condition. (@​koic)
  • #9161: Fix a false positive for Layout/HeredocArgumentClosingParenthesis when using subsequence closing parentheses in the same line. (@​koic)
  • #9151: Fix SuggestExtensions to not suggest extensions that are installed but not direct dependencies. (@​dvandersluis)
  • #8985: Fix Style/StringConcatenation autocorrect generating invalid ruby. ([@​tejasbubane][])
  • #9155: Fix a false positive for Layout/MultilineMethodCallIndentation when multiline method chain has expected indent width and the method is preceded by splat for EnforcedStyle: indented_relative_to_receiver. (@​koic)

Changes

  • #9080: Make Lint/ShadowingOuterVariable aware of Ractor. ([@​tejasbubane][])
  • #9102: Relax regexp_parser requirement. ([@​marcandre][])
... (truncated)
Changelog

Sourced from rubocop's changelog.

1.6.1 (2020-12-10)

Bug fixes

  • #9196: Fix ConfigObsoletion::ExtractedCop raising errors for loaded features when bundler is not activated. ([@​dvandersluis][])

1.6.0 (2020-12-09)

New features

  • #9125: Allow ConfigObsoletion to be extended by other RuboCop libraries. ([@​dvandersluis][])
  • #9182: Support auto-correction for Style/RedundantArgument. ([@​koic][])
  • #9186: Support auto-correction for Style/FloatDivision. ([@​koic][])
  • #9167: Support auto-correct for StyleSingleLineBlockParams. ([@​koic][])

Bug fixes

  • #9177: Remove back-ref related code from Style/SpecialGlobalVars. ([@​r7kamura][])
  • #9160: Fix an incorrect auto-correct for Style/IfUnlessModifier and Style/SoleNestedConditional when auto-correction conflicts for guard condition. ([@​koic][])
  • #9174: Handle send nodes with unparenthesized arguments in Style/SoleNestedConditional. ([@​dvandersluis][])
  • #9184: Layout/EmptyLinesAroundAttributeAccessor fails if the attr_accessor is the last line of the file. ([@​tas50][])

Changes

  • #9171: Add "did you mean" message when failing due to invalid cops in configuration. ([@​dvandersluis][])
  • #8897: Change Style/StringConcatenation to accept line-end concatenation between two strings so that Style/LineEndConcatenation can handle it instead. ([@​dvandersluis][])
  • #9172: Add Style/PerlBackrefs targets and change message more detailed. ([@​r7kamura][])
  • #9187: Update formatters to output [Correctable] for correctable offenses. ([@​dvandersluis][])
  • #9169: Add obsoletion warnings for Performance/* and Rails/* which are in separate gems now. ([@​dvandersluis][])

1.5.2 (2020-12-04)

Bug fixes

  • #9152: Fix an incorrect auto-correct for Style/SoleNestedConditional when nested || operator modifier condition. ([@​koic][])
  • #9161: Fix a false positive for Layout/HeredocArgumentClosingParenthesis when using subsequence closing parentheses in the same line. ([@​koic][])
  • #9151: Fix SuggestExtensions to not suggest extensions that are installed but not direct dependencies. ([@​dvandersluis][])
  • #8985: Fix Style/StringConcatenation autocorrect generating invalid ruby. ([@​tejasbubane][])
  • #9155: Fix a false positive for Layout/MultilineMethodCallIndentation when multiline method chain has expected indent width and the method is preceded by splat for EnforcedStyle: indented_relative_to_receiver. ([@​koic][])

Changes

  • #9080: Make Lint/ShadowingOuterVariable aware of Ractor. ([@​tejasbubane][])
  • #9102: Relax regexp_parser requirement. ([@​marcandre][])

1.5.1 (2020-12-02)

Bug fixes

  • #8684: Fix an error for Lint/InterpolationCheck cop. ([@​tejasbubane][])
... (truncated)
Commits
  • e338caf Cut 1.6.1
  • d1a66be Update Changelog
  • 9a4cb23 Prevent broken changelog
  • 025685c Merge pull request #9199 from dvandersluis/improve-project-spec
  • 562d701 Improve the test output from project_spec in case there are missing configura...
  • d95a384 [Fix #9196] Fix ConfigObsoletion::ExtractedCop raising errors for loaded feat...
  • 905e363 Tweak the changelog
  • a1a8939 Switch back the docs version
  • 64e8c47 Cut 1.6
  • 337570f Update Changelog
  • Additional commits viewable in compare view

Merge request reports