Skip to content

Commit 70b2dae

Browse files
Merge pull request #1 from finestructure/rename
FSValue → ValueCodable
2 parents 885b7d4 + 691d5b3 commit 70b2dae

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.PHONY: magic
22

3-
PROJ = FSValue
3+
PROJ = ValueCodable
44
proj = $(shell echo $(PROJ) | tr A-Z a-z)
55

66
clean:

Package.swift

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

66
let package = Package(
7-
name: "FSValue",
7+
name: "ValueCodable",
88
products: [
99
// Products define the executables and libraries produced by a package, and make them visible to other packages.
1010
.library(
11-
name: "FSValue",
12-
targets: ["FSValue"]),
11+
name: "ValueCodable",
12+
targets: ["ValueCodable"]),
1313
],
1414
dependencies: [
1515
.package(url: "https://github.com/jpsim/Yams.git", from: "1.0.0"),
@@ -18,10 +18,10 @@ let package = Package(
1818
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
1919
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
2020
.target(
21-
name: "FSValue",
21+
name: "ValueCodable",
2222
dependencies: []),
2323
.testTarget(
24-
name: "FSValueTests",
25-
dependencies: ["FSValue", "Yams"]),
24+
name: "ValueCodableTests",
25+
dependencies: ["ValueCodable", "Yams"]),
2626
]
2727
)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# FSValue
1+
# ValueCodable
22

3-
[![Build Status](https://travis-ci.com/finestructure/FSValue.svg?branch=develop)](https://travis-ci.com/finestructure/FSValue)
3+
[![Build Status](https://travis-ci.com/finestructure/ValueCodable.svg?branch=develop)](https://travis-ci.com/finestructure/ValueCodable)
44

55
A Value struct to decode arbitrary data.

Tests/LinuxMain.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
import XCTest
66

7-
@testable import FSValueTests
7+
@testable import ValueCodableTests
88

99
// swiftlint:disable trailing_comma
10-
extension FSValueTests {
11-
static var allTests: [(String, (FSValueTests) -> () throws -> Void)] = [
10+
extension ValueCodableTests {
11+
static var allTests: [(String, (ValueCodableTests) -> () throws -> Void)] = [
1212
("test_decodeBasicTypes", test_decodeBasicTypes),
1313
("test_encodeBasicTypes", test_encodeBasicTypes),
1414
("test_null_json", test_null_json),
@@ -22,6 +22,6 @@ extension FSValueTests {
2222
}
2323

2424
XCTMain([
25-
testCase(FSValueTests.allTests),
25+
testCase(ValueCodableTests.allTests),
2626
])
2727
// swiftlint:enable trailing_comma

Tests/FSValueTests/FSValueTests.swift renamed to Tests/ValueCodableTests/ValueCodableTests.swift

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

4-
@testable import FSValue
4+
@testable import ValueCodable
55

66

7-
final class FSValueTests: XCTestCase {
7+
final class ValueCodableTests: XCTestCase {
88

99
func test_decodeBasicTypes() throws {
1010
let s = """

0 commit comments

Comments
 (0)