diff --git a/.jazzy.yaml b/.jazzy.yaml index df8403c..95c2a53 100644 --- a/.jazzy.yaml +++ b/.jazzy.yaml @@ -1,6 +1,6 @@ module: SwiftyRequest author: IBM -github_url: https://github.com/IBM-Swift/SwiftyRequest +github_url: https://github.com/Kitura/SwiftyRequest theme: fullwidth clean: true @@ -11,4 +11,4 @@ readme: README.md skip_undocumented: false hide_documentation_coverage: false -xcodebuild_arguments: [-project, SwiftyRequest.xcodeproj, -target, SwiftyRequest, LIBRARY_SEARCH_PATHS=.build/debug] \ No newline at end of file +xcodebuild_arguments: [-project, SwiftyRequest.xcodeproj, -target, SwiftyRequest, LIBRARY_SEARCH_PATHS=.build/debug] diff --git a/.travis.yml b/.travis.yml index 40db609..5047cf9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,7 +39,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 e8da57f..fe26368 100644 --- a/Package.swift +++ b/Package.swift @@ -1,7 +1,7 @@ // swift-tools-version:5.0 // The swift-tools-version declares the minimum version of Swift required to build this package. /* - * Copyright IBM Corporation 2017-2019 + * Copyright IBM Corporation and the Kitura project authors 2017-2020 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,8 +27,8 @@ let package = Package( ) ], dependencies: [ - .package(url: "https://github.com/IBM-Swift/CircuitBreaker.git", from: "5.0.0"), - .package(url: "https://github.com/IBM-Swift/LoggerAPI.git", from: "1.8.0"), + .package(url: "https://github.com/Kitura/CircuitBreaker.git", from: "5.0.200"), + .package(url: "https://github.com/Kitura/LoggerAPI.git", from: "1.9.200"), .package(url: "https://github.com/swift-server/async-http-client.git", from: "1.0.0"), ], targets: [ diff --git a/README.md b/README.md index f7122f1..fa10e09 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@

- - Kitura + + Kitura

@@ -8,8 +8,8 @@ APIDoc - - Build Status - Master + + Build Status - Master macOS Linux @@ -37,7 +37,7 @@ The latest release of SwiftyRequest is built upon the Swift-NIO based [`async-ht - Several response methods (e.g. Data, Object, Array, String, etc.) to eliminate boilerplate code in your application. - Direct retrieval of `Codable` types. - JSON encoding and decoding. -- Integration with the [CircuitBreaker](https://github.com/IBM-Swift/CircuitBreaker) library. +- Integration with the [CircuitBreaker](https://github.com/Kitura/CircuitBreaker) library. - Authentication tokens. - Client Certificate support (2-way SSL). - Multipart form data. @@ -53,10 +53,10 @@ To leverage the `SwiftyRequest` package in your Swift application, you should sp ### Add dependencies -Add `SwiftyRequest` to the dependencies within your application's `Package.swift` file. Substitute `"x.x.x"` with the latest `SwiftyRequest` [release](https://github.com/IBM-Swift/SwiftyRequest/releases). +Add `SwiftyRequest` to the dependencies within your application's `Package.swift` file. Substitute `"x.x.x"` with the latest `SwiftyRequest` [release](https://github.com/Kitura/SwiftyRequest/releases). ```swift -.package(url: "https://github.com/IBM-Swift/SwiftyRequest.git", from: "x.x.x") +.package(url: "https://github.com/Kitura/SwiftyRequest.git", from: "x.x.x") ``` Add `SwiftyRequest` to your target's dependencies: @@ -132,7 +132,7 @@ request.responseData(queryItems: [URLQueryItem(name: "hour", value: "9")]) { res ## CircuitBreaker Integration -`SwiftyRequest` has built-in functionality for leveraging the [CircuitBreaker](https://github.com/IBM-Swift/CircuitBreaker) library to increase your application's stability. To make use of this functionality, assign a `CircuitParameters` object to the `circuitParameters` property. This object will include a reference to a fallback function that will be invoked when the circuit is failing fast. +`SwiftyRequest` has built-in functionality for leveraging the [CircuitBreaker](https://github.com/Kitura/CircuitBreaker) library to increase your application's stability. To make use of this functionality, assign a `CircuitParameters` object to the `circuitParameters` property. This object will include a reference to a fallback function that will be invoked when the circuit is failing fast. ### Fallback Here is an example of a fallback closure: @@ -221,4 +221,4 @@ We love to talk server-side Swift, and Kitura. Join our [Slack](http://swift-at- ## License -This library is licensed under Apache 2.0. Full license text is available in [LICENSE](https://github.com/IBM-Swift/SwiftyRequest/blob/master/LICENSE). +This library is licensed under Apache 2.0. Full license text is available in [LICENSE](https://github.com/Kitura/SwiftyRequest/blob/master/LICENSE). diff --git a/TestServer/Package.swift b/TestServer/Package.swift index b1b5e5c..46cc4c1 100644 --- a/TestServer/Package.swift +++ b/TestServer/Package.swift @@ -7,10 +7,10 @@ let package = Package( name: "TestServer", dependencies: [ // Dependencies declare other packages that this package depends on. - .package(url: "https://github.com/IBM-Swift/Kitura.git", from: "2.6.0"), - .package(url: "https://github.com/IBM-Swift/FileKit.git", .upToNextMinor(from: "0.0.0")), - .package(url: "https://github.com/IBM-Swift/HeliumLogger.git", from: "1.8.0"), - .package(url: "https://github.com/IBM-Swift/Swift-JWT.git", from: "3.1.0"), + .package(url: "https://github.com/Kitura/Kitura.git", from: "2.9.200"), + .package(url: "https://github.com/Kitura/FileKit.git", .upToNextMinor(from: "0.0.200")), + .package(url: "https://github.com/Kitura/HeliumLogger.git", from: "1.9.200"), + .package(url: "https://github.com/Kitura/Swift-JWT.git", from: "3.6.200"), ], targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite.