Closed IPv2 closed 4 years ago
It looks like I have been successfully running sup against trollop 2.1.2 which is the version Fedora currently has. Judging by the changelog for optimist, everything should work fine with optimist 3.x as well. I will give it a try.
As far as I can see, the only export from trollop was Trollop
and it's renamed to Optimist
as expected.
So it looks like a straight substitution s/trollop/optimist/g s/Trollop/Optimist/g
is working fine. I'll test it out a little more thoroughly later and post a PR.
We currently have a dependency on the gem
trollop
: https://rubygems.org/gems/trolloptrollop
is now deprecated, and renamed tooptimist
: https://rubygems.org/gems/optimistWarning visible when installing
trollop
gem:Note: Rename was actioned with Trollop/Optimist release v3.0.0 (2018-08-24). See: https://github.com/ManageIQ/optimist/commit/21de13a56e157b77d52168812e7fcd890cb3e13a