-
Notifications
You must be signed in to change notification settings - Fork 220
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
Update RuboCop to 1.56.x #860
Conversation
FYI: there is https://projects.theforeman.org/issues/35374 open as an issue. There I chose version 1.35.x. 1.28.x is the latest version to support Ruby 2.5, but if we move to 2.7+ I think it's safe to go with a newer version. At the time that was 1.35.x, but it's probably even safe to move to 1.48.x which is the current latest. |
@archanaserver When you get time, can you come back around to this and do the update to 1.35 (or if there is a newer latest) ? |
Added additional RuboCop cops and updated .rubocop_todo.yml to address various code quality issues in the smart-proxy project. The changes help improve code consistency.
@ekohl, could you please review this? |
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.
I'd also enable rubocop-rake
as a plugin.
@ekohl I looked into the failure but can't find the issue, can you help what is the issue here? https://ci.theforeman.org/blue/organizations/jenkins/smart-proxy-pr-test/detail/smart-proxy-pr-test/275/pipeline |
a94d7bd
to
b24e16c
Compare
b24e16c
to
995ba74
Compare
Bumped the RuboCop version from 1.28.0 to 1.56.0 to ensure the project benefits from the latest improvements, bug fixes, and code analysis features provided by the updated RuboCop release.
995ba74
to
bcf15ad
Compare
This PR updates the RuboCop version from 1.28.0 to 1.56.0.
Requires:
The following PRs were reviewed and adjusted to ensure compatibility with the updated RuboCop/Ruby version:
For the rest of the smart-proxy plugins (
ansible
,openscap
,dhcp_infoblox
,dhcp_remote_isc
,discovery
,dns_infoblox
,pulp
), no changes were required to support Ruby v3.