-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump rubocop-rails from 2.27.0 to 2.28.0 in the rubocop group #6035
base: main
Are you sure you want to change the base?
Conversation
Bumps the rubocop group with 1 update: [rubocop-rails](https://github.com/rubocop/rubocop-rails). Updates `rubocop-rails` from 2.27.0 to 2.28.0 - [Release notes](https://github.com/rubocop/rubocop-rails/releases) - [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md) - [Commits](rubocop/rubocop-rails@v2.27.0...v2.28.0) --- updated-dependencies: - dependency-name: rubocop-rails dependency-type: direct:development update-type: version-update:semver-minor dependency-group: rubocop ... Signed-off-by: dependabot[bot] <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to modify the behaviour of the code (the tests fail)
I've decided to ignore the newly complaining rubocop rule that limits chaining of safe navigation The idea behind the rule that is less clear from the code which part of the chain can return nil. IMO this isn't an improvement: def course_admin?
return false unless user
return false unless record
return false unless record.evaluation
return false unless record.evaluation.series
user.course_admin?(record.evaluation.series.course)
end compared to: def course_admin?
user&.course_admin?(record&.evaluation&.series&.course)
end |
Bumps the rubocop group with 1 update: rubocop-rails.
Updates
rubocop-rails
from 2.27.0 to 2.28.0Release notes
Sourced from rubocop-rails's releases.
Changelog
Sourced from rubocop-rails's changelog.
Commits
fcc4cf6
Cut 2.28.0bac0f3e
Update Changelog2c357f0
Merge pull request #1383 from koic/intro_migrated_schema_version86b7a55
IntroduceAllCops: MigratedSchemaVersion
config2671fb4
Merge pull request #1398 from viralpraxis/fix-rails-file-path-cop-error-on-jo...815d119
FixRails/FilePath
cop error onjoin
method with implicit receiverfecead8
Merge pull request #1399 from viralpraxis/fix-rails-file-path-cop-error-on-ex...e4aee6b
FixRails/FilePath
cop error in case of extra operations inRails.root
in...c6f869b
Merge pull request #1392 from viralpraxis/fix-rails-file-path-cop-error-with-...bb03d6b
FixRails/FilePath
cop error with rescuedRails.root
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 show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major version
will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor version
will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>
will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>
will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>
will remove the ignore condition of the specified dependency and ignore conditions