From 510e9566ef09e7f9db7c100d705d04d71bf550bb Mon Sep 17 00:00:00 2001 From: Jiexi Date: Tue, 30 Aug 2016 11:04:02 +0800 Subject: [PATCH 1/3] modify version to 1.2.0 --- ProjectOxfordFace.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProjectOxfordFace.podspec b/ProjectOxfordFace.podspec index 36877cc..fc49114 100644 --- a/ProjectOxfordFace.podspec +++ b/ProjectOxfordFace.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "ProjectOxfordFace" - s.version = "1.1" + s.version = "1.2.0" s.summary = "Microsoft Project Oxford Face iOS SDK" s.description = <<-DESC From 5bc01094fa3b9d50667c8d7e5dba8a911d6ae489 Mon Sep 17 00:00:00 2001 From: Jiexi Date: Tue, 30 Aug 2016 13:27:20 +0800 Subject: [PATCH 2/3] modify some API --- Pod/Classes/MPOFaceServiceClient.h | 2 +- Pod/Classes/MPOFaceServiceClient.m | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Pod/Classes/MPOFaceServiceClient.h b/Pod/Classes/MPOFaceServiceClient.h index c83cc68..617c792 100644 --- a/Pod/Classes/MPOFaceServiceClient.h +++ b/Pod/Classes/MPOFaceServiceClient.h @@ -153,7 +153,7 @@ typedef void (^MPOFaceListMetadataArrayCompletionBlock)(NSArray Date: Tue, 30 Aug 2016 13:42:17 +0800 Subject: [PATCH 3/3] fix a typo --- Pod/Classes/MPOFaceServiceClient.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pod/Classes/MPOFaceServiceClient.m b/Pod/Classes/MPOFaceServiceClient.m index 4e508f2..3bd1be4 100644 --- a/Pod/Classes/MPOFaceServiceClient.m +++ b/Pod/Classes/MPOFaceServiceClient.m @@ -161,7 +161,7 @@ typedef void(^PORequestCompletionBlock)(NSURLResponse *response, id responseObje - (NSURLSessionDataTask *)verifyWithFaceId:(NSString *)faceId personId:(NSString *)personId personGroupId:(NSString *)personGroupId completionBlock:(void (^) (MPOVerifyResult *verifyResult, NSError *error))completion { - return [self startTaskWithHttpMethod:@"POST" path:@"verify" parameters:@{@"faceId" : faceId, @"personId" : personId, personGroupId: @ "personGroupId"} urlParams:nil bodyData:nil completion:^(NSURLResponse *response, id responseObject, NSError *error) { + return [self startTaskWithHttpMethod:@"POST" path:@"verify" parameters:@{@"faceId" : faceId, @"personId" : personId, @"personGroupId": personGroupId} urlParams:nil bodyData:nil completion:^(NSURLResponse *response, id responseObject, NSError *error) { MPOVerifyResult *verifyResult = nil;