-
Notifications
You must be signed in to change notification settings - Fork 18
/
DDModel.podspec
42 lines (35 loc) · 1.38 KB
/
DDModel.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
Pod::Spec.new do |s|
s.name = 'DDModel'
s.version = '1.2.2'
s.license = 'MIT'
s.summary = 'a HTTP-JSON-ORM-Persisent Object Kit'
s.homepage = 'https://github.com/openboy2012/DDModel.git'
s.author = { 'DeJohn Dong' => '[email protected]' }
s.source = { :git => 'https://github.com/openboy2012/DDModel.git',:tag =>s.version.to_s}
s.ios.deployment_target = '7.0'
s.public_header_files = 'DDModel/Classes/DDModelKit.h'
s.source_files = 'DDModel/Classes/DDModelKit.h'
s.requires_arc = true
s.subspec 'Categories' do |ss|
ss.source_files = 'DDModel/Classes/{NS}*.{h,m}'
end
s.subspec 'Cache' do |ss|
ss.dependency 'DDModel/Categories'
ss.dependency 'XMLDictionary','1.4'
ss.dependency 'SQLitePersistentObject','0.3.2'
ss.source_files = 'DDModel/Classes/DDCache.{h,m}'
end
s.subspec 'HTTP' do |ss|
ss.dependency 'DDModel/Categories'
ss.dependency 'AFNetworking', '3.1.0'
ss.dependency 'MBProgressHUD','0.9.2'
ss.source_files = 'DDModel/Classes/DDModelHttpClient.{h,m}', 'DDModel/Classes/DDModelHttpClient+DDAddition.{h,m}', 'DDModel/Classes/AFHTTPSessionManager+DDModel.{h,m}'
end
s.subspec 'Core' do |ss|
ss.dependency 'DDModel/Cache'
ss.dependency 'DDModel/Categories'
ss.dependency 'DDModel/HTTP'
ss.dependency 'JTObjectMapping','1.1.2'
ss.source_files = 'DDModel/Classes/DDModel.{h,m}', 'DDModel/Classes/DDModel+DDAddition.{h,m}'
end
end