Skip to content

Commit

Permalink
Update podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
onevcat committed Dec 8, 2018
1 parent 84e59e2 commit c41abb1
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 28 deletions.
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
source "https://rubygems.org"

gem "fastlane"
gem "jazzy"
gem "jazzy"
gem "cocoapods", "~> 1.6.0.beta"
17 changes: 9 additions & 8 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,26 @@ GEM
atomos (0.1.3)
babosa (1.0.2)
claide (1.0.2)
cocoapods (1.5.3)
cocoapods (1.6.0.beta.2)
activesupport (>= 4.0.2, < 5)
claide (>= 1.0.2, < 2.0)
cocoapods-core (= 1.5.3)
cocoapods-core (= 1.6.0.beta.2)
cocoapods-deintegrate (>= 1.0.2, < 2.0)
cocoapods-downloader (>= 1.2.0, < 2.0)
cocoapods-downloader (>= 1.2.2, < 2.0)
cocoapods-plugins (>= 1.0.0, < 2.0)
cocoapods-search (>= 1.0.0, < 2.0)
cocoapods-stats (>= 1.0.0, < 2.0)
cocoapods-trunk (>= 1.3.0, < 2.0)
cocoapods-trunk (>= 1.3.1, < 2.0)
cocoapods-try (>= 1.1.0, < 2.0)
colored2 (~> 3.1)
escape (~> 0.0.4)
fourflusher (~> 2.0.1)
gh_inspector (~> 1.0)
molinillo (~> 0.6.5)
molinillo (~> 0.6.6)
nap (~> 1.0)
ruby-macho (~> 1.1)
xcodeproj (>= 1.5.7, < 2.0)
cocoapods-core (1.5.3)
ruby-macho (~> 1.3, >= 1.3.1)
xcodeproj (>= 1.7.0, < 2.0)
cocoapods-core (1.6.0.beta.2)
activesupport (>= 4.0.2, < 6)
fuzzy_match (~> 2.0.4)
nap (~> 1.0)
Expand Down Expand Up @@ -219,6 +219,7 @@ PLATFORMS
ruby

DEPENDENCIES
cocoapods (~> 1.6.0.beta)
fastlane
jazzy

Expand Down
48 changes: 29 additions & 19 deletions Kingfisher.podspec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Pod::Spec.new do |s|

s.name = "Kingfisher"
s.version = "4.10.1"
s.version = "5.0.0"
s.summary = "A lightweight and pure Swift implemented library for downloading and cacheing image from the web."

s.description = <<-DESC
Kingfisher is a lightweight and pure Swift implemented library for downloading and cacheing image from the web. It provides you a chance to use pure Swift alternation in your next app.
Kingfisher is a powerful and pure Swift implemented library for downloading and cacheing image from the web. It provides you a chance to use pure Swift alternation in your next app.
* Everything in Kingfisher goes asynchronously, not only downloading, but also caching. That means you can never worry about blocking your UI thread.
* Multiple-layer cache. Downloaded image will be cached in both memory and disk. So there is no need to download it again and this could boost your app dramatically.
Expand All @@ -27,29 +27,39 @@ Pod::Spec.new do |s|

s.swift_version = "4.2"

s.ios.deployment_target = "8.0"
s.tvos.deployment_target = "9.0"
s.osx.deployment_target = "10.10"
s.ios.deployment_target = "10.0"
s.tvos.deployment_target = "10.0"
s.osx.deployment_target = "10.12"
s.watchos.deployment_target = "3.0"

s.source = { :git => "https://github.com/onevcat/Kingfisher.git", :tag => s.version }

s.source_files = ["Sources/*.swift", "Sources/Kingfisher.h", "Sources/Kingfisher.swift"]
s.source_files = ["Sources/**/*.swift", "Sources/Kingfisher.h"]
s.public_header_files = ["Sources/Kingfisher.h"]

s.osx.exclude_files = ["Sources/AnimatedImageView.swift", "Sources/UIButton+Kingfisher.swift", "Sources/WKInterfaceImage+Kingfisher.swift"]
s.watchos.exclude_files = ["Sources/AnimatedImageView.swift",
"Sources/UIButton+Kingfisher.swift",
"Sources/ImageView+Kingfisher.swift",
"Sources/NSButton+Kingfisher.swift",
"Sources/Indicator.swift",
"Sources/Filter.swift",
"Sources/Placeholder.swift"
]
s.ios.exclude_files = ["Sources/NSButton+Kingfisher.swift", "Sources/WKInterfaceImage+Kingfisher.swift"]
s.tvos.exclude_files = ["Sources/NSButton+Kingfisher.swift", "Sources/WKInterfaceImage+Kingfisher.swift"]

s.osx.exclude_files = [
"Sources/Views/AnimatedImageView.swift",
"Sources/Extensions/UIButton+Kingfisher.swift",
"Sources/Extensions/WKInterfaceImage+Kingfisher.swift"
]
s.watchos.exclude_files = [
"Sources/Views/AnimatedImageView.swift",
"Sources/Extensions/UIButton+Kingfisher.swift",
"Sources/Extensions/ImageView+Kingfisher.swift",
"Sources/Extensions/NSButton+Kingfisher.swift",
"Sources/Views/Indicator.swift",
"Sources/Image/Filter.swift",
"Sources/Image/Placeholder.swift"
]
s.ios.exclude_files = [
"Sources/Extensions/NSButton+Kingfisher.swift",
"Sources/Extensions/WKInterfaceImage+Kingfisher.swift"
]
s.tvos.exclude_files = [
"Sources/Extensions/NSButton+Kingfisher.swift",
"Sources/Extensions/WKInterfaceImage+Kingfisher.swift"
]
s.requires_arc = true
s.framework = "CFNetwork"
s.frameworks = "CFNetwork", "Accelerate"

end

0 comments on commit c41abb1

Please sign in to comment.