Closed ganmacs closed 5 years ago
Hmm, looks like unpack1
is undefined on 2.3...
The previous way is unpack(...).first
.
I am happy to go back to unpack(...).first
but I start asking myself is it really good idea? It's slower, Ruby 2.3 is EOL, etc. I know for some business it's important.
Maybe simpler option is to have monkey patch for backwards compatibility, e.g. if ruby is 2.3, define unpack1
, etc. What do you think?
Maybe simpler option is to have monkey patch for backwards compatibility, e.g. if ruby is 2.3, define unpack1, etc. What do you think?
looks good. I'll do that.
@ioquatix friendly ping
Thank you for friendly ping. I will review this weekend.
Thanks for your effort here.
@ganmacs there are more issues to sort out: https://github.com/socketry/async-http/issues/24
ref https://github.com/socketry/protocol-http/pull/5#issuecomment-503583836