Skip to content
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

Fix argument delegation (Ruby 3x) #185

Merged
merged 2 commits into from
Dec 13, 2023

Conversation

chelnak
Copy link
Contributor

@chelnak chelnak commented Mar 29, 2023

Prior to this change, using childprocess in a Ruby 3 environment would generate wrong number of arguments errors.

This change attempts to address the errors by ensuring that we are properly delegating arguments in childprocess and the abstract_process classes.

Tests appear to pass locally on Ruby 3.2.0.

Happy to take direction/feedback.

Prior to this change, using childprocess in a Ruby 3 environment would
generate `wrong number of arguments` errors.

This commit attempts to address the errors by ensuring that we are
properly delegating arguments in childprocess and the abstract_process
classes.
@chelnak chelnak changed the title Fix argument delegation Fix argument delegation (Ruby 3x) Mar 29, 2023
@chelnak
Copy link
Contributor Author

chelnak commented Mar 31, 2023

Hey @jarib @enkessler @sds - I noticed that you were all owners of this gem on rubygems.org.

Would it be possible to get some help with this PR?

Thank you 😄

This commit updates msvcrt_name to return the value of RUBY_SO_NAME or
ucrtbase.

Change taken from enkessler#182.
@sds sds merged commit 2fd1392 into enkessler:master Dec 13, 2023
@chelnak
Copy link
Contributor Author

chelnak commented Dec 13, 2023

@sds thanks so much for merging this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants