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