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) Fix Gem::Platform.match() deprecation warning #1408

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

jhbuchanan45
Copy link
Contributor

@jhbuchanan45 jhbuchanan45 commented Oct 23, 2024

Summary

I've tested this locally on PEADM, but I'm not 100% certain this is a 1-1 swap. Based on the ruby implementation they should be calling the same function under the hood.

Related Issues (if any)

Closes #1406

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified.

@jhbuchanan45 jhbuchanan45 requested a review from a team as a code owner October 23, 2024 16:18
@jhbuchanan45 jhbuchanan45 force-pushed the maint_fix_platform_match_deprecation_warning branch from 9d7f2a5 to 84de4ec Compare October 23, 2024 16:19
Copy link

codecov bot commented Oct 23, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 88.49%. Comparing base (2331637) to head (ff2ce5a).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
lib/pdk/util/puppet_version.rb 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1408   +/-   ##
=======================================
  Coverage   88.49%   88.49%           
=======================================
  Files         127      127           
  Lines        5320     5320           
=======================================
  Hits         4708     4708           
  Misses        612      612           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@david22swan
Copy link
Member

david22swan commented Oct 24, 2024

This LGTM, once I get the pipelines fixed up will test this out and merge

@david22swan david22swan force-pushed the maint_fix_platform_match_deprecation_warning branch from 84de4ec to ff2ce5a Compare October 28, 2024 15:57
@david22swan
Copy link
Member

Pipeline validate has passed so good to merge

@david22swan david22swan merged commit 5c33195 into main Oct 29, 2024
10 of 12 checks passed
@david22swan david22swan deleted the maint_fix_platform_match_deprecation_warning branch October 29, 2024 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: TODO
Development

Successfully merging this pull request may close these issues.

Deprecation warning with latest Ruby/Gem version and RBenv
3 participants