forked from AvdLee/Moya-SwiftyJSONMapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Moya-SwiftyJSONMapper.podspec
53 lines (47 loc) · 1.9 KB
/
Moya-SwiftyJSONMapper.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
48
49
50
51
52
53
#
# Be sure to run `pod lib lint Moya-SwiftyJSONMapper.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = "Moya-SwiftyJSONMapper"
s.version = "1.0.5"
s.summary = "Map objects through SwiftyJSON in combination with Moya"
s.description = <<-EOS
[SwiftyJSON](https://github.com/SwiftyJSON/SwiftyJSON) bindings for
[Moya](https://github.com/Moya/Moya) for easier JSON serialization.
Includes [RxSwift](https://github.com/ReactiveX/RxSwift/) bindings as well.
Instructions on how to use it are in
[the README](https://github.com/AvdLee/Moya-SwiftyJSONMapper).
EOS
s.homepage = "https://github.com/AvdLee/Moya-SwiftyJSONMapper"
s.license = { :type => "MIT", :file => "License" }
s.author = { "Antoine van der Lee" => "[email protected]" }
s.source = { :git => "https://github.com/AvdLee/Moya-SwiftyJSONMapper.git", :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/twannl'
s.ios.deployment_target = '9.0'
s.tvos.deployment_target = '9.0'
s.watchos.deployment_target = '2.0'
s.requires_arc = true
s.default_subspec = "Core"
s.subspec "Core" do |ss|
ss.source_files = "Source/*.swift"
ss.dependency "Moya"
ss.dependency "SwiftyJSON", "~> 3.1.0"
ss.framework = "Foundation"
end
s.subspec "RxSwift" do |ss|
ss.source_files = "Source/RxSwift/*.swift"
ss.dependency "Moya/RxSwift"
ss.dependency "Moya-SwiftyJSONMapper/Core"
ss.dependency "RxSwift"
end
s.subspec "ReactiveCocoa" do |ss|
ss.source_files = "Source/ReactiveCocoa/*.swift"
ss.dependency "Moya/ReactiveCocoa"
ss.dependency "Moya-SwiftyJSONMapper/Core"
ss.dependency "ReactiveCocoa"
end
end