Skip to content

Commit 8879185

Browse files
committed
Merge branch 'release/1.2.4'
2 parents f712a2e + 7dcf3c3 commit 8879185

File tree

11 files changed

+42
-38
lines changed

11 files changed

+42
-38
lines changed

Cartfile.private

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ github "netguru/xcconfigs" == 0.3
1212
# Test dependencies
1313

1414
github "Quick/Quick" ~> 1.2.0
15-
github "Quick/Nimble" ~> 7.0.2
15+
github "Quick/Nimble" ~> 7.0.0
16+
github "AliSoftware/OHHTTPStubs" ~> 6.1.0

Cartfile.resolved

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
github "Quick/Nimble" "v7.0.2"
1+
github "AliSoftware/OHHTTPStubs" "6.1.0"
2+
github "Quick/Nimble" "v7.0.3"
23
github "Quick/Quick" "v1.2.0"
34
github "netguru/xcconfigs" "0.3"

Carthage/Checkouts/Nimble

Submodule Nimble updated 48 files

ResponseDetective.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Pod::Spec.new do |spec|
1010
# Description
1111

1212
spec.name = 'ResponseDetective'
13-
spec.version = '1.2.2'
13+
spec.version = '1.2.4'
1414
spec.summary = 'Sherlock Holmes of the networking layer'
1515
spec.homepage = 'https://github.com/netguru/ResponseDetective'
1616

ResponseDetective.xcodeproj/project.pbxproj

+6-17
Original file line numberDiff line numberDiff line change
@@ -328,26 +328,10 @@
328328
isa = PBXGroup;
329329
children = (
330330
3AF56F0B1E5B4ED800F1CEBC /* TestBodyDeserializer.swift */,
331-
3AF56EBC1E5B37B500F1CEBC /* Generators */,
332-
3AF56EBD1E5B37B500F1CEBC /* Matchers */,
333331
);
334332
path = Additions;
335333
sourceTree = "<group>";
336334
};
337-
3AF56EBC1E5B37B500F1CEBC /* Generators */ = {
338-
isa = PBXGroup;
339-
children = (
340-
);
341-
path = Generators;
342-
sourceTree = "<group>";
343-
};
344-
3AF56EBD1E5B37B500F1CEBC /* Matchers */ = {
345-
isa = PBXGroup;
346-
children = (
347-
);
348-
path = Matchers;
349-
sourceTree = "<group>";
350-
};
351335
3AF56EBF1E5B37B500F1CEBC /* Specs */ = {
352336
isa = PBXGroup;
353337
children = (
@@ -651,14 +635,16 @@
651635
CLASSPREFIX = RDT;
652636
LastSwiftMigration = 0700;
653637
LastSwiftUpdateCheck = 0820;
654-
LastUpgradeCheck = 0900;
638+
LastUpgradeCheck = 0930;
655639
ORGANIZATIONNAME = "Netguru Sp. z o.o.";
656640
TargetAttributes = {
657641
3A2007D71B5501BC00769021 = {
658642
CreatedOnToolsVersion = 6.4;
643+
LastSwiftMigration = 0930;
659644
};
660645
3A2007E11B5501BC00769021 = {
661646
CreatedOnToolsVersion = 6.4;
647+
LastSwiftMigration = 0930;
662648
};
663649
3AE546291E152DB500E74469 = {
664650
CreatedOnToolsVersion = 8.2.1;
@@ -754,6 +740,7 @@
754740
inputPaths = (
755741
"$(_CARTHAGE_BUILD_PATH)/Quick.framework",
756742
"$(_CARTHAGE_BUILD_PATH)/Nimble.framework",
743+
"$(_CARTHAGE_BUILD_PATH)/OHHTTPStubs.framework",
757744
);
758745
name = "Copy Carthage Frameworks";
759746
outputPaths = (
@@ -771,6 +758,7 @@
771758
inputPaths = (
772759
"$(_CARTHAGE_BUILD_PATH)/Nimble.framework",
773760
"$(_CARTHAGE_BUILD_PATH)/Quick.framework",
761+
"$(_CARTHAGE_BUILD_PATH)/OHHTTPStubs.framework",
774762
);
775763
name = "Copy Carthage Frameworks";
776764
outputPaths = (
@@ -788,6 +776,7 @@
788776
inputPaths = (
789777
"$(_CARTHAGE_BUILD_PATH)/Quick.framework",
790778
"$(_CARTHAGE_BUILD_PATH)/Nimble.framework",
779+
"$(_CARTHAGE_BUILD_PATH)/OHHTTPStubs.framework",
791780
);
792781
name = "Copy Carthage Frameworks";
793782
outputPaths = (
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

ResponseDetective.xcodeproj/xcshareddata/xcschemes/ResponseDetective-iOS.xcscheme

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0900"
3+
LastUpgradeVersion = "0930"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -40,9 +40,8 @@
4040
buildConfiguration = "Debug"
4141
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4242
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
43-
language = ""
44-
shouldUseLaunchSchemeArgsEnv = "YES"
45-
codeCoverageEnabled = "YES">
43+
codeCoverageEnabled = "YES"
44+
shouldUseLaunchSchemeArgsEnv = "YES">
4645
<Testables>
4746
<TestableReference
4847
skipped = "NO">
@@ -71,7 +70,6 @@
7170
buildConfiguration = "Debug"
7271
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
7372
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
74-
language = ""
7573
launchStyle = "0"
7674
useCustomWorkingDirectory = "NO"
7775
ignoresPersistentStateOnLaunch = "NO"

ResponseDetective.xcodeproj/xcshareddata/xcschemes/ResponseDetective-macOS.xcscheme

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0900"
3+
LastUpgradeVersion = "0930"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -40,9 +40,8 @@
4040
buildConfiguration = "Debug"
4141
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4242
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
43-
language = ""
44-
shouldUseLaunchSchemeArgsEnv = "YES"
45-
codeCoverageEnabled = "YES">
43+
codeCoverageEnabled = "YES"
44+
shouldUseLaunchSchemeArgsEnv = "YES">
4645
<Testables>
4746
<TestableReference
4847
skipped = "NO">
@@ -71,7 +70,6 @@
7170
buildConfiguration = "Debug"
7271
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
7372
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
74-
language = ""
7573
launchStyle = "0"
7674
useCustomWorkingDirectory = "NO"
7775
ignoresPersistentStateOnLaunch = "NO"

ResponseDetective.xcodeproj/xcshareddata/xcschemes/ResponseDetective-tvOS.xcscheme

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0900"
3+
LastUpgradeVersion = "0930"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -40,9 +40,8 @@
4040
buildConfiguration = "Debug"
4141
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4242
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
43-
language = ""
44-
shouldUseLaunchSchemeArgsEnv = "YES"
45-
codeCoverageEnabled = "YES">
43+
codeCoverageEnabled = "YES"
44+
shouldUseLaunchSchemeArgsEnv = "YES">
4645
<Testables>
4746
<TestableReference
4847
skipped = "NO">
@@ -71,7 +70,6 @@
7170
buildConfiguration = "Debug"
7271
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
7372
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
74-
language = ""
7573
launchStyle = "0"
7674
useCustomWorkingDirectory = "NO"
7775
ignoresPersistentStateOnLaunch = "NO"

ResponseDetective/Configuration/Common-Base.xcconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
// MARK: Build
1414

15-
_BUILD_VERSION = 1.2.2
15+
_BUILD_VERSION = 1.2.4
1616

1717
// MARK: Deployment
1818

ResponseDetective/Tests/Specs/ResponseDetectiveSpec.swift

+12-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
import Foundation
99
import Nimble
10+
import OHHTTPStubs
1011
import ResponseDetective
1112
import Quick
1213

@@ -15,11 +16,21 @@ internal final class ResponseDetectiveSpec: QuickSpec {
1516
override func spec() {
1617

1718
describe("ResponseDetective") {
18-
19+
20+
beforeSuite {
21+
stub(condition: isHost("httpbin.org")) { _ in
22+
return OHHTTPStubsResponse(data: Data(), statusCode: 200, headers: nil)
23+
}
24+
}
25+
1926
beforeEach {
2027
ResponseDetective.reset()
2128
}
2229

30+
afterSuite {
31+
OHHTTPStubs.removeAllStubs()
32+
}
33+
2334
describe("initial state") {
2435

2536
it("should use default output facility") {

0 commit comments

Comments
 (0)