Skip to content

Commit d3fef25

Browse files
authored
Merge pull request #1217 from rgoldberg/7.0.0/997-dependency-injection
Inject dependencies; cleanup; update dependency comments
2 parents 535562b + 681c587 commit d3fef25

43 files changed

Lines changed: 199 additions & 227 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.markdownlint-cli2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# .markdownlint-cli2.yaml
55
# mas
66
#
7-
# markdownlint-cli2 0.21.0 / markdownlint 0.40.0
7+
# markdownlint-cli2 0.22.0 / markdownlint 0.40.0
88
#
99
---
1010
gitignore: true

.swiftformat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#--enable markTypes
1515
#--enable preferExplicitFalse
1616
#--enable testSuiteAccessControl
17+
#--enable wrapMultilineConditionalAssignment
1718

1819
# Enabled rules (disabled by default)
1920
--enable acronyms
@@ -34,7 +35,6 @@
3435
--enable validateTestCases
3536
--enable wrapConditionalBodies
3637
--enable wrapEnumCases
37-
--enable wrapMultilineConditionalAssignment
3838
--enable wrapMultilineFunctionChains
3939
--enable wrapSwitchCases
4040

.swiftlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ disabled_rules:
3434
- strict_fileprivate
3535
- type_body_length
3636
attributes:
37-
always_on_line_above: ['@Flag', '@MainActor', '@OptionGroup']
37+
always_on_line_above: ['@Flag', '@MainActor', '@OptionGroup', '@TaskLocal']
3838
deployment_target:
3939
macOS_deployment_target: 13
4040
macOSApplicationExtension_deployment_target: 13

Brewfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
brew "actionlint" # 1.7.11
2-
brew "gh" # 2.87.3
2+
brew "gh" # 2.88.1
33
brew "git" # 2.53.0
4-
brew "ipsw" # 3.1.660
5-
brew "markdownlint-cli2" # 0.21.0
4+
brew "ipsw" # 3.1.665
5+
brew "markdownlint-cli2" # 0.22.0
66
brew "periphery" if MacOS.version >= :sequoia && `/usr/bin/arch` == "arm64" # 3.6.0
77
brew "shellcheck" # 0.11.0
88
brew "swiftformat" # 0.60.1

Documentation/Sample.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ final class Sample {
2929
}
3030

3131
/// Use `()` for void arguments & `Void` for void return types.
32-
let closure: () -> Void = {
32+
func x(_: () -> Void) {
3333
// Do nothing
3434
}
3535

Package.resolved

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ _ = Package(
1919
products: [.executable(name: "mas", targets: ["mas"])],
2020
dependencies: [
2121
.package(url: "https://github.com/KittyMac/Sextant.git", from: "0.4.38"),
22-
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.7.0"),
22+
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.7.1"),
2323
.package(url: "https://github.com/apple/swift-atomics.git", from: "1.3.0"),
24-
.package(url: "https://github.com/apple/swift-collections.git", from: "1.4.0"),
24+
.package(url: "https://github.com/apple/swift-collections.git", from: "1.4.1"),
2525
.package(url: "https://github.com/attaswift/BigInt.git", from: "5.7.0"),
26-
.package(url: "https://github.com/scinfu/SwiftSoup.git", from: "2.13.0"),
26+
.package(url: "https://github.com/scinfu/SwiftSoup.git", from: "2.13.2"),
2727
],
2828
targets: [
2929
.plugin(name: "MASBuildToolPlugin", capability: .buildTool()),

Scripts/lint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ shellcheck -s bash -o all -e SC1009,SC1088,SC2296,SC2298,SC2299,SC2300,SC2301,SC
7878
printf -- $'--> 🚷 Non-Executables\n'
7979
readonly -a non_executables=(Scripts/***/*(N.^f+111))
8080
if (("${#non_executables[@]}")); then
81-
printf $'%s\n' "${non_executables[@]}"
81+
printf $'\e[1;91m%s\e[0m\n' "${non_executables[@]}"
8282
((exit_status |= 1))
8383
fi
8484

Sources/PrivateFrameworks/include/CommerceKit/CKDownloadQueue.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// Generated by https://github.com/blacktop/ipsw (Version: 3.1.660, BuildCommit: Homebrew)
2+
// Generated by https://github.com/blacktop/ipsw (Version: 3.1.665, BuildCommit: Homebrew)
33
//
44
// - LC_BUILD_VERSION: Platform: macOS, MinOS: 26.2, SDK: 26.2, Tool: ld (1230.3)
55
// - LC_SOURCE_VERSION: 716.2.2.0.0

Sources/PrivateFrameworks/include/CommerceKit/CKPurchaseController.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// Generated by https://github.com/blacktop/ipsw (Version: 3.1.660, BuildCommit: Homebrew)
2+
// Generated by https://github.com/blacktop/ipsw (Version: 3.1.665, BuildCommit: Homebrew)
33
//
44
// - LC_BUILD_VERSION: Platform: macOS, MinOS: 26.2, SDK: 26.2, Tool: ld (1230.3)
55
// - LC_SOURCE_VERSION: 716.2.2.0.0

0 commit comments

Comments
 (0)