From fea131d869d17401d8f9065ff51ce43aa13e236c Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Mon, 14 Aug 2023 23:14:03 +0200 Subject: [PATCH 1/2] Updated the SwiftLibs package to its latest version. --- Package.resolved | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Package.resolved b/Package.resolved index 05a98b2..dc9e5bb 100644 --- a/Package.resolved +++ b/Package.resolved @@ -23,8 +23,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/rock-n-code/swift-libs.git", "state" : { - "revision" : "060d8a84a9e4b5a7d8bb7520c61b009480fb1c9e", - "version" : "0.1.9" + "revision" : "fca5e034d60bafeb450c9f23ab70c0712acc0c97", + "version" : "0.2.2" } } ], -- 2.47.1 From 014a5d721f846fcca3be98a852f0d5e272e03c78 Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Mon, 14 Aug 2023 23:14:37 +0200 Subject: [PATCH 2/2] Fixed the references to the Communication and the Foundation libraries everywhere. --- Sources/Clients/AmiiboClient.swift | 2 +- Sources/Endpoints/GetAmiiboEndpoint.swift | 2 +- Sources/Endpoints/GetCharacterEndpoint.swift | 2 +- Sources/Endpoints/GetGameSeriesEndpoint.swift | 2 +- Sources/Endpoints/GetLastUpdatedEndpoint.swift | 2 +- Sources/Endpoints/GetSeriesEndpoint.swift | 2 +- Sources/Endpoints/GetTypeEndpoint.swift | 2 +- Sources/Extensions/DateFormatter+Formatter.swift | 2 +- Sources/Protocols/Filter.swift | 2 +- Tests/Clients/AmiiboClientTests.swift | 2 +- Tests/Helpers/Endpoints/TestEndpoint.swift | 2 +- Tests/Helpers/Extensions/MockURLRequest+Init.swift | 2 +- Tests/Services/AmiiboServiceTests.swift | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Sources/Clients/AmiiboClient.swift b/Sources/Clients/AmiiboClient.swift index ad87242..d007bb2 100644 --- a/Sources/Clients/AmiiboClient.swift +++ b/Sources/Clients/AmiiboClient.swift @@ -10,8 +10,8 @@ // //===----------------------------------------------------------------------===// -import Communications import Foundation +import SwiftLibsCommunication #if canImport(FoundationNetworking) import FoundationNetworking diff --git a/Sources/Endpoints/GetAmiiboEndpoint.swift b/Sources/Endpoints/GetAmiiboEndpoint.swift index f1f79f5..8d98b4a 100644 --- a/Sources/Endpoints/GetAmiiboEndpoint.swift +++ b/Sources/Endpoints/GetAmiiboEndpoint.swift @@ -10,8 +10,8 @@ // //===----------------------------------------------------------------------===// -import Communications import Foundation +import SwiftLibsCommunication struct GetAmiiboEndpoint: Endpoint { diff --git a/Sources/Endpoints/GetCharacterEndpoint.swift b/Sources/Endpoints/GetCharacterEndpoint.swift index 92b90e1..05352fc 100644 --- a/Sources/Endpoints/GetCharacterEndpoint.swift +++ b/Sources/Endpoints/GetCharacterEndpoint.swift @@ -10,8 +10,8 @@ // //===----------------------------------------------------------------------===// -import Communications import Foundation +import SwiftLibsCommunication struct GetCharacterEndpoint: Endpoint { diff --git a/Sources/Endpoints/GetGameSeriesEndpoint.swift b/Sources/Endpoints/GetGameSeriesEndpoint.swift index 6295bb8..d11c554 100644 --- a/Sources/Endpoints/GetGameSeriesEndpoint.swift +++ b/Sources/Endpoints/GetGameSeriesEndpoint.swift @@ -10,8 +10,8 @@ // //===----------------------------------------------------------------------===// -import Communications import Foundation +import SwiftLibsCommunication struct GetGameSeriesEndpoint: Endpoint { diff --git a/Sources/Endpoints/GetLastUpdatedEndpoint.swift b/Sources/Endpoints/GetLastUpdatedEndpoint.swift index 6e45451..d9c2dae 100644 --- a/Sources/Endpoints/GetLastUpdatedEndpoint.swift +++ b/Sources/Endpoints/GetLastUpdatedEndpoint.swift @@ -10,8 +10,8 @@ // //===----------------------------------------------------------------------===// -import Communications import Foundation +import SwiftLibsCommunication struct GetLastUpdatedEndpoint: Endpoint { diff --git a/Sources/Endpoints/GetSeriesEndpoint.swift b/Sources/Endpoints/GetSeriesEndpoint.swift index 6ec7eed..678a09f 100644 --- a/Sources/Endpoints/GetSeriesEndpoint.swift +++ b/Sources/Endpoints/GetSeriesEndpoint.swift @@ -10,8 +10,8 @@ // //===----------------------------------------------------------------------===// -import Communications import Foundation +import SwiftLibsCommunication struct GetSeriesEndpoint: Endpoint { diff --git a/Sources/Endpoints/GetTypeEndpoint.swift b/Sources/Endpoints/GetTypeEndpoint.swift index df64aa6..8889d3f 100644 --- a/Sources/Endpoints/GetTypeEndpoint.swift +++ b/Sources/Endpoints/GetTypeEndpoint.swift @@ -10,8 +10,8 @@ // //===----------------------------------------------------------------------===// -import Communications import Foundation +import SwiftLibsCommunication struct GetTypeEndpoint: Endpoint { diff --git a/Sources/Extensions/DateFormatter+Formatter.swift b/Sources/Extensions/DateFormatter+Formatter.swift index f5627d3..61fe34a 100644 --- a/Sources/Extensions/DateFormatter+Formatter.swift +++ b/Sources/Extensions/DateFormatter+Formatter.swift @@ -10,8 +10,8 @@ // //===----------------------------------------------------------------------===// -import Core import Foundation +import SwiftLibsFoundation extension DateFormatter { diff --git a/Sources/Protocols/Filter.swift b/Sources/Protocols/Filter.swift index dc67d2a..3017006 100644 --- a/Sources/Protocols/Filter.swift +++ b/Sources/Protocols/Filter.swift @@ -10,7 +10,7 @@ // //===----------------------------------------------------------------------===// -import Communications +import SwiftLibsCommunication protocol Filter { diff --git a/Tests/Clients/AmiiboClientTests.swift b/Tests/Clients/AmiiboClientTests.swift index ea88a62..c68d6d9 100644 --- a/Tests/Clients/AmiiboClientTests.swift +++ b/Tests/Clients/AmiiboClientTests.swift @@ -10,8 +10,8 @@ // //===----------------------------------------------------------------------===// -import Communications import Foundation +import SwiftLibsCommunication import XCTest #if canImport(FoundationNetworking) diff --git a/Tests/Helpers/Endpoints/TestEndpoint.swift b/Tests/Helpers/Endpoints/TestEndpoint.swift index 3a73d1d..f90af1a 100644 --- a/Tests/Helpers/Endpoints/TestEndpoint.swift +++ b/Tests/Helpers/Endpoints/TestEndpoint.swift @@ -10,8 +10,8 @@ // //===----------------------------------------------------------------------===// -import Communications import Foundation +import SwiftLibsCommunication struct TestEndpoint: Endpoint { diff --git a/Tests/Helpers/Extensions/MockURLRequest+Init.swift b/Tests/Helpers/Extensions/MockURLRequest+Init.swift index 6c9c682..907a94e 100644 --- a/Tests/Helpers/Extensions/MockURLRequest+Init.swift +++ b/Tests/Helpers/Extensions/MockURLRequest+Init.swift @@ -10,8 +10,8 @@ // //===----------------------------------------------------------------------===// -import Communications import Foundation +import SwiftLibsCommunication #if canImport(FoundationNetworking) import FoundationNetworking diff --git a/Tests/Services/AmiiboServiceTests.swift b/Tests/Services/AmiiboServiceTests.swift index c71626e..40c52f3 100644 --- a/Tests/Services/AmiiboServiceTests.swift +++ b/Tests/Services/AmiiboServiceTests.swift @@ -10,8 +10,8 @@ // //===----------------------------------------------------------------------===// -import Communications import Foundation +import SwiftLibsCommunication import XCTest #if canImport(FoundationNetworking) -- 2.47.1