voxpupuli / onceover

Your gateway drug to automated infrastructure testing with Puppet
Apache License 2.0
142 stars 45 forks source link

Support Ruby 3 #316

Closed genebean closed 1 year ago

genebean commented 2 years ago

Please add support for Ruby 3 so that local testing on machines that default to it can be done.

dylanratcliffe commented 2 years ago

Create PR in backticks for Ruby 3 as this is blocking Onceover: https://github.com/xeger/backticks/pull/18

genebean commented 2 years ago

The upstream project seems like it might be dormant - any thoughts on how to deal with that, assuming it is the case?

dylanratcliffe commented 2 years ago

Agreed. The main reason I'm using that project is that it allows for processes that you've shelled out to, to become interactive. This means that you can do things like using pry inside a function, run your onceover tests, and get dropped into a pry shell. If you use more simplistic methods the STDIN gets all borked and you can't use pry properly. I need to have a think about what the best way is to retain that functionality...

genebean commented 2 years ago

I certainly see the usefulness of that.

neomilium commented 1 year ago

The PR #326 fixes onceover with Ruby 3.1+.