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

Bump Minimal Ruby to 2.3 #1718

Merged
merged 1 commit into from
Mar 3, 2019
Merged

Bump Minimal Ruby to 2.3 #1718

merged 1 commit into from
Mar 3, 2019

Conversation

wk
Copy link
Contributor

@wk wk commented Mar 2, 2019

Pre-Request Checklist

  • Passes rubocop code analysis (try rubocop --auto-correct)
  • Tests added or adapted (try rake test)
  • Changes are reflected in the documentation
  • User-visible changes appended to CHANGELOG.md

Description

Bump minimal supported Ruby to 2.3 from 2.0.0 officially, as well as net-ssh to 5 and rubocop to 0.65.

Reliance on a long end-of-life Ruby has resulted in an increasing number of issues cropping up, and the current oxidized-web (as well as oxidized) include a wide range of version locks of dependencies in an attempt to satisfy it. As of current v0.12.1, oxidized-web does not build on Ruby 2.0.0.

Some of the issues that cropped up include ytti/oxidized-web#179 and #1580, among others. Most distributions now ship with OpenSSL 1.1, which has an incompatibility with net-ssh 4.2, - but the newer net-ssh 5 requires ruby 2.2.6. This also affects the docker container distributed by the project.

This change set includes the minimal bump necessary to overcome these challenges. The recommended version of Ruby for Oxidized is Ruby 2.5.

This is expected to only inconvenience CenOS / RHEL 7 users (6 ships with a too old Ruby that already required RVM), which currently would encounter problems attempting to install oxidized-web in either case.

@codecov-io
Copy link

codecov-io commented Mar 2, 2019

Codecov Report

Merging #1718 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1718   +/-   ##
=======================================
  Coverage   63.32%   63.32%           
=======================================
  Files          30       30           
  Lines        1475     1475           
=======================================
  Hits          934      934           
  Misses        541      541

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a28300e...9362342. Read the comment docs.

@wk wk changed the title Bump ruby 226 Bump Minimal Ruby to 2.2.6 Mar 2, 2019
@wk wk changed the title Bump Minimal Ruby to 2.2.6 Bump Minimal Ruby to 2.3 Mar 2, 2019
@wk wk force-pushed the bump-ruby-226 branch from 790306b to 9362342 Compare March 2, 2019 19:14
@ytti ytti merged commit a82f9b0 into ytti:master Mar 3, 2019
@wk wk deleted the bump-ruby-226 branch March 3, 2019 16:57
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.

3 participants