Skip to content

Commit 4be4432

Browse files
authored
Merge pull request #34 from connor-ricks/task/rename-httpnetworking-to-exchange
♻️ Rename HTTPNetworking to exchange.
2 parents 84716b3 + ee120f4 commit 4be4432

36 files changed

+40
-28
lines changed

β€Ž.swiftpm/xcode/xcshareddata/xcschemes/swift-nibbles-Package.xcschemeβ€Ž

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,18 @@
8989
default = "YES">
9090
</TestPlanReference>
9191
</TestPlans>
92+
<Testables>
93+
<TestableReference
94+
skipped = "NO">
95+
<BuildableReference
96+
BuildableIdentifier = "primary"
97+
BlueprintIdentifier = "ExchangeTests"
98+
BuildableName = "ExchangeTests"
99+
BlueprintName = "ExchangeTests"
100+
ReferencedContainer = "container:">
101+
</BuildableReference>
102+
</TestableReference>
103+
</Testables>
92104
</TestAction>
93105
<LaunchAction
94106
buildConfiguration = "Debug"

β€ŽPackage.swiftβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,23 @@ let package = Package(
1111
.watchOS(.v9),
1212
],
1313
products: [
14+
.library(name: "Exchange", targets: ["Exchange"]),
1415
.library(name: "Extensions", targets: ["Extensions"]),
1516
.library(name: "Fuse", targets: ["Fuse"]),
16-
.library(name: "HTTPNetworking", targets: ["HTTPNetworking"]),
1717
.library(name: "Identified", targets: ["Identified"]),
1818
.library(name: "Stash", targets: ["Stash"]),
1919
.plugin(name: "Create TCA Feature", targets: ["Create TCA Feature"])
2020
],
2121
targets: [
22+
.target(name: "Exchange"),
23+
.testTarget(name: "ExchangeTests", dependencies: ["Exchange"]),
24+
2225
.target(name: "Extensions"),
2326
.testTarget(name: "ExtensionsTests", dependencies: ["Extensions"]),
2427

2528
.target(name: "Fuse"),
2629
.testTarget(name: "FuseTests", dependencies: ["Fuse"]),
2730

28-
.target(name: "HTTPNetworking"),
29-
.testTarget(name: "HTTPNetworkingTests", dependencies: ["HTTPNetworking"]),
30-
3131
.target(name: "Identified"),
3232
.testTarget(name: "IdentifiedTests", dependencies: ["Identified"]),
3333

β€ŽREADME.mdβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ To add `swift-nibbles` to your project, first add it as a dependency.
1717
Nibbles are all broken down into their own targets, so you can choose which nibbles are relevant to your project.
1818

1919
```swift
20-
.product(name: "HTTPNetworking", package: "swift-nibbles")
20+
.product(name: "Exchange", package: "swift-nibbles")
2121
// or
2222
.product(name: "Stash", package: "swift-nibbles")
2323
```
@@ -41,8 +41,8 @@ A collection of useful Combine nibbles.
4141
- `BuffableAsyncPublisher` and `BuffableAsyncThrowingPublisher` which both expose a `values(bufferingStrategy:)` on `Publisher`
4242
- This is a more configurable and powerful version of `values` in Combine that allows converting Combine to an async/await syntax.
4343

44-
### πŸ•ΈοΈ HTTPNetworking
45-
A client that creates and manages requests over the network.
44+
### πŸ›œ Exchange
45+
An HTTP client that creates and manages requests over the network.
4646

4747
The client provides support for sharing common functionality across all requests, but each request can also layer on additional functionality if needed.
4848

0 commit comments

Comments
Β (0)