瀏覽代碼

bugfix and bumping the version to 0.9.10

ibireme 9 年之前
父節點
當前提交
d2233b87cb
共有 3 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      Framework/Info.plist
  2. 1 1
      YYWebImage.podspec
  3. 1 1
      YYWebImage/Cache/YYDiskCache.m

+ 1 - 1
Framework/Info.plist

@@ -15,7 +15,7 @@
 	<key>CFBundlePackageType</key>
 	<string>FMWK</string>
 	<key>CFBundleShortVersionString</key>
-	<string>0.9.9</string>
+	<string>0.9.10</string>
 	<key>CFBundleSignature</key>
 	<string>????</string>
 	<key>CFBundleVersion</key>

+ 1 - 1
YYWebImage.podspec

@@ -1,7 +1,7 @@
 Pod::Spec.new do |s|
   s.name         = 'YYWebImage'
   s.summary      = 'Asynchronous image loading framework.'
-  s.version      = '0.9.9'
+  s.version      = '0.9.10'
   s.license      = { :type => 'MIT', :file => 'LICENSE' }
   s.authors      = { 'ibireme' => 'ibireme@gmail.com' }
   s.social_media_url = 'http://blog.ibireme.com'

+ 1 - 1
YYWebImage/Cache/YYDiskCache.m

@@ -68,7 +68,7 @@ static NSString *_YYNSStringMD5(NSString *string) {
         __strong typeof(_self) self = _self;
         if (!self) return;
         dispatch_semaphore_wait(self->_lock, DISPATCH_TIME_FOREVER);
-        [self _trimToCost:self.countLimit];
+        [self _trimToCost:self.costLimit];
         [self _trimToCount:self.countLimit];
         [self _trimToAge:self.ageLimit];
         [self _trimToFreeDiskSpace:self.freeDiskSpaceLimit];