-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated to be compatible with Nimble 6.1 & newer Swift #17
Conversation
To Nimble 6.0+.
1. It seems that nowadays Swift compiler can't deduce the right type while going through `ObservableType`, as a temporary workaround I've added implementation `==` for `Observable<T>` and `Observablle<T?>` which should cover most cases. 2. `equalFirst` signature was simplified a bit to be more consistent with other `Nimble` matchers. That might be a bit more verbose `expect(something).to(equalFirst(expectedValue))` than `expect(something) == expectedValue` but it also is more explicit. That is API breaking change, so major version bumped, although it should be easily fixed by search/replace.
…test against Xcode 8.3
cc @ashfurrow |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fantastic, thanks!
Thanks a lot for contributing! I've invited you to join the RxSwiftCommunity GitHub organization – no pressure to accept! If you'd like more information on what that means, check out our contributor guidelines and feel free to reach out with any questions. |
This has been pushed to CocoaPods trunk, thanks again 🙇 |
@vhbit awesome, congrats! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
This is continuation of work started in #14. I've fixed all the warnings and provided a workaround for building errors through introducing a new
==
operator (more details here: 59bb147). As API has a breaking change I've also bumped major version.