diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f4e5de1..c6f337f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,14 +21,20 @@ jobs: - '12.5.1' - '13.2' - '13.4' - - '14.0' + - '14.0.1' + - '14.1' + - '14.2' exclude: - os: macos-11 xcode: '13.2' - os: macos-11 xcode: '13.4' - os: macos-11 - xcode: '14.0' + xcode: '14.0.1' + - os: macos-11 + xcode: '14.1' + - os: macos-11 + xcode: '14.2' - os: macos-12 xcode: '12.4' - os: macos-12 diff --git a/Package.resolved b/Package.resolved index e0933d8..0c1b58c 100644 --- a/Package.resolved +++ b/Package.resolved @@ -6,8 +6,8 @@ "repositoryURL": "https://github.com/pointfreeco/combine-schedulers.git", "state": { "branch": null, - "revision": "aa3e575929f2bcc5bad012bd2575eae716cbcdf7", - "version": "0.8.0" + "revision": "882ac01eb7ef9e36d4467eb4b1151e74fcef85ab", + "version": "0.9.1" } }, { @@ -24,8 +24,8 @@ "repositoryURL": "https://github.com/pointfreeco/xctest-dynamic-overlay", "state": { "branch": null, - "revision": "30314f1ece684dd60679d598a9b89107557b67d9", - "version": "0.4.1" + "revision": "ace21305e0dd3a9e749aef79fef14be79a3b4669", + "version": "0.8.2" } } ] diff --git a/Sources/NetworkService/HTTPURLResponse+StatusCode.swift b/Sources/NetworkService/HTTPURLResponse+StatusCode.swift index 47a6208..2398097 100644 --- a/Sources/NetworkService/HTTPURLResponse+StatusCode.swift +++ b/Sources/NetworkService/HTTPURLResponse+StatusCode.swift @@ -1,7 +1,7 @@ // HTTPURLResponse+StatusCode.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkService/NetworkService.swift b/Sources/NetworkService/NetworkService.swift index b748b5e..fb32afb 100644 --- a/Sources/NetworkService/NetworkService.swift +++ b/Sources/NetworkService/NetworkService.swift @@ -1,7 +1,7 @@ // NetworkService.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkService/NetworkServiceClient+Delete.swift b/Sources/NetworkService/NetworkServiceClient+Delete.swift index 63dba47..9c56a7f 100644 --- a/Sources/NetworkService/NetworkServiceClient+Delete.swift +++ b/Sources/NetworkService/NetworkServiceClient+Delete.swift @@ -1,7 +1,7 @@ // NetworkServiceClient+Delete.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkService/NetworkServiceClient+Get.swift b/Sources/NetworkService/NetworkServiceClient+Get.swift index 27b4df2..fb3274a 100644 --- a/Sources/NetworkService/NetworkServiceClient+Get.swift +++ b/Sources/NetworkService/NetworkServiceClient+Get.swift @@ -1,7 +1,7 @@ // NetworkServiceClient+Get.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkService/NetworkServiceClient+GetSession.swift b/Sources/NetworkService/NetworkServiceClient+GetSession.swift index 074a42a..002120a 100644 --- a/Sources/NetworkService/NetworkServiceClient+GetSession.swift +++ b/Sources/NetworkService/NetworkServiceClient+GetSession.swift @@ -1,7 +1,7 @@ // NetworkServiceClient+GetSession.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkService/NetworkServiceClient+Post.swift b/Sources/NetworkService/NetworkServiceClient+Post.swift index 90cd094..071e612 100644 --- a/Sources/NetworkService/NetworkServiceClient+Post.swift +++ b/Sources/NetworkService/NetworkServiceClient+Post.swift @@ -1,7 +1,7 @@ // NetworkServiceClient+Post.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkService/NetworkServiceClient+Put.swift b/Sources/NetworkService/NetworkServiceClient+Put.swift index 39da88c..67e2b55 100644 --- a/Sources/NetworkService/NetworkServiceClient+Put.swift +++ b/Sources/NetworkService/NetworkServiceClient+Put.swift @@ -1,7 +1,7 @@ // NetworkServiceClient+Put.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkService/NetworkServiceClient+Start.swift b/Sources/NetworkService/NetworkServiceClient+Start.swift index 78793d8..7090b8e 100644 --- a/Sources/NetworkService/NetworkServiceClient+Start.swift +++ b/Sources/NetworkService/NetworkServiceClient+Start.swift @@ -1,7 +1,7 @@ // NetworkServiceClient+Start.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkService/NetworkServiceClient+URLSessionDelegate.swift b/Sources/NetworkService/NetworkServiceClient+URLSessionDelegate.swift index 8235908..5f22259 100644 --- a/Sources/NetworkService/NetworkServiceClient+URLSessionDelegate.swift +++ b/Sources/NetworkService/NetworkServiceClient+URLSessionDelegate.swift @@ -1,7 +1,7 @@ // NetworkServiceClient+URLSessionDelegate.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkService/NetworkServiceClient.swift b/Sources/NetworkService/NetworkServiceClient.swift index 4122a33..e904037 100644 --- a/Sources/NetworkService/NetworkServiceClient.swift +++ b/Sources/NetworkService/NetworkServiceClient.swift @@ -1,7 +1,7 @@ // NetworkServiceClient.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkService/Publisher+NetworkService.swift b/Sources/NetworkService/Publisher+NetworkService.swift index cafa205..8038af7 100644 --- a/Sources/NetworkService/Publisher+NetworkService.swift +++ b/Sources/NetworkService/Publisher+NetworkService.swift @@ -1,7 +1,7 @@ // Publisher+NetworkService.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkService/TopLevelCodable.swift b/Sources/NetworkService/TopLevelCodable.swift index 93bc402..30ed140 100644 --- a/Sources/NetworkService/TopLevelCodable.swift +++ b/Sources/NetworkService/TopLevelCodable.swift @@ -1,7 +1,7 @@ // TopLevelCodable.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkService/URLRequest+HTTPHeader.swift b/Sources/NetworkService/URLRequest+HTTPHeader.swift index 7f9b351..de59a0f 100644 --- a/Sources/NetworkService/URLRequest+HTTPHeader.swift +++ b/Sources/NetworkService/URLRequest+HTTPHeader.swift @@ -1,7 +1,7 @@ // URLRequest+HTTPHeader.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkService/URLRequest+HTTPMethod.swift b/Sources/NetworkService/URLRequest+HTTPMethod.swift index 8fd62f9..51efe8b 100644 --- a/Sources/NetworkService/URLRequest+HTTPMethod.swift +++ b/Sources/NetworkService/URLRequest+HTTPMethod.swift @@ -1,7 +1,7 @@ // URLRequest+HTTPMethod.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkServiceAsyncBeta/HTTPURLResponse+StatusCode.swift b/Sources/NetworkServiceAsyncBeta/HTTPURLResponse+StatusCode.swift index 47a6208..2398097 100644 --- a/Sources/NetworkServiceAsyncBeta/HTTPURLResponse+StatusCode.swift +++ b/Sources/NetworkServiceAsyncBeta/HTTPURLResponse+StatusCode.swift @@ -1,7 +1,7 @@ // HTTPURLResponse+StatusCode.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkServiceAsyncBeta/NetworkService.swift b/Sources/NetworkServiceAsyncBeta/NetworkService.swift index c4cfd3e..704594e 100644 --- a/Sources/NetworkServiceAsyncBeta/NetworkService.swift +++ b/Sources/NetworkServiceAsyncBeta/NetworkService.swift @@ -1,7 +1,7 @@ // NetworkService.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkServiceAsyncBeta/NetworkServiceClient+Delete.swift b/Sources/NetworkServiceAsyncBeta/NetworkServiceClient+Delete.swift index ef30143..140dd68 100644 --- a/Sources/NetworkServiceAsyncBeta/NetworkServiceClient+Delete.swift +++ b/Sources/NetworkServiceAsyncBeta/NetworkServiceClient+Delete.swift @@ -1,7 +1,7 @@ // NetworkServiceClient+Delete.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkServiceAsyncBeta/NetworkServiceClient+Get.swift b/Sources/NetworkServiceAsyncBeta/NetworkServiceClient+Get.swift index a4fa5f0..57a6483 100644 --- a/Sources/NetworkServiceAsyncBeta/NetworkServiceClient+Get.swift +++ b/Sources/NetworkServiceAsyncBeta/NetworkServiceClient+Get.swift @@ -1,7 +1,7 @@ // NetworkServiceClient+Get.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkServiceAsyncBeta/NetworkServiceClient+GetSession.swift b/Sources/NetworkServiceAsyncBeta/NetworkServiceClient+GetSession.swift index 074a42a..002120a 100644 --- a/Sources/NetworkServiceAsyncBeta/NetworkServiceClient+GetSession.swift +++ b/Sources/NetworkServiceAsyncBeta/NetworkServiceClient+GetSession.swift @@ -1,7 +1,7 @@ // NetworkServiceClient+GetSession.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkServiceAsyncBeta/NetworkServiceClient+Post.swift b/Sources/NetworkServiceAsyncBeta/NetworkServiceClient+Post.swift index 735a6ca..9e6a3eb 100644 --- a/Sources/NetworkServiceAsyncBeta/NetworkServiceClient+Post.swift +++ b/Sources/NetworkServiceAsyncBeta/NetworkServiceClient+Post.swift @@ -1,7 +1,7 @@ // NetworkServiceClient+Post.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkServiceAsyncBeta/NetworkServiceClient+Put.swift b/Sources/NetworkServiceAsyncBeta/NetworkServiceClient+Put.swift index 25ccecd..20c2fde 100644 --- a/Sources/NetworkServiceAsyncBeta/NetworkServiceClient+Put.swift +++ b/Sources/NetworkServiceAsyncBeta/NetworkServiceClient+Put.swift @@ -1,7 +1,7 @@ // NetworkServiceClient+Put.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkServiceAsyncBeta/NetworkServiceClient+Start.swift b/Sources/NetworkServiceAsyncBeta/NetworkServiceClient+Start.swift index 28d87b6..e52ac8c 100644 --- a/Sources/NetworkServiceAsyncBeta/NetworkServiceClient+Start.swift +++ b/Sources/NetworkServiceAsyncBeta/NetworkServiceClient+Start.swift @@ -1,7 +1,7 @@ // NetworkServiceClient+Start.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. @@ -28,38 +28,34 @@ extension NetworkServiceClient { private func response(_ request: URLRequest) async throws -> (Data, URLResponse) { let session = getSession() - if #available(iOS 15, watchOS 8, macOS 12, macCatalyst 15, tvOS 15, *) { - return try await session.data(for: request) - } else { - var task: URLSessionDataTask? - var shouldCancel: Bool = false - let onCancel = { - if let task = task { - task.cancel() - } else { - shouldCancel = true - } + var task: URLSessionDataTask? + var shouldCancel: Bool = false + let onCancel = { + if let task = task { + task.cancel() + } else { + shouldCancel = true } - return try await withTaskCancellationHandler( - handler: { onCancel() }, - operation: { - try await withCheckedThrowingContinuation { continuation in - task = session.dataTask(with: request, completionHandler: { _data, _urlResponse, _error in - guard let data = _data, let urlResponse = _urlResponse else { - return continuation.resume(throwing: _error ?? URLError(.badServerResponse)) - } - continuation.resume(returning: (data, urlResponse)) - }) - - if shouldCancel { - task?.cancel() - } else { - task?.resume() + } + return try await withTaskCancellationHandler( + handler: { onCancel() }, + operation: { + try await withCheckedThrowingContinuation { continuation in + task = session.dataTask(with: request, completionHandler: { _data, _urlResponse, _error in + guard let data = _data, let urlResponse = _urlResponse else { + return continuation.resume(throwing: _error ?? URLError(.badServerResponse)) } + continuation.resume(returning: (data, urlResponse)) + }) + + if shouldCancel { + task?.cancel() + } else { + task?.resume() } } - ) - } + } + ) } } diff --git a/Sources/NetworkServiceAsyncBeta/NetworkServiceClient.swift b/Sources/NetworkServiceAsyncBeta/NetworkServiceClient.swift index d445a07..559c2c0 100644 --- a/Sources/NetworkServiceAsyncBeta/NetworkServiceClient.swift +++ b/Sources/NetworkServiceAsyncBeta/NetworkServiceClient.swift @@ -1,7 +1,7 @@ // NetworkServiceClient.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkServiceAsyncBeta/Result+NetworkService.swift b/Sources/NetworkServiceAsyncBeta/Result+NetworkService.swift index 848644a..d2bb89e 100644 --- a/Sources/NetworkServiceAsyncBeta/Result+NetworkService.swift +++ b/Sources/NetworkServiceAsyncBeta/Result+NetworkService.swift @@ -1,7 +1,7 @@ // Result+NetworkService.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkServiceAsyncBeta/TopLevelCodable.swift b/Sources/NetworkServiceAsyncBeta/TopLevelCodable.swift index d6c626d..f07b1b2 100644 --- a/Sources/NetworkServiceAsyncBeta/TopLevelCodable.swift +++ b/Sources/NetworkServiceAsyncBeta/TopLevelCodable.swift @@ -1,7 +1,7 @@ // TopLevelCodable.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkServiceAsyncBeta/URLRequest+HTTPHeader.swift b/Sources/NetworkServiceAsyncBeta/URLRequest+HTTPHeader.swift index 7e43618..e5b48f4 100644 --- a/Sources/NetworkServiceAsyncBeta/URLRequest+HTTPHeader.swift +++ b/Sources/NetworkServiceAsyncBeta/URLRequest+HTTPHeader.swift @@ -1,7 +1,7 @@ // URLRequest+HTTPHeader.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkServiceAsyncBeta/URLRequest+HTTPMethod.swift b/Sources/NetworkServiceAsyncBeta/URLRequest+HTTPMethod.swift index 8fd62f9..51efe8b 100644 --- a/Sources/NetworkServiceAsyncBeta/URLRequest+HTTPMethod.swift +++ b/Sources/NetworkServiceAsyncBeta/URLRequest+HTTPMethod.swift @@ -1,7 +1,7 @@ // URLRequest+HTTPMethod.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkServiceAsyncBeta/URLRequest+build.swift b/Sources/NetworkServiceAsyncBeta/URLRequest+build.swift index 5e57e35..9a01944 100644 --- a/Sources/NetworkServiceAsyncBeta/URLRequest+build.swift +++ b/Sources/NetworkServiceAsyncBeta/URLRequest+build.swift @@ -1,7 +1,7 @@ // URLRequest+build.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkServiceTestHelper/MockNetworkService.swift b/Sources/NetworkServiceTestHelper/MockNetworkService.swift index d68a93d..68ed13a 100644 --- a/Sources/NetworkServiceTestHelper/MockNetworkService.swift +++ b/Sources/NetworkServiceTestHelper/MockNetworkService.swift @@ -1,7 +1,7 @@ // MockNetworkService.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkServiceTestHelperAsyncBeta/CodableOutput.swift b/Sources/NetworkServiceTestHelperAsyncBeta/CodableOutput.swift index d147b64..e0f4aa0 100644 --- a/Sources/NetworkServiceTestHelperAsyncBeta/CodableOutput.swift +++ b/Sources/NetworkServiceTestHelperAsyncBeta/CodableOutput.swift @@ -1,7 +1,7 @@ // CodableOutput.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkServiceTestHelperAsyncBeta/Delay.swift b/Sources/NetworkServiceTestHelperAsyncBeta/Delay.swift index a6ceaa2..1953e94 100644 --- a/Sources/NetworkServiceTestHelperAsyncBeta/Delay.swift +++ b/Sources/NetworkServiceTestHelperAsyncBeta/Delay.swift @@ -1,7 +1,7 @@ // Delay.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkServiceTestHelperAsyncBeta/FailureOutput.swift b/Sources/NetworkServiceTestHelperAsyncBeta/FailureOutput.swift index 027901d..60b8e3e 100644 --- a/Sources/NetworkServiceTestHelperAsyncBeta/FailureOutput.swift +++ b/Sources/NetworkServiceTestHelperAsyncBeta/FailureOutput.swift @@ -1,7 +1,7 @@ // FailureOutput.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkServiceTestHelperAsyncBeta/MockNetworkService.swift b/Sources/NetworkServiceTestHelperAsyncBeta/MockNetworkService.swift index 25b139f..f79de29 100644 --- a/Sources/NetworkServiceTestHelperAsyncBeta/MockNetworkService.swift +++ b/Sources/NetworkServiceTestHelperAsyncBeta/MockNetworkService.swift @@ -1,7 +1,7 @@ // MockNetworkService.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkServiceTestHelperAsyncBeta/MockOutput.swift b/Sources/NetworkServiceTestHelperAsyncBeta/MockOutput.swift index e834e4b..53d4c0e 100644 --- a/Sources/NetworkServiceTestHelperAsyncBeta/MockOutput.swift +++ b/Sources/NetworkServiceTestHelperAsyncBeta/MockOutput.swift @@ -1,7 +1,7 @@ // MockOutput.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Sources/NetworkServiceTestHelperAsyncBeta/RepeatResponse.swift b/Sources/NetworkServiceTestHelperAsyncBeta/RepeatResponse.swift index e4c7b92..e749dc9 100644 --- a/Sources/NetworkServiceTestHelperAsyncBeta/RepeatResponse.swift +++ b/Sources/NetworkServiceTestHelperAsyncBeta/RepeatResponse.swift @@ -1,7 +1,7 @@ // RepeatResponse.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Tests/NetworkServiceAsyncBetaTests/NetworkServiceTests+Delete.swift b/Tests/NetworkServiceAsyncBetaTests/NetworkServiceTests+Delete.swift index a168e22..ff7eb39 100644 --- a/Tests/NetworkServiceAsyncBetaTests/NetworkServiceTests+Delete.swift +++ b/Tests/NetworkServiceAsyncBetaTests/NetworkServiceTests+Delete.swift @@ -1,7 +1,7 @@ // NetworkServiceTests+Delete.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Tests/NetworkServiceAsyncBetaTests/NetworkServiceTests+Get.swift b/Tests/NetworkServiceAsyncBetaTests/NetworkServiceTests+Get.swift index 1b98e77..1bf8f89 100644 --- a/Tests/NetworkServiceAsyncBetaTests/NetworkServiceTests+Get.swift +++ b/Tests/NetworkServiceAsyncBetaTests/NetworkServiceTests+Get.swift @@ -1,7 +1,7 @@ // NetworkServiceTests+Get.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Tests/NetworkServiceAsyncBetaTests/NetworkServiceTests+Post.swift b/Tests/NetworkServiceAsyncBetaTests/NetworkServiceTests+Post.swift index f598c39..18dc140 100644 --- a/Tests/NetworkServiceAsyncBetaTests/NetworkServiceTests+Post.swift +++ b/Tests/NetworkServiceAsyncBetaTests/NetworkServiceTests+Post.swift @@ -1,7 +1,7 @@ // NetworkServiceTests+Post.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Tests/NetworkServiceAsyncBetaTests/NetworkServiceTests+Put.swift b/Tests/NetworkServiceAsyncBetaTests/NetworkServiceTests+Put.swift index aeeae50..9d9ba2e 100644 --- a/Tests/NetworkServiceAsyncBetaTests/NetworkServiceTests+Put.swift +++ b/Tests/NetworkServiceAsyncBetaTests/NetworkServiceTests+Put.swift @@ -1,7 +1,7 @@ // NetworkServiceTests+Put.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Tests/NetworkServiceAsyncBetaTests/NetworkServiceTests.swift b/Tests/NetworkServiceAsyncBetaTests/NetworkServiceTests.swift index af33fed..72bdbb7 100644 --- a/Tests/NetworkServiceAsyncBetaTests/NetworkServiceTests.swift +++ b/Tests/NetworkServiceAsyncBetaTests/NetworkServiceTests.swift @@ -1,7 +1,7 @@ // NetworkServiceTests.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Tests/NetworkServiceAsyncBetaTests/NetworkTestCase.swift b/Tests/NetworkServiceAsyncBetaTests/NetworkTestCase.swift index d637561..98e965d 100644 --- a/Tests/NetworkServiceAsyncBetaTests/NetworkTestCase.swift +++ b/Tests/NetworkServiceAsyncBetaTests/NetworkTestCase.swift @@ -1,7 +1,7 @@ // NetworkTestCase.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Tests/NetworkServiceAsyncBetaTests/Result+NetworkServiceTests.swift b/Tests/NetworkServiceAsyncBetaTests/Result+NetworkServiceTests.swift index 226f31e..e69f5ab 100644 --- a/Tests/NetworkServiceAsyncBetaTests/Result+NetworkServiceTests.swift +++ b/Tests/NetworkServiceAsyncBetaTests/Result+NetworkServiceTests.swift @@ -1,7 +1,7 @@ // Result+NetworkServiceTests.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Tests/NetworkServiceAsyncBetaTests/XCTestManifests.swift b/Tests/NetworkServiceAsyncBetaTests/XCTestManifests.swift index fde5dc4..b433d91 100644 --- a/Tests/NetworkServiceAsyncBetaTests/XCTestManifests.swift +++ b/Tests/NetworkServiceAsyncBetaTests/XCTestManifests.swift @@ -1,7 +1,7 @@ // XCTestManifests.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Tests/NetworkServiceTestHelperAsyncBetaTests/MockNetworkServiceTests.swift b/Tests/NetworkServiceTestHelperAsyncBetaTests/MockNetworkServiceTests.swift index b46bc43..2c28eb0 100644 --- a/Tests/NetworkServiceTestHelperAsyncBetaTests/MockNetworkServiceTests.swift +++ b/Tests/NetworkServiceTestHelperAsyncBetaTests/MockNetworkServiceTests.swift @@ -1,7 +1,7 @@ // MockNetworkServiceTests.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Tests/NetworkServiceTestHelperTests/MockNetworkServiceTests.swift b/Tests/NetworkServiceTestHelperTests/MockNetworkServiceTests.swift index d63443d..e6c3561 100644 --- a/Tests/NetworkServiceTestHelperTests/MockNetworkServiceTests.swift +++ b/Tests/NetworkServiceTestHelperTests/MockNetworkServiceTests.swift @@ -1,7 +1,7 @@ // MockNetworkServiceTests.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Tests/NetworkServiceTests/AsyncTestCase.swift b/Tests/NetworkServiceTests/AsyncTestCase.swift index e3b8ba5..9a0b610 100644 --- a/Tests/NetworkServiceTests/AsyncTestCase.swift +++ b/Tests/NetworkServiceTests/AsyncTestCase.swift @@ -1,7 +1,7 @@ // AsyncTestCase.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Tests/NetworkServiceTests/NetworkServiceTests+Delete.swift b/Tests/NetworkServiceTests/NetworkServiceTests+Delete.swift index 500e5d0..869b175 100644 --- a/Tests/NetworkServiceTests/NetworkServiceTests+Delete.swift +++ b/Tests/NetworkServiceTests/NetworkServiceTests+Delete.swift @@ -1,7 +1,7 @@ // NetworkServiceTests+Delete.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Tests/NetworkServiceTests/NetworkServiceTests+Get.swift b/Tests/NetworkServiceTests/NetworkServiceTests+Get.swift index 675e687..e3973a1 100644 --- a/Tests/NetworkServiceTests/NetworkServiceTests+Get.swift +++ b/Tests/NetworkServiceTests/NetworkServiceTests+Get.swift @@ -1,7 +1,7 @@ // NetworkServiceTests+Get.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Tests/NetworkServiceTests/NetworkServiceTests+Post.swift b/Tests/NetworkServiceTests/NetworkServiceTests+Post.swift index e17b848..3d0cf5d 100644 --- a/Tests/NetworkServiceTests/NetworkServiceTests+Post.swift +++ b/Tests/NetworkServiceTests/NetworkServiceTests+Post.swift @@ -1,7 +1,7 @@ // NetworkServiceTests+Post.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Tests/NetworkServiceTests/NetworkServiceTests+Put.swift b/Tests/NetworkServiceTests/NetworkServiceTests+Put.swift index d49036d..efa57b3 100644 --- a/Tests/NetworkServiceTests/NetworkServiceTests+Put.swift +++ b/Tests/NetworkServiceTests/NetworkServiceTests+Put.swift @@ -1,7 +1,7 @@ // NetworkServiceTests+Put.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Tests/NetworkServiceTests/NetworkServiceTests.swift b/Tests/NetworkServiceTests/NetworkServiceTests.swift index 408294d..9066a3e 100644 --- a/Tests/NetworkServiceTests/NetworkServiceTests.swift +++ b/Tests/NetworkServiceTests/NetworkServiceTests.swift @@ -1,7 +1,7 @@ // NetworkServiceTests.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Tests/NetworkServiceTests/NetworkTestCase.swift b/Tests/NetworkServiceTests/NetworkTestCase.swift index c0bd32b..efdf323 100644 --- a/Tests/NetworkServiceTests/NetworkTestCase.swift +++ b/Tests/NetworkServiceTests/NetworkTestCase.swift @@ -1,7 +1,7 @@ // NetworkTestCase.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Tests/NetworkServiceTests/Publisher+NetworkServiceTests.swift b/Tests/NetworkServiceTests/Publisher+NetworkServiceTests.swift index 93c7fc7..8bb8c69 100644 --- a/Tests/NetworkServiceTests/Publisher+NetworkServiceTests.swift +++ b/Tests/NetworkServiceTests/Publisher+NetworkServiceTests.swift @@ -1,7 +1,7 @@ // Publisher+NetworkServiceTests.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. diff --git a/Tests/NetworkServiceTests/XCTestManifests.swift b/Tests/NetworkServiceTests/XCTestManifests.swift index 239e970..6626ce8 100644 --- a/Tests/NetworkServiceTests/XCTestManifests.swift +++ b/Tests/NetworkServiceTests/XCTestManifests.swift @@ -1,7 +1,7 @@ // XCTestManifests.swift // NetworkService // -// Copyright © 2022 MFB Technologies, Inc. All rights reserved. +// Copyright © 2023 MFB Technologies, Inc. All rights reserved. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree.