25 lines
825 B
Ruby
25 lines
825 B
Ruby
Pod::Spec.new do |s|
|
|
s.name = "iOS-FakeWeb"
|
|
s.version = "0.1.0"
|
|
s.summary = "Simple HTTP request mocking/interception for testing module."
|
|
s.homepage = "https://github.com/dealforest/iOS-FakeWeb"
|
|
s.license = 'MIT'
|
|
s.author = { "Toshihiro Morimoto" => "dealforest.net@gmail.com" }
|
|
s.source = { :git => "https://github.com/dealforest/iOS-FakeWeb.git", :tag => "0.1.0" }
|
|
s.platform = :ios
|
|
|
|
s.requires_arc = true
|
|
|
|
s.preferred_dependency = 'NSURLConnection'
|
|
|
|
s.subspec 'NSURLConnection' do |ns|
|
|
ns.source_files = 'FakeWeb/FakeWeb*.{h,m}','FakeWeb/NSURLConnection+FakeWeb.{h,m}'
|
|
end
|
|
|
|
s.subspec 'ASIHTTPConnection' do |as|
|
|
as.dependency 'ASIHTTPConnection'
|
|
as.source_files = 'FakeWeb/FakeWeb*.{h,m}','FakeWeb/ASIHTTPRequest+FakeWeb.{h,m}'
|
|
end
|
|
|
|
end
|