From d892f67ddbdde635787a1f2f96e654e91a2edbaa Mon Sep 17 00:00:00 2001
From: Danny Sung
Date: Wed, 9 Dec 2020 09:30:38 -0800
Subject: [PATCH] Misc org update (#113)
* Update github org references
* Update jazzy docs
* Updated package references to kitura project versions
* Update package reference for swift 4.x to Kitura org
* Rename deprecated IndexDistance to Int
---
.jazzy.yaml | 6 +-
.travis.yml | 2 +-
Package.swift | 8 +-
Package@swift-4.swift | 16 +-
README.md | 12 +-
Sources/SwiftSMTP/TLSConfiguration.swift | 2 +-
Tests/LinuxMain.swift | 2 +-
docs/Enums.html | 17 +-
docs/Enums/AuthMethod.html | 47 ++--
docs/Enums/SMTPError.html | 125 +++------
docs/Structs.html | 32 +--
docs/Structs/Attachment.html | 40 ++-
docs/Structs/Mail.html | 51 ++--
docs/Structs/Mail/User.html | 21 +-
docs/Structs/SMTP.html | 31 ++-
docs/Structs/SMTP/TLSMode.html | 47 ++--
docs/Structs/TLSConfiguration.html | 51 ++--
docs/Typealiases.html | 13 +-
docs/css/jazzy.css | 45 ++-
.../Contents/Resources/Documents/Enums.html | 17 +-
.../Resources/Documents/Enums/AuthMethod.html | 47 ++--
.../Resources/Documents/Enums/SMTPError.html | 125 +++------
.../Contents/Resources/Documents/Structs.html | 32 +--
.../Documents/Structs/Attachment.html | 40 ++-
.../Resources/Documents/Structs/Mail.html | 51 ++--
.../Documents/Structs/Mail/User.html | 21 +-
.../Resources/Documents/Structs/SMTP.html | 31 ++-
.../Documents/Structs/SMTP/TLSMode.html | 47 ++--
.../Documents/Structs/TLSConfiguration.html | 51 ++--
.../Resources/Documents/Typealiases.html | 13 +-
.../Resources/Documents/css/jazzy.css | 45 ++-
.../Contents/Resources/Documents/index.html | 49 +++-
.../Contents/Resources/Documents/js/jazzy.js | 61 ++--
.../Resources/Documents/js/jazzy.search.js | 26 +-
.../Resources/Documents/js/jquery.min.js | 6 +-
.../Resources/Documents/js/lunr.min.js | 6 +-
.../Documents/js/typeahead.jquery.js | 262 ++++++++++++++----
.../Contents/Resources/Documents/search.json | 2 +-
.../Contents/Resources/docSet.dsidx | Bin 28672 -> 28672 bytes
docs/docsets/SwiftSMTP.tgz | Bin 80575 -> 86857 bytes
docs/index.html | 49 +++-
docs/js/jazzy.js | 61 ++--
docs/js/jazzy.search.js | 26 +-
docs/js/jquery.min.js | 6 +-
docs/js/lunr.min.js | 6 +-
docs/js/typeahead.jquery.js | 262 ++++++++++++++----
docs/search.json | 2 +-
docs/undocumented.json | 2 +-
migration-guide.md | 4 +-
49 files changed, 1141 insertions(+), 777 deletions(-)
mode change 100755 => 100644 docs/docsets/SwiftSMTP.docset/Contents/Resources/Documents/js/jquery.min.js
mode change 100755 => 100644 docs/docsets/SwiftSMTP.docset/Contents/Resources/Documents/js/lunr.min.js
mode change 100755 => 100644 docs/js/jquery.min.js
mode change 100755 => 100644 docs/js/lunr.min.js
diff --git a/.jazzy.yaml b/.jazzy.yaml
index 75179df..4fd5d04 100644
--- a/.jazzy.yaml
+++ b/.jazzy.yaml
@@ -1,6 +1,6 @@
module: SwiftSMTP
-author: IBM
-github_url: https://github.com/IBM-Swift/Swift-SMTP/
+author: IBM and Kitura project contributors
+github_url: https://github.com/Kitura/Swift-SMTP/
theme: fullwidth
clean: true
@@ -11,4 +11,4 @@ readme: README.md
skip_undocumented: false
hide_documentation_coverage: false
-xcodebuild_arguments: [-project, SwiftSMTP.xcodeproj, -target, SwiftSMTP, LIBRARY_SEARCH_PATHS=.build/debug]
\ No newline at end of file
+xcodebuild_arguments: []
diff --git a/.travis.yml b/.travis.yml
index ee21995..022a0d5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -66,7 +66,7 @@ matrix:
env: SWIFT_SNAPSHOT=$SWIFT_DEVELOPMENT_SNAPSHOT
before_install:
- - git clone https://github.com/IBM-Swift/Package-Builder.git
+ - git clone https://github.com/Kitura/Package-Builder.git
script:
- ./Package-Builder/build-package.sh -projectDir $TRAVIS_BUILD_DIR
diff --git a/Package.swift b/Package.swift
index 7a75d79..0cd73bb 100644
--- a/Package.swift
+++ b/Package.swift
@@ -10,10 +10,10 @@ let package = Package(
targets: ["SwiftSMTP"]),
],
dependencies: [
- .package(url: "https://github.com/IBM-Swift/BlueSocket.git", from: "1.0.0"),
- .package(url: "https://github.com/IBM-Swift/BlueSSLService.git", from: "1.0.0"),
- .package(url: "https://github.com/IBM-Swift/BlueCryptor.git", from: "1.0.0"),
- .package(url: "https://github.com/IBM-Swift/LoggerAPI.git", from: "1.7.0"),
+ .package(url: "https://github.com/Kitura/BlueSocket.git", from: "1.0.200"),
+ .package(url: "https://github.com/Kitura/BlueSSLService.git", from: "1.0.200"),
+ .package(url: "https://github.com/Kitura/BlueCryptor.git", from: "1.0.200"),
+ .package(url: "https://github.com/Kitura/LoggerAPI.git", from: "1.9.200"),
],
targets: [
.target(
diff --git a/Package@swift-4.swift b/Package@swift-4.swift
index b0afccc..054eb5b 100644
--- a/Package@swift-4.swift
+++ b/Package@swift-4.swift
@@ -11,10 +11,10 @@ let package = Package(
targets: ["SwiftSMTP"]),
],
dependencies: [
- .package(url: "https://github.com/IBM-Swift/BlueSocket.git", from: "1.0.0"),
- .package(url: "https://github.com/IBM-Swift/BlueSSLService.git", from: "1.0.0"),
- .package(url: "https://github.com/IBM-Swift/BlueCryptor.git", from: "1.0.0"),
- .package(url: "https://github.com/IBM-Swift/LoggerAPI.git", from: "1.7.0"),
+ .package(url: "https://github.com/Kitura/BlueSocket.git", from: "1.0.200"),
+ .package(url: "https://github.com/Kitura/BlueSSLService.git", from: "1.0.200"),
+ .package(url: "https://github.com/Kitura/BlueCryptor.git", from: "1.0.200"),
+ .package(url: "https://github.com/Kitura/LoggerAPI.git", from: "1.9.200"),
],
targets: [
.target(
@@ -34,10 +34,10 @@ let package = Package(
targets: ["SwiftSMTP"]),
],
dependencies: [
- .package(url: "https://github.com/IBM-Swift/BlueSocket.git", from: "0.12.0"),
- .package(url: "https://github.com/IBM-Swift/BlueSSLService.git", from: "0.12.0"),
- .package(url: "https://github.com/IBM-Swift/BlueCryptor.git", from: "0.8.0"),
- .package(url: "https://github.com/IBM-Swift/LoggerAPI.git", from: "1.7.0"),
+ .package(url: "https://github.com/Kitura/BlueSocket.git", from: "1.0.200"),
+ .package(url: "https://github.com/Kitura/BlueSSLService.git", from: "1.0.200"),
+ .package(url: "https://github.com/Kitura/BlueCryptor.git", from: "1.0.200"),
+ .package(url: "https://github.com/Kitura/LoggerAPI.git", from: "1.9.200"),
],
targets: [
.target(
diff --git a/README.md b/README.md
index 9cbaac3..c7175f2 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,10 @@
# Swift-SMTP
-![Swift-SMTP bird](https://github.com/IBM-Swift/Swift-SMTP/blob/master/Assets/swift-smtp-bird.png?raw=true)
+![Swift-SMTP bird](https://github.com/Kitura/Swift-SMTP/blob/master/Assets/swift-smtp-bird.png?raw=true)
Swift SMTP client.
-![Build Status](https://travis-ci.org/IBM-Swift/Swift-SMTP.svg?branch=master)
+![Build Status](https://travis-ci.org/Kitura/Swift-SMTP.svg?branch=master)
![macOS](https://img.shields.io/badge/os-macOS-green.svg?style=flat)
![Linux](https://img.shields.io/badge/os-linux-green.svg?style=flat)
![Apache 2](https://img.shields.io/badge/license-Apache2-blue.svg?style=flat)
@@ -15,7 +15,7 @@ Swift SMTP client.
- Authenticate with CRAM-MD5, LOGIN, PLAIN, or XOAUTH2
- Send emails with local file, HTML, and raw data attachments
- Add custom headers
-- [Documentation](https://ibm-swift.github.io/Swift-SMTP/)
+- [Documentation](https://kitura.github.io/Swift-SMTP/)
## Swift Version
@@ -38,7 +38,7 @@ let package = Package(
targets: ["MyProject"]),
],
dependencies: [
- .package(url: "https://github.com/IBM-Swift/Swift-SMTP", .upToNextMinor(from: "5.1.0")), // add the dependency
+ .package(url: "https://github.com/Kitura/Swift-SMTP", .upToNextMinor(from: "5.1.0")), // add the dependency
],
targets: [
.target(
@@ -55,7 +55,7 @@ After adding the dependency and saving, run `swift package generate-xcodeproj` i
## Migration Guide
-Version `5.0.0` brings breaking changes. See the quick migration guide [here](https://github.com/IBM-Swift/Swift-SMTP/blob/master/migration-guide.md).
+Version `5.0.0` brings breaking changes. See the quick migration guide [here](https://github.com/Kitura/Swift-SMTP/blob/master/migration-guide.md).
## Usage
@@ -87,7 +87,7 @@ public init(hostname: String,
timeout: UInt = 10)
```
-By default, the `SMTP` struct connects on port `587` and sends mail only if a TLS connection can be established. It also uses a `TLSConfiguration` that uses no backing certificates. View the [docs](https://ibm-swift.github.io/Swift-SMTP/) for more configuration options.
+By default, the `SMTP` struct connects on port `587` and sends mail only if a TLS connection can be established. It also uses a `TLSConfiguration` that uses no backing certificates. View the [docs](https://kitura.github.io/Swift-SMTP/) for more configuration options.
### Send email
diff --git a/Sources/SwiftSMTP/TLSConfiguration.swift b/Sources/SwiftSMTP/TLSConfiguration.swift
index 8636583..477374b 100644
--- a/Sources/SwiftSMTP/TLSConfiguration.swift
+++ b/Sources/SwiftSMTP/TLSConfiguration.swift
@@ -17,7 +17,7 @@
import Foundation
import SSLService
-/// Configuration for connecting with TLS. For more info, see https://github.com/IBM-Swift/BlueSSLService.
+/// Configuration for connecting with TLS. For more info, see https://github.com/Kitura/BlueSSLService.
public struct TLSConfiguration {
private let configuration: SSLService.Configuration
diff --git a/Tests/LinuxMain.swift b/Tests/LinuxMain.swift
index 44cefb4..ba6edea 100644
--- a/Tests/LinuxMain.swift
+++ b/Tests/LinuxMain.swift
@@ -28,7 +28,7 @@ extension MutableCollection {
guard c > 1 else { return }
for (firstUnshuffled, unshuffledCount) in zip(indices, stride(from: c, to: 1, by: -1)) {
- let d: IndexDistance = numericCast(random() % numericCast(unshuffledCount))
+ let d: Int = numericCast(random() % numericCast(unshuffledCount))
guard d != 0 else { continue }
let i = index(firstUnshuffled, offsetBy: d)
self.swapAt(firstUnshuffled, i)
diff --git a/docs/Enums.html b/docs/Enums.html
index baa8aca..5e1d7f6 100644
--- a/docs/Enums.html
+++ b/docs/Enums.html
@@ -14,6 +14,7 @@
+
@@ -32,7 +33,7 @@