Skip to content

Commit

Permalink
Update to Google’s latest version of GTMAppAuth
Browse files Browse the repository at this point in the history
  • Loading branch information
Zsika Phillip committed May 12, 2017
1 parent 6ef07c7 commit 780f6a9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions GTMAppAuth.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "GTMAppAuth"
s.version = "0.5.1"
s.version = "0.6.0"
s.summary = "Authorize GTM Session Fetcher requests with AppAuth via GTMAppAuth"

s.description = <<-DESC
Expand All @@ -22,6 +22,7 @@ requests with AppAuth.
s.homepage = "https://github.com/google/GTMAppAuth"
s.license = "Apache License, Version 2.0"
s.authors = { "William Denniss" => "wdenniss@google.com",
"Zsika Phillip" => "zsika@google.com",
}

s.source = { :git => "https://github.com/google/GTMAppAuth.git", :tag => s.version }
Expand All @@ -43,5 +44,5 @@ requests with AppAuth.

s.frameworks = 'Security', 'SystemConfiguration'
s.dependency 'GTMSessionFetcher', '~> 1.1'
s.dependency 'AppAuth', '~> 0.7.0'
s.dependency 'AppAuth', '~> 0.9.0'
end
2 changes: 1 addition & 1 deletion Source/GTMTVAuthorizationResponse.h
Expand Up @@ -69,7 +69,7 @@ extern NSString *const GTMTVDeviceTokenGrantType;
properties are populated. Non-normative parameters are placed in the
@c #additionalParameters dictionary.
*/
- (nullable instancetype)initWithRequest:(GTMTVAuthorizationRequest *)request
- (instancetype)initWithRequest:(GTMTVAuthorizationRequest *)request
parameters:(NSDictionary<NSString *, NSObject<NSCopying> *> *)parameters
NS_DESIGNATED_INITIALIZER;

Expand Down
4 changes: 2 additions & 2 deletions Source/GTMTVAuthorizationResponse.m
Expand Up @@ -99,10 +99,10 @@ @implementation GTMTVAuthorizationResponse

#pragma mark - Initializers

- (nullable instancetype)init
- (instancetype)init
OID_UNAVAILABLE_USE_INITIALIZER(@selector(initWithRequest:parameters:));

- (nullable instancetype)initWithRequest:(GTMTVAuthorizationRequest *)request
- (instancetype)initWithRequest:(GTMTVAuthorizationRequest *)request
parameters:(NSDictionary<NSString *, NSObject<NSCopying> *> *)parameters {
self = [super initWithRequest:request parameters:parameters];
return self;
Expand Down

0 comments on commit 780f6a9

Please sign in to comment.