diff --git a/.swift-version b/.swift-version deleted file mode 100644 index 5186d0706..000000000 --- a/.swift-version +++ /dev/null @@ -1 +0,0 @@ -4.0 diff --git a/RxCocoa/Foundation/URLSession+Rx.swift b/RxCocoa/Foundation/URLSession+Rx.swift index 291bc52fc..58040891d 100644 --- a/RxCocoa/Foundation/URLSession+Rx.swift +++ b/RxCocoa/Foundation/URLSession+Rx.swift @@ -140,7 +140,7 @@ extension Reactive where Base: URLSession { let interval = Date().timeIntervalSince(d ?? Date()) print(convertURLRequestToCurlCommand(request)) #if os(Linux) - print(convertResponseToString(response, error.flatMap { $0 as? NSError }, interval)) + print(convertResponseToString(response, error.flatMap { $0 as NSError }, interval)) #else print(convertResponseToString(response, error.map { $0 as NSError }, interval)) #endif diff --git a/scripts/validate-podspec.sh b/scripts/validate-podspec.sh index 906adfad8..593421bcb 100755 --- a/scripts/validate-podspec.sh +++ b/scripts/validate-podspec.sh @@ -16,7 +16,7 @@ function cleanup { trap cleanup EXIT if [[ ! -z "${TRAVIS}" ]]; then - gem install cocoapods --pre --no-rdoc --no-ri --no-document --quiet; + gem install cocoapods --pre --no-document --quiet; pod repo update; fi;