File tree Expand file tree Collapse file tree 4 files changed +17
-5
lines changed Expand file tree Collapse file tree 4 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 11#Changelog
22
3+ ## 7.0.13 (2015-11-08)
4+
5+ ### 增加
6+ * 上传性能统计
7+
38## 7.0.13 (2015-10-28)
49
510### 增加
Original file line number Diff line number Diff line change 11Pod ::Spec . new do |s |
22 s . name = 'Qiniu'
3- s . version = '7.0.13 '
3+ s . version = '7.0.14 '
44 s . summary = 'Qiniu Resource Storage SDK for iOS and Mac'
55 s . homepage = 'https://github.com/qiniu/objc-sdk'
66 s . social_media_url = 'http://weibo.com/qiniutek'
@@ -18,7 +18,7 @@ Pod::Spec.new do |s|
1818 s . license = { :type => 'MIT' , :text => <<-LICENSE
1919The MIT License (MIT)
2020
21- Copyright (c) 2012-2014 qiniu.com
21+ Copyright (c) 2011-2015 qiniu.com
2222
2323Permission is hereby granted, free of charge, to any person obtaining a copy
2424of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 1111/* *
1212 * sdk 版本
1313 */
14- static const NSString *kQiniuVersion = @" 7.0.13 " ;
14+ static const NSString *kQiniuVersion = @" 7.0.14 " ;
Original file line number Diff line number Diff line change @@ -21,15 +21,22 @@ - (void)testEtagZero {
2121 XCTAssert ([@" Fto5o-5ea0sNMlW_75VgGJCv2AcJ" isEqualToString: [QNEtag data: nil ]], @" Pass" );
2222}
2323
24- - (void )testFile {
24+ - (void )testFile5M {
2525 NSError *error;
2626 NSURL *file = [QNTempFile createTempfileWithSize: 5 * 1024 * 1024 ];
2727 NSString *x = [QNEtag file: [file relativePath ] error: &error];
28- NSLog (@" %@ " , x);
2928 XCTAssert ([@" lrMhp7oU8rzWSRlmUeGJ73Q2pVa-" isEqualToString: x], @" Pass" );
3029 [QNTempFile removeTempfile: file];
3130}
3231
32+ - (void )testFile3M {
33+ NSError *error;
34+ NSURL *file = [QNTempFile createTempfileWithSize: 3 * 1024 * 1024 ];
35+ NSString *x = [QNEtag file: [file relativePath ] error: &error];
36+ XCTAssert ([@" Fh5fje9Auwyw9xVrnCurnvtJz7aZ" isEqualToString: x], @" Pass" );
37+ [QNTempFile removeTempfile: file];
38+ }
39+
3340- (void )testData {
3441 NSData *data = [@" etag" dataUsingEncoding: NSUTF8StringEncoding];
3542 NSLog (@" %@ " , [QNEtag data: data]);
You can’t perform that action at this time.
0 commit comments