Command line client no longer checks for an exact match on the buzz scopes.

git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@108 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
This commit is contained in:
Bob Aman 2011-01-05 01:09:57 +00:00
parent 0b49c3fd2e
commit b4c37949dc
1 changed files with 2 additions and 2 deletions

View File

@ -232,8 +232,8 @@ HTML
scope = options[:scope] scope = options[:scope]
# Special cases # Special cases
case scope case scope
when "https://www.googleapis.com/auth/buzz", when /https:\/\/www\.googleapis\.com\/auth\/buzz/,
"https://www.googleapis.com/auth/buzz.readonly" /https:\/\/www\.googleapis\.com\/auth\/buzz\.readonly/
oauth_client.authorization_uri = oauth_client.authorization_uri =
'https://www.google.com/buzz/api/auth/OAuthAuthorizeToken?' + 'https://www.google.com/buzz/api/auth/OAuthAuthorizeToken?' +
"domain=#{oauth_client.client_credential_key}&" + "domain=#{oauth_client.client_credential_key}&" +