-
Notifications
You must be signed in to change notification settings - Fork 554
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
Upgrade rubocop #1838
Comments
Just for the record, Rubocop was pinned around Jan 14, 2016 in #522 with this comment:
So it seems safe enough to finally move forward with this upgrade. |
@geigerj The latest Rubocop drops support for Ruby 2.0. We have already dropped Ruby 2.0 from Travis-CI because we can't find an OS vm that will run the most current and 2.0. What are your thoughts about dropping Ruby 2.0 from the CI builds as part of fixing this issue? |
@blowmage Did you end up dropping support in the end? IIRC we retained Ruby 2.0 support only because it continued to be the default system Ruby on OS X. |
@geigerj I ended up downgrading from Rubocop 0.52.1 to 0.50.0, which is the last release that still supports Ruby 2.0. FWIW, I would expect more and more gems to start dropping Ruby 2.0, as it was EOL'd nearly a year ago. https://www.ruby-lang.org/en/news/2016/02/24/support-plan-of-ruby-2-0-0-and-2-1/ |
I'm okay with dropping support for EOL Ruby 2.0. Mac OS X High Sierra updated the system Ruby to 2.3.3. I didn't mean to reopen. |
Ditto on dropping Ruby 2.0. I'm also okay with generally promoting a best practice of using a custom Ruby install instead of the system Ruby, for those actually doing Ruby development work on OSX. |
What
Currently, we pin rubocop to
<= 0.35.1
. Upgrade to the latest version. This will require a review of our configuration and/or updating the many files that fail the linter under the latest version. This might be a good backlog item for a fixit.Why
This has a low-severity vulnerability in which other users on a shared filesystem may be able to corrupt local rubocop output, and GitHub is recommending an upgrade to
~> 0.49.0
. See https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-8418, rubocop/rubocop#4336.Progress
The text was updated successfully, but these errors were encountered: