blob: 389a736d3957dcb7fa48daf1f8a61060d396f6d5 [file] [log] [blame]
{
"name": "OHHTTPStubs",
"version": "9.0.0",
"summary": "Framework to stub your network requests like HTTP and help you write network unit tests with XCTest.",
"description": "A class to stub network requests easily:\n\n * Test your apps with fake network data (stubbed from file)\n * You can also customize your response headers and status code\n * Use customized stubs depending on the requests\n * Use custom response time to simulate slow network.\n * This works with any request (HTTP, HTTPS, or any protocol) sent using\n the iOS URL Loading System (NSURLConnection, NSURLSession, AFNetworking, …)\n * This is really useful in unit testing, when you need to test network features\n but don't want to hit the real network and fake some response data instead.\n * Has useful convenience methods to stub JSON content or fixture from a file\n * Compatible with Swift",
"homepage": "https://github.com/AliSoftware/OHHTTPStubs",
"license": "MIT",
"authors": {
"Olivier Halligon": "olivier.halligon+ae@gmail.com"
},
"source": {
"git": "https://github.com/AliSoftware/OHHTTPStubs.git",
"tag": "9.0.0"
},
"frameworks": [
"Foundation",
"CFNetwork"
],
"requires_arc": true,
"platforms": {
"ios": "8.0",
"osx": "10.9",
"watchos": "2.0",
"tvos": "9.0"
},
"swift_versions": [
"3.0",
"3.1",
"3.2",
"4.0",
"4.1",
"4.2",
"5.0",
"5.1"
],
"default_subspecs": "Default",
"subspecs": [
{
"name": "Default",
"dependencies": {
"OHHTTPStubs/Core": [
],
"OHHTTPStubs/NSURLSession": [
],
"OHHTTPStubs/JSON": [
],
"OHHTTPStubs/OHPathHelpers": [
]
}
},
{
"name": "Core",
"source_files": [
"Sources/OHHTTPStubs/**/HTTPStubs.{h,m}",
"Sources/OHHTTPStubs/**/HTTPStubsResponse.{h,m}",
"Sources/OHHTTPStubs/include/Compatibility.h"
]
},
{
"name": "NSURLSession",
"dependencies": {
"OHHTTPStubs/Core": [
]
},
"source_files": [
"Sources/OHHTTPStubs/**/NSURLRequest+HTTPBodyTesting.{h,m}",
"Sources/OHHTTPStubs/**/HTTPStubs+NSURLSessionConfiguration.{h,m}",
"Sources/OHHTTPStubs/**/HTTPStubsMethodSwizzling.{h,m}"
],
"private_header_files": "Sources/OHHTTPStubs/**/HTTPStubsMethodSwizzling.h"
},
{
"name": "JSON",
"dependencies": {
"OHHTTPStubs/Core": [
]
},
"source_files": "Sources/OHHTTPStubs/**/HTTPStubsResponse+JSON.{h,m}"
},
{
"name": "HTTPMessage",
"dependencies": {
"OHHTTPStubs/Core": [
]
},
"source_files": "Sources/HTTPMessage/**/*.{h,m}"
},
{
"name": "Mocktail",
"dependencies": {
"OHHTTPStubs/Core": [
]
},
"source_files": "Sources/Mocktail/**/*.{h,m}"
},
{
"name": "OHPathHelpers",
"source_files": [
"Sources/OHHTTPStubs/**/HTTPStubsPathHelpers.{h,m}",
"Sources/OHHTTPStubs/include/Compatibility.h"
]
},
{
"name": "Swift",
"platforms": {
"ios": "8.0",
"osx": "10.9",
"watchos": "2.0",
"tvos": "9.0"
},
"dependencies": {
"OHHTTPStubs/Default": [
]
},
"source_files": "Sources/OHHTTPStubsSwift/*.swift"
}
],
"swift_version": "5.1"
}