-
Notifications
You must be signed in to change notification settings - Fork 80
Bump rubocop, fix violations, add Ruby matrix #215
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,9 +9,12 @@ gem 'danger-rubocop' | |
|
|
||
| group :development do | ||
| gem 'bacon' | ||
| gem 'bundler' | ||
| gem 'mocha' | ||
| gem 'mocha-on-bacon' | ||
| # `parallel` 2.x requires Ruby >= 3.3 — keep it on 1.x so the matrix | ||
| # can still install on Ruby 3.0–3.2. | ||
| gem 'parallel', '< 2' | ||
|
Comment on lines
+15
to
+17
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd be fine with dropping those versions. The only devs who would face an issue would be devs updating their CI, so, they'd be keeping up to date with Ruby too. (Or at least, I hope so!) |
||
| gem 'prettybacon' | ||
| gem 'rubocop', '~> 0.50.0', require: false | ||
| gem 'bundler' | ||
| gem 'rubocop', '~> 1.50', require: false | ||
| end | ||

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.
Doesn't seem worth to run RuboCop on a matrix as it's less important than test coverage, as the latter could discover genuine compatibility issues. But, it should be relatively cheap to add a matrix here too.
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 agree this is the right tradeoff 👍