This is one of the first three pull requests with dependency updates we've sent your way. We tried to start with a few easy patch-level updates. Hopefully your tests will pass and you can merge this pull request without too much risk. This should give you an idea how Depfu works in general.
After you merge your first pull request, we'll send you a few more. We'll never open more than seven PRs at the same time so you're not getting overwhelmed with updates.
Let us know if you have any questions. Thanks so much for giving Depfu a try!
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.
The first stable RuboCop release ever is finally here! You can read more about this special release here.
New features
#7944: Add MaxUnannotatedPlaceholdersAllowed option to Style/FormatStringToken cop. (@Tietew)
#8379: Handle redundant parentheses around an interpolated expression for Style/RedundantParentheses cop. (@fatkodima)
Bug fixes
#8892: Fix an error for Style/StringConcatenation when correcting nested concatenable parts. (@fatkodima)
#8781: Fix handling of comments in Style/SafeNavigation autocorrection. (@dvandersluis)
#8907: Fix an incorrect auto-correct for Layout/ClassStructure when heredoc constant is defined after public method. (@koic)
#8889: Cops can use new after_<type> callbacks (only for nodes that may have children nodes, like :send and unlike :sym). (@marcandre)
#8906: Fix a false positive for Layout/SpaceAroundOperators when upward alignment. (@koic)
#8585: Fix false positive in Style/RedundantSelf cop with nested self access. (@marcotc)
Changes
#8882: (Potentially breaking) RuboCop assumes that Cop classes do not define new on_<type> methods at runtime (e.g. via extend in initialize). (@marcandre)
#7966: (Breaking) Enable all pending cops for RuboCop 1.0. (@koic)
#8490: (Breaking) Change logic for cop department name computation. Cops inside deep namespaces (5 or more levels deep) now belong to departments with names that are calculated by joining module names starting from the third one with slashes as separators. For example, cop Rubocop::Cop::Foo::Bar::Baz now belongs to Foo/Bar department (previously it was Bar). (@dsavochkin)
#8692: Default changed to disallow Layout/TrailingWhitespace in heredoc. (@marcandre)
#8894: Make Security/Open aware of URI.open. (@koic)
#8901: Fix false positive for Naming/BinaryOperatorParameterName when defining =~. (@zajn)
#8908: Show extension cop versions when using --verbose-version option. (@koic)
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)
Welcome to Depfu 👋
This is one of the first three pull requests with dependency updates we've sent your way. We tried to start with a few easy patch-level updates. Hopefully your tests will pass and you can merge this pull request without too much risk. This should give you an idea how Depfu works in general.
After you merge your first pull request, we'll send you a few more. We'll never open more than seven PRs at the same time so you're not getting overwhelmed with updates.
Let us know if you have any questions. Thanks so much for giving Depfu a try!
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 (~> 0.59, != 0.78.0 → ~> 1.0, != 0.78.0) · Repo · Changelog
Release Notes
1.0.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 36 commits:
Cut RuboCop 1.0!!!
Move a changelog entry
Fix false positive in `Style/RedundantSelf` cop with nested `self` access (#8585)
Merge pull request #8911 from koic/fix_an_error_when_occurring_cop_error
Fix a false positive for `Layout/SpaceAroundOperators`
Fix an error when ocurring cop error
Merge pull request #8908 from koic/add_extension_versions_when_using_verbose_version
Show extension cop versions when using `--verbose-version` option
Add `on_after_<type>` callbacks
Fix an incorrect auto-correct for `Layout/ClassStructure`
[Docs] Document the documentation license :-)
[Docs] Add some additional documentation in preparation for RuboCop 1.0
Handle redundant parentheses around an interpolated expression for `Style/RedundantParentheses` cop
Merge pull request #8905 from koic/remove_redundant_blank_for_to_json_message
Remove redundant blank for `Lint/ToJSON`'s offense message
[Docs] Update versioning docs for 1.0
Fix `VersionChanged` for `Security/Open`
[Fix #8781] Change how comments are determined for `Style/SafeNavigation` autocorrection.
[Fix #8901] Fix a false positive for `Naming/BinaryOperatorParameterName`
Merge pull request #8894 from koic/fix_a_false_negative_for_security_open
Make `Security/Open` aware of `URI.open`
Default changed to disallow `Layout/TrailingWhitespace` in heredoc.
Don't autocorrect static heredocs with trailing whitespaces
Fix `Layout/TrailingWhitespace` auto-correction in heredoc
[Fix #8044] Change cop department name calculation
[Fix #7944] Add `MaxUnannotatedPlaceholdersAllowed` option to `Style/FormatStringToken` cop.
[Fix #7966] Enable all pending cops for RuboCop 1.0
Update RuboCop/Performance
Update RuboCop/RSpec
Callback building was the single most time consuming method in all RuboCop, at around 8% of overall processing.
Optimize `Cop#restrict_on_send`
Avoid calling `extend` in `initialize`
Remove unused method
Tweak doc
Fix an error for `Style/StringConcatenation` when correcting nested concatenable parts
Switch back the docs version to master
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