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

Drop outdate Ruby version checks #378

Merged
merged 2 commits into from
Jan 19, 2024

Conversation

ekohl
Copy link
Contributor

@ekohl ekohl commented Jan 4, 2024

See individual commits for details, but they both come down to checking RUBY_VERSION for some old version while the gemspec declares 2.7 as the lower bound.

ekohl added 2 commits January 4, 2024 12:56
Since aef1729 the required Ruby version
is 1.9.3 so this shouldn't install on Ruby 1.8 at all anymore. These
days you won't find Ruby 1.8 unless you try very hard so it can be
dropped safely.

Fixes: aef1729 ("(PDOC-119) Add required ruby version to gemspec")
This specific code has gone through some odd refactoring. In
d7f5e44 both branches of the if
condition were made the same, which was then refactored into an empty
unless condition in 10fd31e. But
7715063 raised the minimum version to
2.7 so that should have simply removed the whole version check.

Fixes: 7715063 ("(MAINT) Bump minumum ruby version")
@ekohl ekohl requested a review from a team as a code owner January 4, 2024 12:05
Copy link
Contributor

@jordanbreen28 jordanbreen28 left a comment

Choose a reason for hiding this comment

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

thanks @ekohl!

@jordanbreen28 jordanbreen28 merged commit 86d17ba into puppetlabs:main Jan 19, 2024
13 checks passed
@ekohl ekohl deleted the remove-old-ruby-checks branch January 19, 2024 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants