Skip to content
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

Merged
merged 8 commits into from
Sep 22, 2023
Merged

Update RuboCop to 1.56.x #860

merged 8 commits into from
Sep 22, 2023

Conversation

archanaserver
Copy link
Contributor

@archanaserver archanaserver commented Mar 16, 2023

@ekohl
Copy link
Member

ekohl commented Mar 29, 2023

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.

@ehelms
Copy link
Member

ehelms commented Aug 1, 2023

@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) ?

bundler.d/test.rb Outdated Show resolved Hide resolved
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.
@archanaserver archanaserver changed the title Update RuboCop to 1.28.x Update RuboCop to 1.55.x Aug 10, 2023
@archanaserver
Copy link
Contributor Author

@ekohl, could you please review this?

Copy link
Member

@ekohl ekohl left a 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.

.rubocop.yml Outdated Show resolved Hide resolved
bundler.d/test.rb Outdated Show resolved Hide resolved
tasks/jenkins.rake Outdated Show resolved Hide resolved
@archanaserver
Copy link
Contributor Author

@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

modules/dns/dns_api.rb Outdated Show resolved Hide resolved
bundler.d/test.rb Outdated Show resolved Hide resolved
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.
@ekohl ekohl merged commit fcfcf23 into theforeman:develop Sep 22, 2023
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants