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

(MAINT) Addressing wrong Rubocop TargetRubyVersion #776

Merged
merged 1 commit into from May 5, 2023

Conversation

LukasAud
Copy link
Contributor

@LukasAud LukasAud commented May 4, 2023

Prior to this commit, during the Puppet 8 support work, TargetRubyVersion was set to 2.7 and a cop rule was addressed according to it. However, the correct ruby version is 2.6.

This commit aims to address the previously wrongly set version along with an unnecesary change that breaks some compatibility with 2.6 systems.

Prior to this commit, during the Puppet 8 support work, TargetRubyVersion
was set to 2.7 and a cop rule was addressed according to it. However,
the correct ruby version is 2.6.

This commit aims to address the previously wrongly set version along with
an unnecesary change that breaks some compatibility with 2.6 systems.
@LukasAud LukasAud added the bugfix label May 4, 2023
@LukasAud LukasAud requested a review from a team as a code owner May 4, 2023 13:57
@puppet-community-rangefinder
Copy link

concat_file is a type

Breaking changes to this file WILL impact these 1 modules (exact match):
Breaking changes to this file MAY impact these 2 modules (near match):

This module is declared in 169 of 580 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

Copy link
Collaborator

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

I think this will also reintroduce compatibility for Puppet 6 users, which is nice.

@jordanbreen28 jordanbreen28 merged commit d718bcf into main May 5, 2023
43 checks passed
@jordanbreen28 jordanbreen28 deleted the MAINT-Addressing_incorrect_targetrubyversion branch May 5, 2023 10:32
@alexjfisher
Copy link
Contributor

Worth noting that 2.6 was the correct target version as that's the version compatible with Puppetserver 7's jruby.

@alexjfisher
Copy link
Contributor

@bastelfreak Can we fix voxpupuli/voxpupuli-rubocop#16 now?

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.

None yet

4 participants