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

Duplexed streams #45

Merged
merged 3 commits into from
Jun 23, 2015
Merged

Duplexed streams #45

merged 3 commits into from
Jun 23, 2015

Conversation

hakanensari
Copy link
Contributor

I'm adding test coverage for duplexed IO streams.

I ran into an issue with the Ox wrapper and included a workaround in the spec. All other wrappers work fine.

cc: @ohler55

This stops LibXML from writing to STDERR when testing.
I added this test when debugging Ox, which hangs when given a duplex
stream.

I managed to trick it to read the stream partially by monkey-patching
the IO object in the test. @ohler55, I’m wondering if this is something
that should be changed in Ox?

The other wrappers handle the stream fine.
@hakanensari
Copy link
Contributor Author

Ox failed in 1.8.7 and Rubinius for different reasons. The other failures are Rubocop noise.

@ohler55
Copy link

ohler55 commented Feb 10, 2015

I'll update Ox tonight if I can to get the fix in.

@hakanensari
Copy link
Contributor Author

@sferik, perhaps it's a better idea not to use Rubocop here?

sferik added a commit that referenced this pull request Jun 23, 2015
@sferik sferik merged commit 6696a96 into sferik:master Jun 23, 2015
@sferik
Copy link
Owner

sferik commented Jun 23, 2015

Thanks!

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.

3 participants