ActsAsParanoid / acts_as_paranoid

ActiveRecord plugin allowing you to hide and restore records without actually deleting them.
MIT License
1.46k stars 191 forks source link

Update rubocop requirement from ~> 1.20.0 to ~> 1.21.0 #250

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Updates the requirements on rubocop to permit the latest version.

Release notes

Sourced from rubocop's releases.

RuboCop 1.21

New features

Bug fixes

  • #10067: Fix an error for Lint/NumberConversion when using nested number conversion methods. (@​koic)
  • #10054: Fix a false positive for Layout/SpaceAroundOperators when match operators between << and +=. (@​koic)
  • #10061: Fix a false positive for Style/RedundantSort when using size method in the block. (@​koic)
  • #10063: Fix a false positive for Layout/SingleLineBlockChain when method call chained on a new line after a single line block with trailing dot. (@​koic)
  • #10064: Fix Style/ExplicitBlockArgument corrector assuming any existing block argument was named block. (@​byroot)
  • #10070: Fix a false positive for Style/MutableConstant when using non-interpolated heredoc in Ruby 3.0. (@​koic)

Changes

Changelog

Sourced from rubocop's changelog.

1.21.0 (2021-09-13)

New features

Bug fixes

  • #10067: Fix an error for Lint/NumberConversion when using nested number conversion methods. ([@​koic][])
  • #10054: Fix a false positive for Layout/SpaceAroundOperators when match operators between << and +=. ([@​koic][])
  • #10061: Fix a false positive for Style/RedundantSort when using size method in the block. ([@​koic][])
  • #10063: Fix a false positive for Layout/SingleLineBlockChain when method call chained on a new line after a single line block with trailing dot. ([@​koic][])
  • #10064: Fix Style/ExplicitBlockArgument corrector assuming any existing block argument was named block. ([@​byroot][])
  • #10070: Fix a false positive for Style/MutableConstant when using non-interpolated heredoc in Ruby 3.0. ([@​koic][])

Changes

1.20.0 (2021-08-26)

New features

Bug fixes

  • #10033: Fix an incorrect auto-correct for Style/BlockDelimiters when there is a comment after the closing brace and using method chanin. ([@​koic][])
  • #6630: Updated Style/CommentAnnotation to be able to handle multiword keyword phrases. ([@​dvandersluis][])
  • #7836: Update Style/BlockDelimeters to add begin...end when converting a block containing rescue or ensure to braces. ([@​dvandersluis][])
  • #10031: Fix a false positive for Style/HashExcept when comparing with hash value. ([@​koic][])

Changes

1.19.1 (2021-08-19)

Bug fixes

  • #10017: Fixan error for Layout/RescueEnsureAlignment when using zsuper with block. ([@​koic][])
  • #10011: Fix a false positive for Style/RedundantSelfAssignmentBranch when using instance variable, class variable, and global variable. ([@​koic][])

... (truncated)

Commits
  • 25112e6 Cut 1.21
  • 4593883 Update Changelog
  • f7c21e1 [Fix #9061] Add new Lint/IncompatibleIoSelectWithFiberScheduler cop
  • d199e94 Update Naming/InclusiveLanguage to be disabled by default.
  • eac703f [Fix #10070] Fix a false positive for Style/MutableConstant
  • 6d1ce3b Mark Style/AndOr as unsafe auto-correction
  • 1ad1f12 Fix an error for Lint/NumberConversion
  • b9de8e8 Merge pull request #10064 from casperisfine/explicit-block-corrector
  • e44b0a8 Style/ExplicitBlockArgument: do not assume the block parameter name
  • 8585c75 Merge pull request #10063 from koic/fix_a_false_positive_for_layout_single_li...
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
mvz commented 2 years ago

@dependabot merge