Skip to content

Commit 3b8dd9e

Browse files
Renames to DataLoader
1 parent 7febf51 commit 3b8dd9e

8 files changed

+11
-19
lines changed

Package.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
import PackageDescription
55

66
let package = Package(
7-
name: "SwiftDataLoader",
7+
name: "DataLoader",
88
products: [
9-
.library(name: "SwiftDataLoader", targets: ["SwiftDataLoader"]),
9+
.library(name: "DataLoader", targets: ["DataLoader"]),
1010
],
1111
dependencies: [
1212
.package(url: "https://github.com/apple/swift-nio.git", from: "2.0.0"),
1313
],
1414
targets: [
15-
.target(name: "SwiftDataLoader", dependencies: ["NIO"]),
16-
.testTarget(name: "SwiftDataLoaderTests", dependencies: ["SwiftDataLoader"]),
15+
.target(name: "DataLoader", dependencies: ["NIO"]),
16+
.testTarget(name: "DataLoaderTests", dependencies: ["DataLoader"]),
1717
],
1818
swiftLanguageVersions: [.v5]
1919
)

README.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
1-
# SwiftDataLoader
2-
SwiftDataLoader is a generic utility to be used as part of your application's data fetching layer to provide a simplified and consistent API over various remote data sources such as databases or web services via batching and caching.
1+
# DataLoader
2+
DataLoader is a generic utility to be used as part of your application's data fetching layer to provide a simplified and consistent API over various remote data sources such as databases or web services via batching and caching.
33

44
This is a Swift version of the Facebook [DataLoader](https://github.com/facebook/dataloader).
55

66
[![Swift][swift-badge]][swift-url]
77
[![License][mit-badge]][mit-url]
8-
[![CircleCI][circleci-badge]][circleci-uri]
9-
[![codecov][codecov-badge]][codecov-uri]
108

119
## Installation 💻
1210

1311
Update your `Package.swift` file.
1412

1513
```swift
16-
.Package(url: "https://github.com/GraphQLSwift/SwiftDataLoader.git", .upToNextMajor(from: "1.1.0"))
14+
.Package(url: "https://github.com/GraphQLSwift/DataLoader.git", .upToNextMajor(from: "1.1.0"))
1715
```
1816

1917
## Gettings started 🚀
@@ -182,9 +180,3 @@ This library is entirely a Swift version of Facebooks [DataLoader](https://githu
182180

183181
[mit-badge]: https://img.shields.io/badge/License-MIT-blue.svg?style=flat
184182
[mit-url]: https://tldrlegal.com/license/mit-license
185-
186-
[circleci-badge]: https://circleci.com/gh/kimdv/SwiftDataLoader.svg?style=svg
187-
[circleci-uri]: https://circleci.com/gh/kimdv/SwiftDataLoader
188-
189-
[codecov-badge]: https://codecov.io/gh/kimdv/SwiftDataLoader/branch/master/graph/badge.svg
190-
[codecov-uri]: https://codecov.io/gh/kimdv/SwiftDataLoader

Tests/SwiftDataLoaderTests/DataLoaderAbuseTests.swift renamed to Tests/DataLoaderTests/DataLoaderAbuseTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import XCTest
22
import NIO
33

4-
@testable import SwiftDataLoader
4+
@testable import DataLoader
55

66
/// Provides descriptive error messages for API abuse
77
class DataLoaderAbuseTests: XCTestCase {

Tests/SwiftDataLoaderTests/DataLoaderTests.swift renamed to Tests/DataLoaderTests/DataLoaderTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import XCTest
22
import NIO
33

4-
@testable import SwiftDataLoader
4+
@testable import DataLoader
55

66
/// Primary API
77
final class DataLoaderTests: XCTestCase {

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
displayName: xcodebuild -version
3131
- script: >
3232
set -o pipefail &&
33-
xcodebuild -project SwiftDataLoader.xcodeproj -scheme SwiftDataLoader-Package test |
33+
xcodebuild -project DataLoader.xcodeproj -scheme DataLoader-Package test |
3434
xcpretty -r junit -o build/reports/xcodebuild.xml
3535
displayName: xcodebuild test
3636
- task: PublishTestResults@2
@@ -53,4 +53,4 @@ jobs:
5353
- script: >
5454
set -o pipefail &&
5555
swift test --parallel
56-
displayName: swift test
56+
displayName: swift test

0 commit comments

Comments
 (0)