-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMoya.podspec
43 lines (38 loc) · 1.41 KB
/
Moya.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Pod::Spec.new do |s|
s.name = "Moya"
s.version = "1.1.1"
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.
A ReactiveCocoa extension exists as well. Instructions for its installation
are in [the README](https://github.com/ashfurrow/Moya).
EOS
s.homepage = "https://github.com/AshFurrow/Moya"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Ash Furrow" => "[email protected]" }
s.social_media_url = "http://twitter.com/ashfurrow"
s.platform = :ios, "8.0"
s.source = { :git => "https://github.com/ashfurrow/Moya.git", :tag => s.version }
s.default_subspec = "Core"
s.requires_arc = true
s.subspec "Core" do |ss|
ss.source_files = "Moya/*.swift"
ss.dependency "Alamofire", "~> 1.2.0"
ss.framework = "Foundation"
end
s.subspec "ReactiveCore" do |ss|
ss.source_files = "Moya/ReactiveCore/*.swift"
ss.dependency "Moya/Core"
end
s.subspec "ReactiveCocoa" do |ss|
ss.source_files = "Moya/ReactiveCocoa/*.swift"
ss.dependency "Moya/ReactiveCore"
ss.dependency "ReactiveCocoa", "3.0-beta.6"
end
s.subspec "RxSwift" do |ss|
ss.source_files = "Moya/RxSwift/*.swift"
ss.dependency "Moya/ReactiveCore"
ss.dependency "RxSwift", "~> 1.4"
end
end