Fix training status bug and bump version to 1.3.2. (#31)

This commit is contained in:
Xuan Hu (Sean) 2017-05-31 11:30:48 +08:00 коммит произвёл GitHub
Родитель e67a1ff0fb
Коммит 9434d9f58f
5 изменённых файлов: 10 добавлений и 10 удалений

Просмотреть файл

@ -1,5 +1,5 @@
PODS:
- ProjectOxfordFace (1.3.0)
- ProjectOxfordFace (1.3.2)
DEPENDENCIES:
- ProjectOxfordFace (from `../`)

Просмотреть файл

@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.3.0</string>
<string>1.3.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>

Просмотреть файл

@ -32,9 +32,9 @@
#import <Foundation/Foundation.h>
@interface MPOTrainingStatus : NSObject
@property NSString *personGroupId;
@property NSString *status;
@property NSString *startTime;
@property NSString *endTime;
@property NSString *createdDateTime;
@property NSString *lastActionDateTime;
@property NSString *message;
-(instancetype)initWithDictionary:(NSDictionary *)dict;
@end

Просмотреть файл

@ -34,10 +34,10 @@
-(instancetype)initWithDictionary:(NSDictionary *)dict {
self = [super init];
if (self) {
self.personGroupId = dict[@"personGroupId"];
self.status = dict[@"status"];
self.startTime = dict[@"startTime"];
self.endTime = dict[@"endTime"];
self.createdDateTime = dict[@"createdDateTime"];
self.lastActionDateTime = dict[@"lastActionDateTime"];
self.message = dict[@"message"];
}
return self;
}

Просмотреть файл

@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "ProjectOxfordFace"
s.version = "1.3.1"
s.version = "1.3.2"
s.summary = "Microsoft Cognitive Services - Face API iOS SDK"
s.description = <<-DESC
@ -10,7 +10,7 @@ Pod::Spec.new do |s|
s.screenshots = "https://github.com/Microsoft/Cognitive-Face-iOS/raw/master/SampleScreenshots/SampleScreenshot1.jpg","https://github.com/Microsoft/Cognitive-Face-iOS/raw/master/SampleScreenshots/SampleScreenshot2.jpg","https://github.com/Microsoft/Cognitive-Face-iOS/raw/master/SampleScreenshots/SampleScreenshot3.jpg","https://github.com/Microsoft/Cognitive-Face-iOS/raw/master/SampleScreenshots/SampleScreenshot4.jpg","https://github.com/Microsoft/Cognitive-Face-iOS/raw/master/SampleScreenshots/SampleScreenshot5.jpg","https://github.com/Microsoft/Cognitive-Face-iOS/raw/master/SampleScreenshots/SampleScreenshot6.jpg","https://github.com/Microsoft/Cognitive-Face-iOS/raw/master/SampleScreenshots/SampleScreenshot7.jpg","https://github.com/Microsoft/Cognitive-Face-iOS/raw/master/SampleScreenshots/SampleScreenshot8.jpg"
s.license = 'MIT'
s.author = { "Microsoft Cognitive Services SDK" => "oxfordGithub@microsoft.com" }
s.source = { :git => "https://github.com/Microsoft/Cognitive-Face-iOS.git", :branch => "master", :tag => '1.3.1' }
s.source = { :git => "https://github.com/Microsoft/Cognitive-Face-iOS.git", :branch => "master", :tag => '1.3.2' }
s.platform = :ios, '8.0'
s.requires_arc = true