Skip to content

Commit

Permalink
podspec fix
Browse files Browse the repository at this point in the history
  • Loading branch information
evermeer committed Oct 24, 2016
1 parent 36a0b21 commit b3f3109
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion EVURLCache.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Pod::Spec.new do |s|
#

s.name = "EVURLCache"
s.version = "3.0.1"
s.version = "3.0.2"
s.summary = "NSURLCache subclass for handeling all web requests that use NSURLRequest"
s.description = "This is a NSURLCache subclass for handeling all web requests that use NSURLRequest. (This includes UIWebView)"
s.homepage = "https://github.com/evermeer/EVURLCache"
Expand Down
2 changes: 1 addition & 1 deletion EVURLCache/Pod/EVURLCache.swift
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ open class EVURLCache: URLCache {
if let modDate: Date = attributes[FileAttributeKey.modificationDate] as? Date {
// Test if the file is older than the max age
if let threshold: TimeInterval = Double(maxAge) {
let modificationTimeSinceNow: TimeInterval? = -modDate.timeIntervalSinceNow
let modificationTimeSinceNow: TimeInterval = -modDate.timeIntervalSinceNow
return modificationTimeSinceNow > threshold
}
}
Expand Down

0 comments on commit b3f3109

Please sign in to comment.