From 7db076c2eb948f5805608b8f9c613631f58520cc Mon Sep 17 00:00:00 2001 From: longbai Date: Thu, 21 Dec 2017 11:28:00 +0800 Subject: [PATCH] release 7.2.3 --- Qiniu.podspec | 2 +- QiniuSDK/Common/QNVersion.h | 2 +- QiniuSDK/Storage/QNUpToken.m | 2 +- QiniuSDKTests/QNUpTokenTest.m | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) mode change 100755 => 100644 QiniuSDKTests/QNUpTokenTest.m diff --git a/Qiniu.podspec b/Qiniu.podspec index 45d9c8d8..30474f7e 100755 --- a/Qiniu.podspec +++ b/Qiniu.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'Qiniu' - s.version = '7.2.2' + s.version = '7.2.3' s.summary = 'Qiniu Resource Storage SDK for iOS and Mac' s.homepage = 'https://github.com/qiniu/objc-sdk' s.social_media_url = 'http://weibo.com/qiniutek' diff --git a/QiniuSDK/Common/QNVersion.h b/QiniuSDK/Common/QNVersion.h index bbde5602..dc19bbd7 100755 --- a/QiniuSDK/Common/QNVersion.h +++ b/QiniuSDK/Common/QNVersion.h @@ -11,4 +11,4 @@ /** * sdk 版本 */ -static const NSString *kQiniuVersion = @"7.2.2"; +static const NSString *kQiniuVersion = @"7.2.3"; diff --git a/QiniuSDK/Storage/QNUpToken.m b/QiniuSDK/Storage/QNUpToken.m index 628b97ab..a89306cb 100644 --- a/QiniuSDK/Storage/QNUpToken.m +++ b/QiniuSDK/Storage/QNUpToken.m @@ -37,7 +37,7 @@ - (NSString *)getAccess { - (NSString *)getBucket:(NSDictionary *)info { NSString *scope = [info objectForKey:@"scope"]; - if (!scope || [scope isKindOfClass:[NSNull class]] ) { + if (!scope || [scope isKindOfClass:[NSNull class]]) { return @""; } diff --git a/QiniuSDKTests/QNUpTokenTest.m b/QiniuSDKTests/QNUpTokenTest.m old mode 100755 new mode 100644 index 23cc6d1c..11f94b2e --- a/QiniuSDKTests/QNUpTokenTest.m +++ b/QiniuSDKTests/QNUpTokenTest.m @@ -62,5 +62,4 @@ - (void)testScopeNull { XCTAssert([t.bucket isEqualToString:@""], @"Pass"); } - @end