Open fwolfst opened 3 years ago
Pretty sure it has to do with mandatory keyword argument splatting in lib/runbook/extensions/statements.rb#method_missing
.
@fwolfst - have you been able to confirm that the latest release resolves this issue? Version 1.1.0 includes support for Ruby 3.0.
When invoking
ask
in a runbook which is executed with ruby 3.0 (3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux]
), following errors are thrown:The invocation seems correct, like
ask 'E-Mail-Address of user:', into: 'email'
and works in older ruby versions.I assume this has to do with how keyword arguments are handled in ruby 3.
Other specs also do not pass with ruby 3 (and manually loosened bundler constraint).
E.g. a similar case as for the "ask" case fails like this: