Closed toreym closed 2 months ago
@mlen @krzyzak @keqi @ferusinfo did you consider adding this PR? What will you do about this issue?
This is now released under v4.0.0 using a different approach https://github.com/chaps-io/gush/pull/113/files
@matiasmasca @toreym
Background
In ruby 2.7 calling a method like
configure(*@arguments)
would allow for keyword arguments in a method definition likedef configure(my_param:)
In Ruby 3.0, positional arguments and keyword arguments have been separated. So they must be accounted for individuallyOverview of change
This PR will allow for a configure that accepts positional and keyword arguments as recommended in ruby 3. It will also account for any workflows in redis that were created with a prior version allowing for a drop-in replacement.
Potential breaking changes
def configure(my_param:)
there should be no problem using this version