undercover warns about methods, classes and blocks that were changed without tests, to help you easily find untested code and reduce the number of bugs. It does so by analysing data from git diffs, code structure and SimpleCov coverage reports
#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][])
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)
Updates the requirements on rubocop to permit the latest version.
Release notes
Sourced from rubocop's releases.
Changelog
Sourced from rubocop's changelog.
... (truncated)
Commits
8d32826
Cut 1.4836cc776
Update Changelogaf8b5f9
[Fix #11164] Suppress server mode message with -f json (#11668)8257ff2
[Fix #11629] Add newStyle/FileEmpty
copf23e487
Cacheclassname_attribute_value
in junit formatter0499a58
[Fix #11628] Add newStyle/DirEmpty
copf982aa8
[Fix #11663] Fix an incorrect autocorrect forStyle/BlockDelimiters
d8f6765
Merge pull request #11665 from fatkodima/registry-enabled-cop-name118542b
Merge pull request #11638 from ydah/fix-lint_useless_access_modifier0d3c056
Fix a false positive forLint/UselessAccessModifier
when using same access ...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)