google-api-client gem; we run from a forked version of the
gem which already has the necessary fix.
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>
# 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
-# 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'