forked from prachigauriar/URLMock
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathURLMock.podspec
More file actions
50 lines (43 loc) · 2.35 KB
/
URLMock.podspec
File metadata and controls
50 lines (43 loc) · 2.35 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
39
40
41
42
43
44
45
46
47
48
49
50
Pod::Spec.new do |s|
s.name = "URLMock"
s.version = "1.3.4"
s.summary = "A Cocoa framework for mocking and stubbing URL requests and responses."
s.description = <<-DESC
URLMock is an Objective-C framework for mocking and stubbing URL requests and
responses. It works with APIs built on the Foundation NSURL loading system—
NSURLConnection, NSURLSession, and AFNetworking, for example—without any changes
to your code.
DESC
s.author = { "Prachi Gauriar" => "prachi_github@quantumlenscap.com" }
s.homepage = "https://github.com/prachigauriar/URLMock"
s.license = { :type => "MIT", :file => "LICENSE" }
s.ios.deployment_target = '7.0'
s.tvos.deployment_target = '9.0'
s.osx.deployment_target = '10.9'
s.requires_arc = true
s.source = { :git => "https://github.com/prachigauriar/URLMock.git", :tag => s.version.to_s }
s.subspec 'Core' do |ss|
ss.dependency 'SOCKit', '~> 1.1'
s.source_files = 'URLMock/URLMock.h',
'URLMock/Categories/NSURLRequest+UMKHTTPConvenienceMethods.{h,m}',
'URLMock/Mock Messages/UMKMockHTTPMessage.{h,m}',
'URLMock/Mock Messages/UMKMockHTTPRequest.{h,m}',
'URLMock/Mock Messages/UMKMockHTTPResponder.{h,m}',
'URLMock/Mock URL Protocol/UMKMockURLProtocol+UMKHTTPConvenienceMethods.{h,m}',
'URLMock/Mock URL Protocol/UMKMockURLProtocol.{h,m}',
'URLMock/Pattern-Matching Mock Requests/UMKPatternMatchingMockRequest.{h,m}'
end
s.subspec 'TestHelpers' do |ss|
ss.source_files = 'URLMock/Categories/NSURL+UMKQueryParameters.{h,m}',
'URLMock/Categories/NSDictionary+UMKURLEncoding.{h,m}',
'URLMock/Utilities/UMKErrorUtilities.{h,m}',
'URLMock/Utilities/UMKMessageCountingProxy.{h,m}',
'URLMock/Utilities/UMKParameterPair.{h,m}',
'URLMock/Utilities/UMKTestUtilities.{h,m}',
'URLMock/Utilities/UMKURLEncodedParameterStringParser.{h,m}'
end
s.subspec 'SubclassResponsibility' do |ss|
ss.dependency 'URLMock/TestHelpers'
ss.source_files = 'URLMock/Categories/NSException+UMKSubclassResponsibility.{h,m}'
end
end