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
Add Ruby 2.5 support #648
Add Ruby 2.5 support #648
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
770b7a3
to
5389945
Compare
5389945
to
40f78b2
Compare
@sqrrrl This issue with Ruby 2.5 compatibility which this PR addresses is a showstopper for us and for anyone trying to use the |
I signed it! |
CLAs look good, thanks! |
Can't go to 2.5 due to https://bugs.ruby-lang.org/issues/14071 :-(
Any resolution to this issue? |
Hey @grant, sorry for bugging you! Any chance that it could be merged? A lot of production projects are suffering... |
* Multi-line headers are no longer acceptable. * googleapis#648
To fix a bug with multiline syslog messages: googleapis/google-api-ruby-client#648
To fix a bug with multiline syslog messages: googleapis/google-api-ruby-client#648
To support Ruby 2.5+ on `google-api-client 0.8.6` we need to strip the newline in `ENV::OS_VERSION`. This is a temporary solution until we can upgrade to a curent version that has this patch merged. See this [issue][1] for more. [1]: googleapis#648
Hi there!
Accordingly, to this commit ruby/ruby@0078e40, multiline headers are no more acceptable. It's a pity, but the library generates
User-Agent
with OS version which contains trailing newline.This PR solves the issue and add explicit Ruby 2.4 and 2.5 support to test against on CI.