-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to support Ruby 3 keyword args #228
Conversation
Thanks for your contribution! For any new behavior we'll need test cases as well or is the PR just to make it work for both Ruby 2 and Ruby 3 without any new behavior? |
Blocked by gh-229 |
Please rebase your PR, so we can see the results of the tests for different Ruby versions |
Rebased and awaiting workflow approval, thank you. |
I'll dig a little deeper into the Thanks for getting GitHub actions online for this project. |
You could also add other intermediate Ruby versions (2.5, 2.6) to https://github.com/geekq/workflow/blob/develop/.github/workflows/test.yml#L15 so we can see, when it became incompatible. Then we can read release notes of the Ruby version, which changed things etc. If you rebase your own BTW, the
If in your PR you check the checkbox "[ ] Allow edits from maintainers", I could do it as well or provide changes. |
If after reading Ruby release notes / investigating etc., it comes out, that an incompatible change is needed, please also describe the motivation of this PR: what is exactly the win for the users, which would justify introducing a new incompatible major version |
ef0a5c7
to
635373b
Compare
The motivation for this change is Ruby 2.6 is EOL, and Ruby 2.7 has entered security security maintenance with an anticipated EOL of 2023-03-31. We initially encountered deprecation in 2.7 and ignored it, but have been forced to deal with the change as we prepare our applications for Ruby 3. In my research and testing the separation of positional and keyword args begins a deprecation warning in We're comfortable running on a fork to support our Ruby 3 applications, if a new major release is not on the horizon for this project. Our motivation for the PR is to contribute our findings back to you and the community. Thanks for your excellent work, and I appreciate your guidance through GitHub/PR process. Our workflow is entirely in GitLab, which is similar enough - but not what I do every day. I hope to increase our frequency of communications back to the community. |
Thanks for your elaborate explanation! Will quote/link it in release notes. Will prepare a major gem release soon... Will also use GitHub action's |
aec7bad
to
1561232
Compare
https://rubygems.org/gems/workflow/versions/3.0.0 released, available for testing |
Reference to Ruby 3 API change: https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/