From 6f01393bf28bc088e695949da0ad700078189b18 Mon Sep 17 00:00:00 2001 From: Jan Gorman Date: Mon, 5 Jul 2021 10:51:21 +0200 Subject: [PATCH] Bump podspec --- Hippolyte.podspec | 2 +- README.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Hippolyte.podspec b/Hippolyte.podspec index cd6ad4d..f7e0702 100644 --- a/Hippolyte.podspec +++ b/Hippolyte.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "Hippolyte" - s.version = "1.3.1" + s.version = "1.4.0" s.swift_version = "5.0" s.summary = "HTTP Stubbing in Swift" diff --git a/README.md b/README.md index cbc5842..6056fdf 100644 --- a/README.md +++ b/README.md @@ -130,6 +130,12 @@ func testStub() throws { } ``` +### Delegate + +You can add an optional `ResponseDelegate` into the mix to be notified when a response is mocked by Hippolyte. It has only one method `onResponse`. + +### Teardown + Remember to tear down stubbing in your tests: ```swift