forked from mxcl/OMGHTTPURLRQ
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOMGHTTPURLRQ.podspec
More file actions
38 lines (28 loc) · 1.15 KB
/
OMGHTTPURLRQ.podspec
File metadata and controls
38 lines (28 loc) · 1.15 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
Pod::Spec.new do |s|
s.name = "OMGHTTPURLRQ"
`xcodebuild -project #{s.name}.xcodeproj -showBuildSettings` =~ /CURRENT_PROJECT_VERSION = ((\d\.)+\d)/
abort 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', :text => 'See README.markdown for full license text.' }
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' => 'mxcl@me.com' }
s.requires_arc = true
s.ios.deployment_target = '5.0'
s.osx.deployment_target = '10.7'
s.watchos.deployment_target = '2.0'
s.default_subspecs = 'RQ'
s.subspec 'RQ' do |ss|
ss.source_files = 'Sources/OMGHTTPURLRQ.{h,m}'
ss.dependency 'OMGHTTPURLRQ/UserAgent'
ss.dependency 'OMGHTTPURLRQ/FormURLEncode'
end
s.subspec 'UserAgent' do |ss|
ss.source_files = 'Sources/OMGUserAgent.{h,m}'
end
s.subspec 'FormURLEncode' do |ss|
ss.source_files = 'Sources/OMGFormURLEncode.{h,m}'
end
end