puppetlabs / puppet-strings

The next generation Puppet documentation extraction and presentation tool.
http://puppetlabs.github.io/puppet-strings/
Apache License 2.0
90 stars 84 forks source link

Leading argument with delegation syntax not supported with ruby 2.7.0 #375

Closed donoghuc closed 11 months ago

donoghuc commented 11 months ago
          @jordanbreen28 @GSPatton I do not believe this is strictly a ruby 2.7 compatible feature. This gem claims support for ruby 2.7 and delegation (`...`) is not supported with leading arguments in for example ruby 2.7.0 https://scriptday.com/blog/2020/09/12/ruby-3-0-added-leading-arguments-forwarding I think we need to revert this in order to maintain ruby 2.7 compatibility (i would expect breaking ruby compatability to be a major version bump in semver).

Originally posted by @donoghuc in https://github.com/puppetlabs/puppet-strings/issues/360#issuecomment-1839655347