[ARVADOS] created: 1.1.4-717-gc0b02133b

Git user git at public.curoverse.com
Thu Jul 26 15:46:00 EDT 2018


        at  c0b02133b2988b05772de5f2716d152aec4864ca (commit)


commit c0b02133b2988b05772de5f2716d152aec4864ca
Author: Lucas Di Pentima <ldipentima at veritasgenetics.com>
Date:   Thu Jul 26 16:45:23 2018 -0300

    13920: Fixes google-api-client gem issue with ruby 2.3.7+
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima at veritasgenetics.com>

diff --git a/sdk/ruby/lib/arvados/google_api_client.rb b/sdk/ruby/lib/arvados/google_api_client.rb
index 93d27e649..69383d12f 100644
--- a/sdk/ruby/lib/arvados/google_api_client.rb
+++ b/sdk/ruby/lib/arvados/google_api_client.rb
@@ -3,6 +3,11 @@
 # SPDX-License-Identifier: Apache-2.0
 
 require 'google/api_client'
+# Monkeypatch google-api-client gem to avoid sending newline characters
+# on headers to make ruby-2.3.7+ happy.
+# See: https://dev.arvados.org/issues/13920
+Google::APIClient::ENV::OS_VERSION.strip!
+
 require 'json'
 require 'tempfile'
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list