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 and fix offenses #22

Merged
merged 5 commits into from
Jun 15, 2023
Merged

Conversation

archanaserver
Copy link
Contributor

@archanaserver archanaserver commented May 24, 2023

Rubocop update to 1.28.0 and fix offenses.

@archanaserver archanaserver changed the title Add Ruby v3 compatibility Update Rubocop and fix offenses May 24, 2023
@archanaserver archanaserver force-pushed the ruby-3.1 branch 3 times, most recently from 3821bf3 to afc8ff2 Compare May 30, 2023 07:47
@archanaserver archanaserver mentioned this pull request May 30, 2023
1 task
.ruby-version Outdated Show resolved Hide resolved
Copy link
Member

@ofedoren ofedoren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since it's only rubocop related changes, LGTM.

UPD: Except one small inline suggestion.

Gemfile Outdated
group :rubocop do
gem 'rubocop', '~> 1.28.0'
gem 'rubocop-performance'
gem 'rubocop-rails'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need rubocop-rails for hammer? :) Hammer and plugins are not dependent on Rails, so there is no need for that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ofedoren it is updated now.

Copy link
Member

@ofedoren ofedoren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @archanaserver, LGTM :)

@ofedoren ofedoren merged commit 41d50d5 into theforeman:master Jun 15, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants