Skip to content

Commit 61a3e38

Browse files
author
Wing Chau
committed
Rename As AlphaVantage
- Renamed package name as `AlphaVantage` as I changed my mind to make it a module to fetch data from Alpha Vantage only.
1 parent a1ac849 commit 61a3e38

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or the definition README at
22
// https://github.com/microsoft/vscode-dev-containers/tree/master/containers/docker-existing-dockerfile
33
{
4-
"name": "Market Data Fetchers",
4+
"name": "Alpha Vantage",
55

66
// Sets the run context to one level up instead of the .devcontainer folder.
77
"context": "..",

Package.swift

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

66
let package = Package(
7-
name: "MarketDataFetchers",
7+
name: "AlphaVantage",
88
dependencies: [
99
// Dependencies declare other packages that this package depends on.
1010
// .package(url: /* package url */, from: "1.0.0"),
@@ -16,10 +16,10 @@ let package = Package(
1616
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
1717
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
1818
.target(
19-
name: "MarketDataFetchers",
19+
name: "AlphaVantage",
2020
dependencies: ["Configuration"]),
2121
.testTarget(
22-
name: "MarketDataFetchersTests",
23-
dependencies: ["MarketDataFetchers"]),
22+
name: "AlphaVantageTests",
23+
dependencies: ["AlphaVantage"]),
2424
]
2525
)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# MarketDataFetchers
1+
# Alpha Vantage
22

33
A description of this package.
File renamed without changes.

Tests/MarketDataFetchersTests/MarketDataFetchersTests.swift renamed to Tests/AlphaVantageTests/AlphaVantageTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import XCTest
22
import class Foundation.Bundle
33

4-
final class MarketDataFetchersTests: XCTestCase {
4+
final class AlphaVantageTests: XCTestCase {
55
func testExample() throws {
66
// This is an example of a functional test case.
77
// Use XCTAssert and related functions to verify your tests produce the correct
@@ -12,7 +12,7 @@ final class MarketDataFetchersTests: XCTestCase {
1212
return
1313
}
1414

15-
let fooBinary = productsDirectory.appendingPathComponent("MarketDataFetchers")
15+
let fooBinary = productsDirectory.appendingPathComponent("AlphaVantage")
1616

1717
let process = Process()
1818
process.executableURL = fooBinary

Tests/MarketDataFetchersTests/XCTestManifests.swift renamed to Tests/AlphaVantageTests/XCTestManifests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import XCTest
33
#if !canImport(ObjectiveC)
44
public func allTests() -> [XCTestCaseEntry] {
55
return [
6-
testCase(MarketDataFetchersTests.allTests),
6+
testCase(AlphaVantageTests.allTests),
77
]
88
}
99
#endif

Tests/LinuxMain.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import XCTest
22

3-
import MarketDataFetchersTests
3+
import AlphaVantageTests
44

55
var tests = [XCTestCaseEntry]()
6-
tests += MarketDataFetchersTests.allTests()
6+
tests += AlphaVantageTests.allTests()
77
XCTMain(tests)

0 commit comments

Comments
 (0)