Skip to content

Releases: AliSoftware/OHHTTPStubs

New Swift Helper methods

05 Nov 18:57
Compare
Choose a tag to compare
  • Added isMethodGET(), isMethodPUT(), isMethodPOST() and isMethodDELETE() to the Swift helpers.
    (#137)

4.5.1

03 Nov 14:36
Compare
Choose a tag to compare
  • Added missing tvOS and watchOS platforms to the Swift subspec.
    @pantuspavel, #136

tvOS Support

31 Oct 21:12
Compare
Choose a tag to compare

Fixing Umbrella headers + NSURL methods

24 Oct 12:08
Compare
Choose a tag to compare
  • Fixed issue with Umbrella Headers (#127, #131)
  • Added methods for creating OHHTTPStubsResponses from NSURLs that represent file system resources (@MaxGabriel, #129)
  • Bumped Swift subspec compatibility to OSX 10.9 instead of 10.7.

Swift Helpers & Xcode 7

20 Sep 14:25
Compare
Choose a tag to compare
  • Xcode projects updated to Xcode 7.0 Final
  • Added a Swift subspec that adds helper global functions to ease & make more compact the use of OHHTTPStubs from Swift 2.0 (#111)

If you're using OHHTTPStubs in a Swift 2.0 project, it's recommended to add pod 'OHHTTPStubs/Swift to your Podfile so you can use those handy helpers.

Xcode project typos + new speed constant

20 Sep 14:25
Compare
Choose a tag to compare
  • Fix the Examples Xcode project + lib Podfile that were referencing old target names (mikelupo, #117)
  • Added two new constants for download speed: OHHTTPStubsDownloadSpeed1KBPS = 1kbps and OHHTTPStubsDownloadSpeedSLOW = 1.5 kpbs. (mikelupo, #114)

Mocktail support (+ Subspec split)

28 Aug 19:11
Compare
Choose a tag to compare
  • Added support for stubs written in the Mocktail format (@JinlianWang, #108)
  • The OHHTTPStubs spec has been splitted into multiple subspecs:
    • The default subspec (used when you simply use pod 'OHHTTPStubs' in your Podfile) contains the subspecs Core, NSURLSession, JSON & OHPathHelpers (so that it matches the features that most people use).
    • Other optional subspecs are HTTPMessage and Mocktail (which are opt-in because used by much less people). If you want to use them, you'll need to request them explicitly in your Podfile using pod 'OHHTTPStubs/Mocktail for example.
  • The iOS Unit Tests are now also run for the framework as well as for the static library, to ensure the tests pass in both contexts (because frameworks sometimes introduce subtleties like when using NSBundle, so it's worth testing in that context too)

4.1.0

28 Jul 19:12
Compare
Choose a tag to compare
  • Added support for using OHHTTPStubs in watchOS 2.0 targets.
  • Improved compatibility macros (nullability annotations) — and tested against Xcode 7 beta 4.

Fix OHResourceBundle declaration

20 May 21:19
Compare
Choose a tag to compare
  • Fix OHResourceBundle name mismatch between header and implementation (@tibr, #103)

Fixed threading issue

13 May 20:27
Compare
Choose a tag to compare
  • Fix threading in NSURLProtocol subclass calling NSURLProtocolClient callbacks from wrong thread. (@nsprogrammer, #96)