r18n / r18n-rails-api

Rails I18n compatibility for R18n
GNU Lesser General Public License v3.0
0 stars 1 forks source link

[ruby] Upgrade rubocop to version 1.47.0 #51

Closed depfu[bot] closed 1 year ago

depfu[bot] commented 1 year ago

Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ rubocop (~> 1.46.0 → ~> 1.47.0) · Repo · Changelog

Release Notes

1.47.0

New features

Bug fixes

  • #11615: Fix a false negative for Lint/MissingSuper when no super call with Class.new block. (@koic)
  • #11615: Fix a false negative for Lint/MissingSuper when using Class.new without parent class argument. (@koic)
  • #11040: Fix a false positive for Style/IfUnlessModifier when defined?'s argument value is undefined. (@koic)
  • #11607: Fix a false positive for Style/RedundantRegexpEscape when an escaped hyphen follows after an escaped opening square bracket within a character class. (@SparLaimor)
  • #11626: Fix a false positive for Style/ZeroLengthPredicate when using File.new(path).size.zero?. (@koic)
  • #11620: Fix an error for Lint/ConstantResolution when using __ENCODING__. (@koic)
  • #11625: Fix an error for Lint/EmptyConditionalBody when missing if body and using method call for return value. (@koic)
  • #11631: Fix an incorrect autocorrect for Style/ArgumentsForwarding when using arguments forwarding for .() call. (@koic)
  • #11621: Fix an incorrect autocorrect for Layout/ClassStructure using heredoc inside method. (@fatkodima)
  • #3591: Handle modifier while and until expressions in Lint/UselessAssignment. (@bfad)
  • #11202: Fixed usage of --only flag with --auto-gen-config. (@istvanfazakas)

Changes

  • #11623: Add rubocop-capybara to suggested extensions and extension doc. (@ydah)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 25 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
codecov[bot] commented 1 year ago

Codecov Report

Merging #51 (f6aff4a) into main (c3c9652) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #51   +/-   ##
=======================================
  Coverage   98.36%   98.36%           
=======================================
  Files           8        8           
  Lines         244      244           
=======================================
  Hits          240      240           
  Misses          4        4           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more