diff --git a/lib/gpsoauth.rb b/lib/gpsoauth.rb index 5c2645e..cf22ae1 100644 --- a/lib/gpsoauth.rb +++ b/lib/gpsoauth.rb @@ -16,7 +16,7 @@ class << self @@cookie = "" def performAuthRequest(data, cookie = @@cookie) - response = HTTParty.post(AUTH_URL, body: data, headers: {'User-Agent': USER_AGENT, 'Cookie': cookie}) + response = HTTParty.post(AUTH_URL, body: data, headers: {'User-Agent' => USER_AGENT, 'Cookie' => cookie}) @@cookies = response.headers['Set-Cookie'] if response.headers['Set-Cookie'] return Google.parseAuthResponse(response.body) end diff --git a/lib/gpsoauth/version.rb b/lib/gpsoauth/version.rb index 6d07a9a..592361c 100644 --- a/lib/gpsoauth/version.rb +++ b/lib/gpsoauth/version.rb @@ -1,3 +1,3 @@ module Gpsoauth - VERSION = "0.1.1" + VERSION = "0.1.2" end