puppetlabs / puppetfile-resolver

Dependency resolver for Puppetfiles as a gem
https://rubygems.org/gems/puppetfile-resolver
Apache License 2.0
0 stars 0 forks source link

(bug) - Fix ruby 3.x incompatibility #1

Closed jordanbreen28 closed 10 months ago

jordanbreen28 commented 10 months ago

It was noted that this gem was failing spec tests when running on ruby 3.x and above. The root cause of this issue seemed to be the absolute_path property found on the Thread::Backtrace::Location class. Updating this to path allows spec tests to pass on both ruby 2.x and 3.x.

Can confirm that when consumed by other tools, this also works as expected.