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

Proxy kwargs independently from positional args. Closes #571. #572

Closed

Conversation

xeger
Copy link
Contributor

@xeger xeger commented Jul 25, 2022

No description provided.

@andrykonchin
Copy link
Member

Thank you for the fix.

Could you please exclude all the not relevant formatting changes (e.g. changing '' to "")?

Also I think this change deserves a separate test case, not modifying the existing

it "behaves like the object it is trying to be" do

@xeger xeger force-pushed the issue-571-fix-ruby3-method-proxying branch from 0a9e504 to eb8329c Compare July 28, 2022 00:02
@xeger
Copy link
Contributor Author

xeger commented Jul 28, 2022

Done @andrykonchin; I also added support for proxied-method blocks and respond_to_missing? (following best practice). (The blocks were already working, but I added test coverage & made it explicit in the method-missing.)

@andrykonchin
Copy link
Member

Looks good. Thank you. But there is a failed spec on old Rubies.

@xeger
Copy link
Contributor Author

xeger commented Jul 28, 2022

I fixed the spec. Not a pretty fix, but an efficient one.

@xeger
Copy link
Contributor Author

xeger commented Jul 28, 2022

Closed in favor of #573

@xeger xeger closed this Jul 28, 2022
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.

None yet

2 participants