Repository navigation
Expand file tree
/
Copy pathSwiftyJSONMappable.podspec
More file actions
52 lines (38 loc) · 2.36 KB
/
Copy pathSwiftyJSONMappable.podspec
File metadata and controls
52 lines (38 loc) · 2.36 KB
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
Pod::Spec.new do |s|
s.name = "SwiftyJSONMappable"
s.version = "1.0.3"
s.summary = "SwiftyJSON extensions JSON->Model Model->JSON model->JSONString."
s.description = <<-DESC
JSONMappable implement [SwiftyJSON](https://github.com/SwiftyJSON/SwiftyJSON)
Response+JSONMappable [Moya](https://github.com/Moya/Moya)
Observable+JSONMappable [RxSwift](https://github.com/ReactiveX/RxSwift)
DESC
s.homepage = "https://github.com/ApterKing/SwiftyJSONMappable"
# ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.license = "MIT"
# s.license = { :type => "MIT", :file => "LICENSE" }
# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.author = { "ApterKing" => "wangcccong@outlook.com" }
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.platform = :ios, "8.0"
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.source = { :git => "https://github.com/ApterKing/SwiftyJSONMappable.git", :tag => "#{s.version}" }
# ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.requires_arc = true
s.default_subspec = "Mappable"
s.subspec "Mappable" do |ss|
ss.source_files = "Pod/Classes/JSONMappable.swift"
ss.dependency "SwiftyJSON", "~>3.1.4"
ss.frameworks = "Foundation"
end
s.subspec "Moya" do |ss|
ss.source_files = "Pod/Classes/Response+JSONMappable.swift"
ss.dependency "Moya"
ss.dependency "SwiftyJSONMappable/Mappable"
end
s.subspec "RxSwift" do |ss|
ss.source_files = "Pod/Classes/Observable+JSONMappable.swift"
ss.dependency "Moya/RxSwift"
ss.dependency "SwiftyJSONMappable/Moya"
end
end