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

Require Ruby 2.5 or later #1300

Merged
merged 5 commits into from
Dec 5, 2018
Merged

Require Ruby 2.5 or later #1300

merged 5 commits into from
Dec 5, 2018

Conversation

tas50
Copy link
Contributor

@tas50 tas50 commented Nov 24, 2018

As we do every year Ohai 15 will drop support for the N-2 support of Ruby. In the ~5 weeks Ruby 2.6 comes out so by the time we release this new version of Ohai N-2 will be Ruby 2.4.

Also while we're at it get rid of the begins in rescue blocks. Ruby 2.5 doesn't require this and it's on the path to ruby throwing errors eventually. It's a Ruby < 2.4-ism.

Signed-off-by: Tim Smith [email protected]

Description

[Please describe what this change achieves]

Issues Resolved

[List any existing issues this PR resolves, or any Discourse or
StackOverflow discussions that are relevant]

Check List

As we do every year Ohai 15 will drop support for the N-2 support of Ruby. In the ~5 weeks Ruby 2.6 comes out so by the time we release this new version of Ohai N-2 will be Ruby 2.4.

Also while we're at it get rid of the begins in rescue blocks. Ruby 2.5 doesn't require this and it's on the path to ruby throwing errors eventually. It's a Ruby < 2.4-ism.

Signed-off-by: Tim Smith <[email protected]>
@tas50 tas50 requested a review from a team November 24, 2018 21:58
So much to delete here.

Signed-off-by: Tim Smith <[email protected]>
It's not windows bound now

Signed-off-by: Tim Smith <[email protected]>
@tas50 tas50 merged commit bfd436e into master Dec 5, 2018
@chef-ci chef-ci deleted the new_ruby branch December 5, 2018 17:46
@lock
Copy link

lock bot commented Feb 3, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Feb 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants