From 242c7d943c87c1bc369a999a6e2a7e06e914481a Mon Sep 17 00:00:00 2001 From: Ivan Bruel Date: Wed, 22 Mar 2017 19:04:48 +0000 Subject: [PATCH] fixed: public modifier on observable extension --- RxReachability.podspec | 2 +- RxReachability/Classes/ObservableType+Reachability.swift | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/RxReachability.podspec b/RxReachability.podspec index 10715fc..6347904 100644 --- a/RxReachability.podspec +++ b/RxReachability.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'RxReachability' - s.version = '0.1.2' + s.version = '0.1.3' s.summary = 'RxSwift bindings for Reachability' diff --git a/RxReachability/Classes/ObservableType+Reachability.swift b/RxReachability/Classes/ObservableType+Reachability.swift index 34cc4df..0a2b7c1 100644 --- a/RxReachability/Classes/ObservableType+Reachability.swift +++ b/RxReachability/Classes/ObservableType+Reachability.swift @@ -11,9 +11,9 @@ import ReachabilitySwift import RxCocoa import RxSwift -extension ObservableType { +public extension ObservableType { - func retryOnConnect(timeout: TimeInterval) -> Observable { + public func retryOnConnect(timeout: TimeInterval) -> Observable { return retryWhen { _ in return Reachability.rx.isConnected .timeout(timeout, scheduler: MainScheduler.asyncInstance)