Skip to content

Commit

Permalink
Merge branch 'release/1.2.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
akashivskyy committed Apr 6, 2018
2 parents f712a2e + 7dcf3c3 commit 8879185
Show file tree
Hide file tree
Showing 11 changed files with 42 additions and 38 deletions.
3 changes: 2 additions & 1 deletion Cartfile.private
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ github "netguru/xcconfigs" == 0.3
# Test dependencies

github "Quick/Quick" ~> 1.2.0
github "Quick/Nimble" ~> 7.0.2
github "Quick/Nimble" ~> 7.0.0
github "AliSoftware/OHHTTPStubs" ~> 6.1.0
3 changes: 2 additions & 1 deletion Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
github "Quick/Nimble" "v7.0.2"
github "AliSoftware/OHHTTPStubs" "6.1.0"
github "Quick/Nimble" "v7.0.3"
github "Quick/Quick" "v1.2.0"
github "netguru/xcconfigs" "0.3"
2 changes: 1 addition & 1 deletion Carthage/Checkouts/Nimble
Submodule Nimble updated 48 files
+9 −1 .gitignore
+1 −1 .swiftlint.yml
+8 −0 .travis.yml
+1 −0 Cartfile.private
+2 −0 Cartfile.resolved
+13 −0 Carthage/Checkouts/CwlCatchException/LICENSE.txt
+9 −0 Carthage/Checkouts/CwlCatchException/Package.swift
+46 −0 Carthage/Checkouts/CwlCatchException/README.md
+3 −3 Carthage/Checkouts/CwlCatchException/Sources/CwlCatchException/CwlCatchException.swift
+0 −0 Carthage/Checkouts/CwlCatchException/Sources/CwlCatchExceptionSupport/CwlCatchException.m
+0 −1 Carthage/Checkouts/CwlCatchException/Sources/CwlCatchExceptionSupport/include/CwlCatchException.h
+13 −0 Carthage/Checkouts/CwlPreconditionTesting/LICENSE.txt
+19 −0 Carthage/Checkouts/CwlPreconditionTesting/Package.swift
+73 −0 Carthage/Checkouts/CwlPreconditionTesting/README.md
+0 −0 Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/CwlMachBadInstructionHandler.m
+1 −1 ...heckouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/include/CwlMachBadInstructionHandler.h
+0 −0 Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/mach_excServer.c
+0 −0 Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlMachBadInstructionHandler/mach_excServer.h
+0 −0 Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift
+18 −22 Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstruction.swift
+0 −0 Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstructionPosix.swift
+0 −0 Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift
+0 −0 Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/Mach/CwlPreconditionTesting.h
+2 −2 Carthage/Checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/Posix/CwlPreconditionTesting_POSIX.h
+17 −14 Nimble.podspec
+154 −144 Nimble.xcodeproj/project.pbxproj
+0 −41 Nimble.xcodeproj/project.xcworkspace/xcshareddata/Nimble.xccheckout
+0 −1 Package.swift
+22 −0 [email protected]
+0 −80 Sources/Lib/CwlPreconditionTesting/README.md
+1 −1 Sources/Nimble/Matchers/BeLessThanOrEqual.swift
+13 −13 Sources/Nimble/Matchers/MatcherProtocols.swift
+30 −2 Sources/Nimble/Matchers/PostNotification.swift
+5 −1 Sources/Nimble/Nimble.h
+1 −1 Tests/NimbleTests/Helpers/utils.swift
+3 −3 Tests/NimbleTests/Matchers/BeAKindOfTest.swift
+3 −3 Tests/NimbleTests/Matchers/BeAnInstanceOfTest.swift
+4 −4 Tests/NimbleTests/Matchers/BeCloseToTest.swift
+2 −2 Tests/NimbleTests/Matchers/BeEmptyTest.swift
+5 −5 Tests/NimbleTests/Matchers/BeGreaterThanOrEqualToTest.swift
+6 −6 Tests/NimbleTests/Matchers/BeGreaterThanTest.swift
+5 −5 Tests/NimbleTests/Matchers/BeIdenticalToTest.swift
+4 −4 Tests/NimbleTests/Matchers/BeLessThanOrEqualToTest.swift
+10 −10 Tests/NimbleTests/Matchers/BeLessThanTest.swift
+1 −1 Tests/NimbleTests/Matchers/ContainTest.swift
+5 −5 Tests/NimbleTests/Matchers/EqualTest.swift
+1 −1 Tests/NimbleTests/Matchers/RaisesExceptionTest.swift
+2 −2 Tests/NimbleTests/Matchers/ThrowErrorTest.swift
2 changes: 1 addition & 1 deletion ResponseDetective.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Pod::Spec.new do |spec|
# Description

spec.name = 'ResponseDetective'
spec.version = '1.2.2'
spec.version = '1.2.4'
spec.summary = 'Sherlock Holmes of the networking layer'
spec.homepage = 'https://github.com/netguru/ResponseDetective'

Expand Down
23 changes: 6 additions & 17 deletions ResponseDetective.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -328,26 +328,10 @@
isa = PBXGroup;
children = (
3AF56F0B1E5B4ED800F1CEBC /* TestBodyDeserializer.swift */,
3AF56EBC1E5B37B500F1CEBC /* Generators */,
3AF56EBD1E5B37B500F1CEBC /* Matchers */,
);
path = Additions;
sourceTree = "<group>";
};
3AF56EBC1E5B37B500F1CEBC /* Generators */ = {
isa = PBXGroup;
children = (
);
path = Generators;
sourceTree = "<group>";
};
3AF56EBD1E5B37B500F1CEBC /* Matchers */ = {
isa = PBXGroup;
children = (
);
path = Matchers;
sourceTree = "<group>";
};
3AF56EBF1E5B37B500F1CEBC /* Specs */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -651,14 +635,16 @@
CLASSPREFIX = RDT;
LastSwiftMigration = 0700;
LastSwiftUpdateCheck = 0820;
LastUpgradeCheck = 0900;
LastUpgradeCheck = 0930;
ORGANIZATIONNAME = "Netguru Sp. z o.o.";
TargetAttributes = {
3A2007D71B5501BC00769021 = {
CreatedOnToolsVersion = 6.4;
LastSwiftMigration = 0930;
};
3A2007E11B5501BC00769021 = {
CreatedOnToolsVersion = 6.4;
LastSwiftMigration = 0930;
};
3AE546291E152DB500E74469 = {
CreatedOnToolsVersion = 8.2.1;
Expand Down Expand Up @@ -754,6 +740,7 @@
inputPaths = (
"$(_CARTHAGE_BUILD_PATH)/Quick.framework",
"$(_CARTHAGE_BUILD_PATH)/Nimble.framework",
"$(_CARTHAGE_BUILD_PATH)/OHHTTPStubs.framework",
);
name = "Copy Carthage Frameworks";
outputPaths = (
Expand All @@ -771,6 +758,7 @@
inputPaths = (
"$(_CARTHAGE_BUILD_PATH)/Nimble.framework",
"$(_CARTHAGE_BUILD_PATH)/Quick.framework",
"$(_CARTHAGE_BUILD_PATH)/OHHTTPStubs.framework",
);
name = "Copy Carthage Frameworks";
outputPaths = (
Expand All @@ -788,6 +776,7 @@
inputPaths = (
"$(_CARTHAGE_BUILD_PATH)/Quick.framework",
"$(_CARTHAGE_BUILD_PATH)/Nimble.framework",
"$(_CARTHAGE_BUILD_PATH)/OHHTTPStubs.framework",
);
name = "Copy Carthage Frameworks";
outputPaths = (
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0900"
LastUpgradeVersion = "0930"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down Expand Up @@ -40,9 +40,8 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
shouldUseLaunchSchemeArgsEnv = "YES"
codeCoverageEnabled = "YES">
codeCoverageEnabled = "YES"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
Expand Down Expand Up @@ -71,7 +70,6 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0900"
LastUpgradeVersion = "0930"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down Expand Up @@ -40,9 +40,8 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
shouldUseLaunchSchemeArgsEnv = "YES"
codeCoverageEnabled = "YES">
codeCoverageEnabled = "YES"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
Expand Down Expand Up @@ -71,7 +70,6 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0900"
LastUpgradeVersion = "0930"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down Expand Up @@ -40,9 +40,8 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
shouldUseLaunchSchemeArgsEnv = "YES"
codeCoverageEnabled = "YES">
codeCoverageEnabled = "YES"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
Expand Down Expand Up @@ -71,7 +70,6 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
Expand Down
2 changes: 1 addition & 1 deletion ResponseDetective/Configuration/Common-Base.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

// MARK: Build

_BUILD_VERSION = 1.2.2
_BUILD_VERSION = 1.2.4

// MARK: Deployment

Expand Down
13 changes: 12 additions & 1 deletion ResponseDetective/Tests/Specs/ResponseDetectiveSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import Foundation
import Nimble
import OHHTTPStubs
import ResponseDetective
import Quick

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

describe("ResponseDetective") {


beforeSuite {
stub(condition: isHost("httpbin.org")) { _ in
return OHHTTPStubsResponse(data: Data(), statusCode: 200, headers: nil)
}
}

beforeEach {
ResponseDetective.reset()
}

afterSuite {
OHHTTPStubs.removeAllStubs()
}

describe("initial state") {

it("should use default output facility") {
Expand Down

0 comments on commit 8879185

Please sign in to comment.