-
Notifications
You must be signed in to change notification settings - Fork 76
/
MMRecord.podspec
58 lines (47 loc) · 1.7 KB
/
MMRecord.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
54
55
56
57
58
Pod::Spec.new do |s|
s.name = 'MMRecord'
s.version = '1.4.1'
s.license = 'MIT'
s.summary = 'A simple block based web service integration library.'
s.homepage = 'https://github.com/MutualMobile/MMRecord'
s.authors = { 'Conrad Stoll' => '[email protected]' }
s.source = { :git => 'https://github.com/mutualmobile/MMRecord.git', :tag => s.version.to_s }
s.requires_arc = true
s.default_subspec = 'Core'
s.ios.deployment_target = '6.0'
s.ios.frameworks = 'CoreData'
s.osx.deployment_target = '10.8'
s.osx.frameworks = 'CoreData'
s.subspec 'Core' do |core|
core.source_files = 'Source/MMRecord/*.{h,m}'
end
s.subspec 'AFServer' do |af|
af.source_files = 'Source/MMRecordAFServer/*.{h,m}'
af.dependency 'AFNetworking', '~> 1.0'
af.dependency 'MMRecord/Core'
end
s.subspec 'DynamicModel' do |dyn|
dyn.source_files = 'Source/MMRecordDynamicModel/*.{h,m}'
dyn.dependency 'MMRecord/Core'
end
s.subspec 'JSONServer' do |json|
json.source_files = 'Source/MMRecordJSONServer/*.{h,m}'
json.dependency 'MMRecord/Core'
end
s.subspec 'ResponseSerializer' do |ser|
ser.source_files = 'Source/AFMMRecordResponseSerializer/*.{h,m}'
ser.dependency 'AFNetworking', '>= 2.0'
ser.dependency 'MMRecord/Core'
end
s.subspec 'SessionManagerServer' do |sms|
sms.source_files = 'Source/AFMMRecordSessionManagerServer/*.{h,m}'
sms.dependency 'AFNetworking', '>= 2.0'
sms.dependency 'MMRecord/Core'
end
s.subspec 'TweakModel' do |tm|
tm.ios.deployment_target = '6.0'
tm.source_files = 'Source/FBMMRecordTweakModel/*.{h,m}'
tm.dependency 'MMRecord/Core'
tm.dependency 'Tweaks', '>= 1.1.0'
end
end