Skip to content

Commit 38a81fb

Browse files
committed
Update to RxSwift ~> 2.0
1 parent bc6cdb1 commit 38a81fb

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Podfile.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
PODS:
22
- QueryKit (0.12.1)
3-
- RxSwift (2.0.0-beta.4)
3+
- RxSwift (2.0.0)
44

55
DEPENDENCIES:
66
- QueryKit (~> 0.12.0)
7-
- RxSwift (= 2.0.0-beta.4)
7+
- RxSwift (~> 2.0)
88

99
SPEC CHECKSUMS:
1010
QueryKit: 6a8dbe9f33ffac00c424143695681a949b58518d
11-
RxSwift: 191c6b06da783a8671433cf35a54d2ad2fd2d9de
11+
RxSwift: d83246efa6f16c50c143bec134649d045498f601
1212

1313
COCOAPODS: 0.39.0

RxQueryKit.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Pod::Spec.new do |spec|
1212
spec.ios.deployment_target = '8.0'
1313
spec.osx.deployment_target = '10.9'
1414
spec.requires_arc = true
15-
spec.dependency 'RxSwift', '2.0.0-beta.4'
15+
spec.dependency 'RxSwift', '~> 2.0'
1616
spec.dependency 'QueryKit', '~> 0.12.0'
1717
end
1818

RxQueryKit/RxManagedObjectContext.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import RxSwift
44

55
extension NSNotificationCenter {
66
func rx_notification(name: String, object: AnyObject?) -> Observable<NSNotification> {
7-
return create { observer in
7+
return Observable.create { observer in
88
let nsObserver = self.addObserverForName(name, object: object, queue: nil) { notification in
99
observer.on(.Next(notification))
1010
}

RxQueryKit/RxQueryKit.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ extension QuerySet {
1919
public func count() throws -> Observable<Int> {
2020
var count:Int = try self.count()
2121

22-
return create { observer in
22+
return Observable.create { observer in
2323
observer.on(.Next(count))
2424

2525
return self.context.qk_objectsDidChange().subscribeNext { notification in

0 commit comments

Comments
 (0)