Skip to content

Commit

Permalink
1.3.1 Release (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Cooper authored Feb 25, 2022
1 parent 1ea3f06 commit 0ae8597
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import Foundation
import XCTest

@testable import Friendly_Competitions

final class BundleTests: XCTestCase {
func testThatNameIsCorrect() {
XCTAssertEqual(Bundle.main.name, "Friendly Competitions")
}
}
10 changes: 7 additions & 3 deletions Friendly Competitions.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
C12D63F027A4D5B300259237 /* View+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = C12D63EF27A4D5B300259237 /* View+Extensions.swift */; };
C12D640427A5EABD00259237 /* SignInViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = C12D640327A5EABD00259237 /* SignInViewModel.swift */; };
C12D640727A5F2FC00259237 /* CompetitionsManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = C12D640627A5F2FC00259237 /* CompetitionsManager.swift */; };
C1300FDC27C83E3B002E2C52 /* BundleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1300FDB27C83E3B002E2C52 /* BundleTests.swift */; };
C132335F27BEA97A00196D81 /* FlatLinkStyle.swift in Sources */ = {isa = PBXBuildFile; fileRef = C132335E27BEA97A00196D81 /* FlatLinkStyle.swift */; };
C132336127BEAF9200196D81 /* String+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = C132336027BEAF9200196D81 /* String+Extensions.swift */; };
C132336327BEB00B00196D81 /* StringTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C132336227BEB00B00196D81 /* StringTests.swift */; };
Expand Down Expand Up @@ -174,6 +175,7 @@
C12D63EF27A4D5B300259237 /* View+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "View+Extensions.swift"; sourceTree = "<group>"; };
C12D640327A5EABD00259237 /* SignInViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SignInViewModel.swift; sourceTree = "<group>"; };
C12D640627A5F2FC00259237 /* CompetitionsManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CompetitionsManager.swift; sourceTree = "<group>"; };
C1300FDB27C83E3B002E2C52 /* BundleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BundleTests.swift; sourceTree = "<group>"; };
C132335E27BEA97A00196D81 /* FlatLinkStyle.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FlatLinkStyle.swift; sourceTree = "<group>"; };
C132336027BEAF9200196D81 /* String+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "String+Extensions.swift"; sourceTree = "<group>"; };
C132336227BEB00B00196D81 /* StringTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StringTests.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -483,6 +485,7 @@
C155CA6C27AC0BF8005F49F4 /* Foundation */ = {
isa = PBXGroup;
children = (
C1300FDB27C83E3B002E2C52 /* BundleTests.swift */,
C155CA6D27AC0C6A005F49F4 /* TimeIntervalTests.swift */,
C1EBB16627AD7AF600376E59 /* UserDefaultsTests.swift */,
);
Expand Down Expand Up @@ -962,6 +965,7 @@
C1EBB16727AD7AF600376E59 /* UserDefaultsTests.swift in Sources */,
C1E35D4A27B4600D00833EB2 /* Competition+StandingTests.swift in Sources */,
C155CA6E27AC0C6A005F49F4 /* TimeIntervalTests.swift in Sources */,
C1300FDC27C83E3B002E2C52 /* BundleTests.swift in Sources */,
C1E35D4C27B4606200833EB2 /* Competition+ScoringModelTests.swift in Sources */,
C132336327BEB00B00196D81 /* StringTests.swift in Sources */,
C155CA6B27AC0AC6005F49F4 /* DecodableTests.swift in Sources */,
Expand Down Expand Up @@ -1262,7 +1266,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.3.0;
MARKETING_VERSION = 1.3.1;
PRODUCT_BUNDLE_IDENTIFIER = com.evancooper.FriendlyCompetitions.debug;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -1286,7 +1290,7 @@
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "Friendly Competitions/Info.plist";
INFOPLIST_KEY_CFBundleDisplayName = "Competitions (DBG)";
INFOPLIST_KEY_CFBundleDisplayName = Competitions;
INFOPLIST_KEY_NSHealthClinicalHealthRecordsShareUsageDescription = "We need access to HealthKit so you can compete against your friends!";
INFOPLIST_KEY_NSHealthShareUsageDescription = "We need access to HealthKit so you can compete against your friends!";
INFOPLIST_KEY_NSHealthUpdateUsageDescription = "We need access to HealthKit so you can compete against your friends!";
Expand All @@ -1301,7 +1305,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.3.0;
MARKETING_VERSION = 1.3.1;
PRODUCT_BUNDLE_IDENTIFIER = com.evancooper.FriendlyCompetitions;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ extension Bundle {
infoDictionary!["CFBundleName"] as! String
}

var displayName: String {
infoDictionary!["CFBundleDisplayName"] as! String
}

var version: String {
infoDictionary!["CFBundleShortVersionString"] as! String
}
Expand Down
2 changes: 1 addition & 1 deletion Friendly Competitions/Views/Home/Home/Home.swift
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ struct Home: View {

private var activitySummary: some View {
Section {
ActivitySummaryInfoView(activitySummary: .mock)
ActivitySummaryInfoView(activitySummary: activitySummaryManager.activitySummary)
} header: {
Text("Activity").font(.title3)
} footer: {
Expand Down

0 comments on commit 0ae8597

Please sign in to comment.