From 5bf059589b3e401c0c396ace32ddb60ed2f1060c Mon Sep 17 00:00:00 2001 From: Nat Welch Date: Tue, 12 Mar 2013 16:44:17 -0700 Subject: [PATCH] still trying to figure out 1.8.7 support --- lib/fog/google/compute.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/fog/google/compute.rb b/lib/fog/google/compute.rb index 6c6e5f65a..84ea33da7 100644 --- a/lib/fog/google/compute.rb +++ b/lib/fog/google/compute.rb @@ -79,10 +79,10 @@ module Fog @api_url = base_url + api_version + '/projects/' key = ::Google::APIClient::KeyUtils.load_from_pkcs12(File.expand_path(options[:google_key_location]), 'notasecret') - @client = ::Google::APIClient.new( + @client = ::Google::APIClient.new({ :application_name => "fog", - :application_version => Fog::VERSION - ) + :application_version => Fog::VERSION, + }) @client.authorization = Signet::OAuth2::Client.new( :audience => 'https://accounts.google.com/o/oauth2/token', :auth_provider_x509_cert_url => "https://www.googleapis.com/oauth2/v1/certs",