Files
Moya/Moya.podspec
T
Scott Hoyt 58a2907953 Update SwiftLint config for new Sources dir. (+2 squashed commits)
Squashed commits:
[8060736] Fix Podspec for new Sources folder structure.
[bfcf0de] Exclude Tests in gathering coverage metrics.
2017-01-02 15:56:08 -08:00

46 lines
1.5 KiB
Ruby

Pod::Spec.new do |s|
s.name = "Moya"
s.version = "8.0.0-beta.6"
s.summary = "Network abstraction layer written in Swift"
s.description = <<-EOS
Moya abstracts network commands using Swift Generics to provide developers
with more compile-time confidence.
ReactiveSwift and RxSwift extensions exist as well. Instructions for installation
are in [the README](https://github.com/Moya/Moya).
EOS
s.homepage = "https://github.com/Moya/Moya"
s.license = { :type => "MIT", :file => "License.md" }
s.author = { "Ash Furrow" => "ash@ashfurrow.com" }
s.social_media_url = "http://twitter.com/ashfurrow"
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.10'
s.watchos.deployment_target = '2.0'
s.tvos.deployment_target = '9.0'
s.source = { :git => "https://github.com/Moya/Moya.git", :tag => s.version }
s.default_subspec = "Core"
s.subspec "Core" do |ss|
ss.source_files = "Sources/Moya/", "Sources/Moya/Plugins/"
ss.dependency "Alamofire", "~> 4.2.0"
ss.dependency "Result", "~> 3.1.0"
ss.framework = "Foundation"
end
s.subspec "ReactiveCocoa" do |ss|
ss.dependency "Moya/ReactiveSwift"
end
s.subspec "ReactiveSwift" do |ss|
ss.source_files = "Sources/ReactiveMoya/"
ss.dependency "Moya/Core"
ss.dependency "ReactiveSwift", "1.0.0"
end
s.subspec "RxSwift" do |ss|
ss.source_files = "Sources/RxMoya/"
ss.dependency "Moya/Core"
ss.dependency "RxSwift", "~> 3.1.0"
end
end