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

Pin RuboCop to avoid failures due to renamed cops #2216

Merged
merged 4 commits into from
Dec 5, 2019
Merged

Conversation

pirj
Copy link
Member

@pirj pirj commented Dec 2, 2019

In RuboCop 1.0 this will stop happening, and we'll be able to relax it to:

gem 'rubocop', '~> 1.0'

Caused trouble in #2215 and #2212

In RuboCop 1.0 this will stop happening, and we'll be able to relax it
to:

    gem 'rubocop', '~> 1.0'
@pirj pirj self-assigned this Dec 2, 2019
@pirj pirj mentioned this pull request Dec 2, 2019
Gemfile Outdated Show resolved Hide resolved
@pirj pirj requested a review from JonRowe December 4, 2019 19:47
Copy link
Member

@JonRowe JonRowe left a comment

Choose a reason for hiding this comment

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

Two rules need to be disabled to get this to pass, one marked above and a new one? Style/Proc

.rubocop.yml Show resolved Hide resolved
@pirj
Copy link
Member Author

pirj commented Dec 4, 2019

Style/Proc was lost in translation, got it back to disabled state.
rubocop lib is green locally.

@pirj
Copy link
Member Author

pirj commented Dec 5, 2019

@JonRowe The build is green.

@pirj pirj requested a review from JonRowe December 5, 2019 10:19
.rubocop.yml Show resolved Hide resolved
@JonRowe
Copy link
Member

JonRowe commented Dec 5, 2019

Looks good, I'm going to merge this so we can fix builds etc. Comments are for conversation only, I also added back an explanation for a rule.

@JonRowe JonRowe merged commit 1fbf457 into master Dec 5, 2019
@JonRowe JonRowe deleted the pin-rubocop branch December 5, 2019 20:21
JonRowe added a commit that referenced this pull request Jan 12, 2020
Pin RuboCop to avoid failures due to renamed cops
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants