File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 11Pod ::Spec . new do |s |
22 s . name = 'RxRestClient'
3- s . version = '1.3.0'
3+ s . version = '1.3.1'
4+
45 s . summary = 'Simple REST Client based on RxSwift and Alamofire.'
56 s . swift_version = '5.0'
67
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public enum ReachabilityStatus {
1515 case unreachable
1616}
1717
18- extension ReachabilityStatus {
18+ public extension ReachabilityStatus {
1919 var reachable : Bool {
2020 switch self {
2121 case . reachable:
@@ -26,25 +26,25 @@ extension ReachabilityStatus {
2626 }
2727}
2828
29- protocol ReachabilityService {
29+ public protocol ReachabilityService {
3030 var reachability : Observable < ReachabilityStatus > { get }
3131}
3232
33- enum ReachabilityServiceError : Error {
33+ public enum ReachabilityServiceError : Error {
3434 case failedToCreate
3535}
3636
37- class DefaultReachabilityService : ReachabilityService {
37+ public class DefaultReachabilityService : ReachabilityService {
3838
3939 private let _reachabilitySubject : BehaviorSubject < ReachabilityStatus >
4040
41- var reachability : Observable < ReachabilityStatus > {
41+ public var reachability : Observable < ReachabilityStatus > {
4242 return _reachabilitySubject. asObservable ( )
4343 }
4444
4545 let _reachability : Reachability
4646
47- init ( ) throws {
47+ public init ( ) throws {
4848 guard let reachabilityRef = Reachability ( ) else { throw ReachabilityServiceError . failedToCreate }
4949 let reachabilitySubject = BehaviorSubject < ReachabilityStatus > ( value: . unreachable)
5050
You can’t perform that action at this time.
0 commit comments