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
Patch for working with ruby 2.5+ #12
Patch for working with ruby 2.5+ #12
Conversation
|
Wow, thanks @ngoral ❤️ |
|
Thanks for the patch. |
Since ruby 2.5 +write+ accepts more than one argument. Concider everyone calls +to_s+ on Hashes and Symbols
85bf430
to
bb9fd45
Compare
|
@marcandre I reconsidered the patch a bit. We now make a small consideration but unlike the previous version, this one won't break default writing to pipes |
|
I'm ok to merge this. The ideal patch in my opinion would be to use refinements instead for the method(s) that are now incompatible (or can potentially be). IIRC these cheats are not even needed anyways, right? |
|
Released v1.3.11 Are you up to writing a PR where either |
|
Sorry, I reverted my mistake 🤦♂️ and excluded TTYs instead. v1.3.13 released |
I believe this is closely related to marcandre#12: not all the streams are seekable. Unfortunately not all the non-tty streams are seekable too, pipes are a problem. So instead of checking if the stream is not a tty, let's use minitar's seekable? test.
I believe this is closely related to marcandre#12: not all the streams are seekable. Unfortunately not all the non-tty streams are seekable too, pipes are a problem. So instead of checking if the stream is not a tty, let's use minitar's seekable? test.
I believe this is closely related to marcandre#12: not all the streams are seekable. Unfortunately not all the non-tty streams are seekable too, pipes are a problem. So instead of checking if the stream is not a tty, let's use minitar's seekable? test.
I believe this is closely related to marcandre#12: not all the streams are seekable. Unfortunately not all the non-tty streams are seekable too, pipes are a problem. So instead of checking if the stream is not a tty, let's use minitar's seekable? test.
I believe this is closely related to marcandre#12: not all the streams are seekable. Unfortunately not all the non-tty streams are seekable too, pipes are a problem. So instead of checking if the stream is not a tty, let's use minitar's seekable? test.
See #12 Adapted from minitar's seekable? test.
See #12 Adapted from minitar's seekable? test.
Patch fixing illegal seek issue on Linux with Ruby 2.5 and higher