-
-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy pathOMGHTTPURLRQ.podspec
39 lines (29 loc) · 1.18 KB
/
OMGHTTPURLRQ.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
Pod::Spec.new do |s|
s.name = "OMGHTTPURLRQ"
`xcodebuild -project #{s.name}.xcodeproj -showBuildSettings` =~ /CURRENT_PROJECT_VERSION = ((\d\.)+\d)/
abort("No version detected") if $1.nil?
s.version = $1
s.homepage = "https://github.com/mxcl/#{s.name}"
s.source = { :git => "https://github.com/mxcl/#{s.name}.git", :tag => s.version }
s.license = { type: 'MIT' }
s.summary = 'Vital extensions to NSURLRequest that Apple left out for some reason (including creating multipart/form-data POSTs)'
s.social_media_url = 'https://twitter.com/mxcl'
s.authors = { 'Max Howell' => '[email protected]' }
s.requires_arc = true
s.ios.deployment_target = '5.0'
s.osx.deployment_target = '10.9'
s.watchos.deployment_target = '2.0'
s.tvos.deployment_target = '9.0'
s.default_subspecs = 'RQ'
s.subspec 'RQ' do |ss|
ss.source_files = 'Sources/RQ/OMGHTTPURLRQ.{h,m}'
ss.dependency 'OMGHTTPURLRQ/UserAgent'
ss.dependency 'OMGHTTPURLRQ/FormURLEncode'
end
s.subspec 'UserAgent' do |ss|
ss.source_files = 'Sources/UserAgent/OMGUserAgent.{h,m}'
end
s.subspec 'FormURLEncode' do |ss|
ss.source_files = 'Sources/FormURLEncode/OMGFormURLEncode.{h,m}'
end
end