[ARVADOS] updated: 2.1.0-130-g4a5a9fd04
Git user
git at public.arvados.org
Fri May 28 19:54:16 UTC 2021
Summary of changes:
sdk/ruby/lib/arvados/google_api_client.rb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
via 4a5a9fd04a23005cb27556b4cf4366eca27157d0 (commit)
from e808b1d00eeca5be07c98fe107aae5da47444106 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 4a5a9fd04a23005cb27556b4cf4366eca27157d0
Author: Lucas Di Pentima <lucas.dipentima at curii.com>
Date: Thu May 27 11:28:50 2021 -0300
17738: Fixes the issue by strip!()ing a mutable version of OS_VERSION.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima at curii.com>
diff --git a/sdk/ruby/lib/arvados/google_api_client.rb b/sdk/ruby/lib/arvados/google_api_client.rb
index 69383d12f..5a41b11c4 100644
--- a/sdk/ruby/lib/arvados/google_api_client.rb
+++ b/sdk/ruby/lib/arvados/google_api_client.rb
@@ -6,7 +6,8 @@ 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!
+# Addendum: OS_VERSION sometimes is not mutable, that's why we duplicate it (See: #17738)
+Google::APIClient::ENV::OS_VERSION = +Google::APIClient::ENV::OS_VERSION.strip!
require 'json'
require 'tempfile'
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list