* Promise.value when T == Void
* Guarantee.value where T == Void
* Replace class with static because Promise is final
* Optimised Guarantee.value where Value == Void
* Add comment
* Implementation with Void()
* Tests for Promise<Void>.value
* Tests for Guarantee<Void>.value
* Added tests for Promise<Void> and Guarantee<Void>
* Fixed bug where pendingPromiseDeallocated event was incorrectly reported as a waitOnMainThread event.
* Now logs if a Guarantee is deallocated before it has been fulfilled.
* Fixed bug where pendingPromiseDeallocated event was incorrectly reported as a waitOnMainThread event. Added test which should have caught this bug in the first place.
* Kick Travis CI
* Attempting to get Travis to deploy
* Minimize Travis matrix. I believe this tests everything that matters, including older SDK and deployment targets while being kinder to Travis’s free infrastructure.
* Only run the JS/A+ tests for that test group
* Re-enable uploading to codecov
* Use xcpretty
More descriptive name avoids target conflicts during swift build process
when depending on multiple packages that also have a 'Core' target
- Fixes Test: LinuxMain import of Core
Couldn’t have two variants of `ensure` without the dreaded ambiguity issues.
Sadly Swift cannot infer the type for multiline closures where there are two possible functions for it to match. :(
* Library exports properly
* A bit of progress
* Try emitting mocha events
* Progress
* Progress is real
* All tests now show
* All tests run
* Proper formatting
* Proper XCTFail
* Some progress with adapters
* Not sure what's up
* Tests run with new adapter
* Add then function
* Good progress on interface
* Lots of tests now pass
* Validate onFulfilled / onRejected before calling them
* Cleanup test file
* Add todo
* Move MockNodeEnvironment to proper folder
* Use invokeMethod to call pure functions
* Fix timers
* Add some debugging
* Fix timeouts
* Catch errors when calling handlers
* Move JSPromise to own file
* Refactor JSPromise to use then/catch
* Add a bit of doc
* Catch exceptions thrown by handlers, the proper way
* Consolidate stacktrace printing
* Add availability checks
* Fully comply to 2.2.7.1
* Allow only running one test
* Add isFunction checks
* Enable 2.3.1 only for now
* Add ignored tests, handle promises as return value
* Report failures back to swift layer
* Move adapter to own file
* Use dev mode in webpack config
* More doc
* Refactor a bit
* More stuff in JSUtils
* More doc
* Add readme
* Remove some whitespace
* Add typeError func
* Use on:nil in second then
* Throw TypeError when needed
* Comment fix
* Make test suite iOS 8+ compatible
* Fix Swift 4 compile
* Fix Swift 3.1 compile
* Use babel to transpile to ES5, adds support to iOS 8/9
* Move JSUtils to proper folder
* Fix warning
* Simplify format printing
* Add 3.2 split support back
* Slight improvement
* Revert console.log format solution
* Use a reasonable timeout
* Add omittingEmptySubsequences support for 3.1
Well great. This series of fixes, fixes builds failing but looking like they passed, and fixes the issues that were failing.
Fortunately it was just compile issues in the tests, no tests were failing.
For me this proves that YAML sucks, BASH sucks and TRAVIS sucks.
Strictly I’d feel better to test all configurations, but PromiseKit only uses Foundation, so the chance that for some reason there is an API break or worse some kind of runtime issue is pretty low and I feel that we have to be kinder to Travis’s free infrastructure.
Tag 6.0.2