From 5a9e0b7b685e6533ca6501220391b790bad2385e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mro=CC=81z?= Date: Sat, 23 Mar 2019 18:04:17 +0100 Subject: [PATCH] Update Carthage deps to Alamo 5 beta 3 and more --- Cartfile | 2 +- Cartfile.resolved | 4 ++-- Sources/Moya/MoyaProvider+Defaults.swift | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cartfile b/Cartfile index 11aa87f1c..dbcba648f 100644 --- a/Cartfile +++ b/Cartfile @@ -1,4 +1,4 @@ -github "Alamofire/Alamofire" "5.0.0-beta.2" +github "Alamofire/Alamofire" "5.0.0-beta.3" github "ReactiveCocoa/ReactiveSwift" ~> 6.0 github "ReactiveX/RxSwift" ~> 5.0 github "antitypical/Result" ~> 4.1 diff --git a/Cartfile.resolved b/Cartfile.resolved index adc538d42..473f004e9 100644 --- a/Cartfile.resolved +++ b/Cartfile.resolved @@ -1,7 +1,7 @@ -github "Alamofire/Alamofire" "5.0.0-beta.2" +github "Alamofire/Alamofire" "5.0.0-beta.3" github "AliSoftware/OHHTTPStubs" "8.0.0" github "Quick/Nimble" "v8.0.1" github "Quick/Quick" "v2.1.0" github "ReactiveCocoa/ReactiveSwift" "6.0.0" github "ReactiveX/RxSwift" "5.0.1" -github "antitypical/Result" "4.1.0" \ No newline at end of file +github "antitypical/Result" "4.1.0" diff --git a/Sources/Moya/MoyaProvider+Defaults.swift b/Sources/Moya/MoyaProvider+Defaults.swift index 6a4017c80..42fd3b855 100644 --- a/Sources/Moya/MoyaProvider+Defaults.swift +++ b/Sources/Moya/MoyaProvider+Defaults.swift @@ -29,6 +29,6 @@ public extension MoyaProvider { let configuration = URLSessionConfiguration.default configuration.httpHeaders = .default - return Session(startRequestsImmediately: false, configuration: configuration) + return Session(configuration: configuration, startRequestsImmediately: false) } }