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

(CONT-811) Add Ruby 3.2 support and Remove support for Ruby 2.5 #113

Merged
merged 56 commits into from
Apr 6, 2023

Conversation

GSPatton
Copy link

@GSPatton GSPatton commented Mar 29, 2023

In preparation for the release of Puppet 8, this PR adds Ruby 3.2 support and removes Ruby 2.5 for puppet-lint.

@GSPatton GSPatton added the enhancement New feature or request label Mar 29, 2023
@GSPatton GSPatton requested a review from a team as a code owner March 29, 2023 08:13
puppet-lint.gemspec Outdated Show resolved Hide resolved
lib/puppet-lint/optparser.rb Outdated Show resolved Hide resolved
@@ -3,7 +3,7 @@
rescue
# monkeypatch String#% into Ruby 1.8.7
Copy link

Choose a reason for hiding this comment

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

Given the lower bound is now set at 2.5, I wonder how much of this could be dropped.

Copy link
Author

Choose a reason for hiding this comment

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

yes I've wondered about this file. I'll discuss this with the team

Copy link
Author

Choose a reason for hiding this comment

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

hey @ekohl. I had a look at this file and am not entirely sure what its purpose is and so don't feel entirely confident to make any changes to it. In the interest of moving on with adding ruby 3 support across our tools I'm going to get this PR merged but add a ticket to our backlog to investigate this more. Thanks for highlighting this for us.

…ng rubocop_todo for now until all cop conflicts are sorted.
@jordanbreen28 jordanbreen28 merged commit 15e48b7 into main Apr 6, 2023
@jordanbreen28 jordanbreen28 deleted the CONT-811-add_ruby_3 branch April 6, 2023 09:01
@GSPatton GSPatton added backwards-incompatible and removed enhancement New feature or request labels Apr 6, 2023
@chelnak chelnak changed the title (CONT-811) Add Ruby 3.2 support (CONT-811) Add Ruby 3.2 support and Remove support for Ruby 2.5 Apr 27, 2023
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.

3 participants