Browse Source

bugfix and bumping the version to 0.9.3

ibireme 9 years ago
parent
commit
487c2f6db0
3 changed files with 3 additions and 3 deletions
  1. 1 1
      Framework/Info.plist
  2. 1 1
      YYCache.podspec
  3. 1 1
      YYCache/YYDiskCache.m

+ 1 - 1
Framework/Info.plist

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

+ 1 - 1
YYCache.podspec

@@ -1,7 +1,7 @@
 Pod::Spec.new do |s|
   s.name         = 'YYCache'
   s.summary      = 'High performance cache framework for iOS.'
-  s.version      = '0.9.2'
+  s.version      = '0.9.3'
   s.license      = { :type => 'MIT', :file => 'LICENSE' }
   s.authors      = { 'ibireme' => 'ibireme@gmail.com' }
   s.social_media_url = 'http://blog.ibireme.com'

+ 1 - 1
YYCache/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];