This repository has been archived by the owner on May 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMoyaUnbox.podspec
47 lines (41 loc) · 1.68 KB
/
MoyaUnbox.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
44
45
46
47
Pod::Spec.new do |s|
s.name = "MoyaUnbox"
s.version = "1.0.0"
s.summary = "Unbox bindings for Moya. Includes RxSwift and ReactiveSwift bindings as well."
s.description = <<-DESC
[Unbox](https://github.com/JohnSundell/Unbox) bindings for
[Moya](https://github.com/Moya/Moya) for easier JSON serialization.
Includes [RxSwift](https://github.com/ReactiveX/RxSwift) and [ReactiveSwift](https://github.com/ReactiveCocoa/ReactiveSwift) bindings as well.
Instructions on how to use it are in
[the README](https://github.com/gperdomor/MoyaUnbox).
DESC
s.homepage = "https://github.com/gperdomor/MoyaUnbox"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Gustavo Perdomo" => "gperdomor@gmail.com" }
s.social_media_url = ""
s.ios.deployment_target = "8.0"
s.osx.deployment_target = "10.12"
s.watchos.deployment_target = "3.1"
s.tvos.deployment_target = "9.0"
s.source = { :git => "https://github.com/gperdomor/MoyaUnbox.git", :tag => s.version.to_s }
s.requires_arc = true
s.default_subspec = "Core"
s.subspec "Core" do |ss|
ss.source_files = "Sources/MoyaUnbox/*.swift"
ss.dependency "Moya", "~> 8.0"
ss.dependency "Unbox", "~> 2.4"
ss.framework = "Foundation"
end
s.subspec "RxSwift" do |ss|
ss.source_files = "Sources/RxMoyaUnbox/*.swift"
ss.dependency "MoyaUnbox/Core"
ss.dependency "Moya/RxSwift"
ss.dependency "RxSwift", "~> 3.2"
end
s.subspec "ReactiveSwift" do |ss|
ss.source_files = "Sources/ReactiveMoyaUnbox/*.swift"
ss.dependency "MoyaUnbox/Core"
ss.dependency "Moya/ReactiveCocoa"
ss.dependency "ReactiveSwift", "~> 1.0"
end
end