Skip to content

Releases: AliSoftware/OHHTTPStubs

Improvements in Swift API

13 May 20:27
Compare
Choose a tag to compare
  • Annotated the library with nullability attributes to generate a better API when used in Swift
  • Migrated the path utility macros to functions in OHPathHelpers.h, for Swift compatibility (#100).
  • Added a complete Swift Demo Project (#88)
  • Removed the XCTestExpectation subspec that was added for Xcode 5 support — Now that Xcode 6 is widely adopted, you shouldn't need this anymore.

Fix for HTTP status 300

14 Mar 10:01
Compare
Choose a tag to compare
  • Fixed issue with HTTP 300 return code (multiple-choice) that is not supposed to redirect. (@tarbrain, #92)

Carthage support, better use of CocoaPods, better Travis-CI

14 Mar 10:01
Compare
Choose a tag to compare
  • Added Carthage support
  • Splitted the Xcode projects for more clarity (one dedicated to build the lib and run Unit Tests, and one for the Demo)
  • Got rid of the git submodule used for Unit Tests against AFNetworking — it is now imported using CocoaPods and only for the lib's Unit Tests targets (@corinnekrych, #90)
  • Improved Travis-CI integration. We now use a build matrix to have paralellized and independant builds for each scheme (iOS Static Lib, iOS Dynamic Framework, OSX Framework)
  • Fixed #80 again (there was still an issue for people using Xcode 5 & SDK 7.1… if those people still exists)

Fix for Xcode5 users

14 Mar 10:00
Compare
Choose a tag to compare
  • Fix headers for people still building with Xcode 5 & SDK 7 (#80)

NS_DESIGNATED_INITIALIZER

14 Mar 10:00
Compare
Choose a tag to compare
  • Use NS_DESIGNATED_INITIALIZER macro on designated initializer methods (#79)

Fix empty files

14 Mar 09:59
Compare
Choose a tag to compare
  • Use application/json instead of text/json in README's example (#75)
  • Fixed an issue with empty files (when using responseWithFileAtPath:statusCode:headers: but the file at the specified path is empty)

DEFINES_MODULE

14 Mar 09:59
Compare
Choose a tag to compare
  • Added DEFINES_MODULE Flag to be easily imported in Swift (#74)

(I also moved Travis-CI build system so it now uses xcpretty instead of xctool to run Unit Tests)

Fixed stalling

14 Mar 09:58
Compare
Choose a tag to compare
  • Fixed issue with the main thread stalling when an NSException was raised in the response block
  • Fixed an issue with OHHTTPStubs/XCTestExpectation conditional compilation in Xcode 6.0 & OSX SDK.
    (the condition was previously testing available SDKs instead of Xcode version, which led to errors with Xcode 6.0 not having the latest 10.10 SDK yet, but still having the XCTextExpectation already anyway)

XCTest

14 Mar 09:58
Compare
Choose a tag to compare
  • Migrated Unit Tests to XCTest.
  • Added XCTestExpectation subspec containing my own implementation for Xcode 5 support

Fix iOS8 issue

23 Jul 20:58
Compare
Choose a tag to compare
  • Fix issue that made stubs never being called on iOS8 (#65)