From b94641af6991644db66d655a4fe15be436903b47 Mon Sep 17 00:00:00 2001 From: Leo Dion Date: Wed, 17 Feb 2021 16:12:32 -0500 Subject: [PATCH 1/3] removing print statement from DEBUG --- Sources/MistKit/Controllers/ResultSink.swift | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Sources/MistKit/Controllers/ResultSink.swift b/Sources/MistKit/Controllers/ResultSink.swift index c749429..eaf65bc 100644 --- a/Sources/MistKit/Controllers/ResultSink.swift +++ b/Sources/MistKit/Controllers/ResultSink.swift @@ -22,11 +22,6 @@ public struct ResultSink: ResultSinkProtocol { switch dataResult { case let .success(data): do { - #if DEBUG - if let text = String(data: data, encoding: .utf8) { - debugPrint(text) - } - #endif let value = try decoder.decode(RequestType.Response.self, from: data) newResult = .success(value) break From 473087d2ef0ed6dcd933bd72d054434704d966da Mon Sep 17 00:00:00 2001 From: Leo Dion Date: Wed, 17 Feb 2021 16:21:24 -0500 Subject: [PATCH 2/3] Version 0.2.3 --- Package.swift | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Package.swift b/Package.swift index cb4d8e5..cf646e2 100644 --- a/Package.swift +++ b/Package.swift @@ -36,13 +36,13 @@ let package = Package( .package(url: "https://github.com/vapor/fluent-sqlite-driver.git", from: "4.0.0"), .package(url: "https://github.com/swift-server/async-http-client.git", from: "1.0.0"), .package(url: "https://github.com/apple/swift-nio-http2.git", from: "1.16.1"), - // dev - .package(url: "https://github.com/shibapm/Komondor", from: "1.0.6"), // dev - .package(url: "https://github.com/eneko/SourceDocs", from: "1.2.1"), // dev - .package(url: "https://github.com/nicklockwood/SwiftFormat", from: "0.47.0"), // dev - .package(url: "https://github.com/realm/SwiftLint", from: "0.41.0"), // dev - .package(url: "https://github.com/shibapm/Rocket", .branch("master")), // dev - .package(url: "https://github.com/mattpolzin/swift-test-codecov", .branch("master")) // dev +// // dev +// .package(url: "https://github.com/shibapm/Komondor", from: "1.0.6"), // dev +// .package(url: "https://github.com/eneko/SourceDocs", from: "1.2.1"), // dev +// .package(url: "https://github.com/nicklockwood/SwiftFormat", from: "0.47.0"), // dev +// .package(url: "https://github.com/realm/SwiftLint", from: "0.41.0"), // dev +// .package(url: "https://github.com/shibapm/Rocket", .branch("master")), // dev +// .package(url: "https://github.com/mattpolzin/swift-test-codecov", .branch("master")) // dev ], targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite. From 8abc3e5d9556acecb1833d3fa7f6ebd35b688ae2 Mon Sep 17 00:00:00 2001 From: Leo Dion Date: Wed, 17 Feb 2021 16:21:24 -0500 Subject: [PATCH 3/3] Unhide dependencies --- Package.swift | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Package.swift b/Package.swift index cf646e2..cb4d8e5 100644 --- a/Package.swift +++ b/Package.swift @@ -36,13 +36,13 @@ let package = Package( .package(url: "https://github.com/vapor/fluent-sqlite-driver.git", from: "4.0.0"), .package(url: "https://github.com/swift-server/async-http-client.git", from: "1.0.0"), .package(url: "https://github.com/apple/swift-nio-http2.git", from: "1.16.1"), -// // dev -// .package(url: "https://github.com/shibapm/Komondor", from: "1.0.6"), // dev -// .package(url: "https://github.com/eneko/SourceDocs", from: "1.2.1"), // dev -// .package(url: "https://github.com/nicklockwood/SwiftFormat", from: "0.47.0"), // dev -// .package(url: "https://github.com/realm/SwiftLint", from: "0.41.0"), // dev -// .package(url: "https://github.com/shibapm/Rocket", .branch("master")), // dev -// .package(url: "https://github.com/mattpolzin/swift-test-codecov", .branch("master")) // dev + // dev + .package(url: "https://github.com/shibapm/Komondor", from: "1.0.6"), // dev + .package(url: "https://github.com/eneko/SourceDocs", from: "1.2.1"), // dev + .package(url: "https://github.com/nicklockwood/SwiftFormat", from: "0.47.0"), // dev + .package(url: "https://github.com/realm/SwiftLint", from: "0.41.0"), // dev + .package(url: "https://github.com/shibapm/Rocket", .branch("master")), // dev + .package(url: "https://github.com/mattpolzin/swift-test-codecov", .branch("master")) // dev ], targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite.