Skip to content

Commit f298719

Browse files
committed
Updated deps
1 parent b2cf45b commit f298719

File tree

4 files changed

+24
-21
lines changed

4 files changed

+24
-21
lines changed

Package.resolved

+17-17
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"repositoryURL": "https://github.com/Carthage/Commandant.git",
77
"state": {
88
"branch": null,
9-
"revision": "2cd0210f897fe46c6ce42f52ccfa72b3bbb621a0",
10-
"version": "0.16.0"
9+
"revision": "ab68611013dec67413628ac87c1f29e8427bc8e4",
10+
"version": "0.17.0"
1111
}
1212
},
1313
{
@@ -46,6 +46,15 @@
4646
"version": "0.5.0"
4747
}
4848
},
49+
{
50+
"package": "ModuleInterface",
51+
"repositoryURL": "https://github.com/minuscorp/ModuleInterface",
52+
"state": {
53+
"branch": null,
54+
"revision": "b4634080108e2d99404db98a75a6e2cfc5ade253",
55+
"version": "0.0.3"
56+
}
57+
},
4958
{
5059
"package": "Nimble",
5160
"repositoryURL": "https://github.com/Quick/Nimble.git",
@@ -82,15 +91,6 @@
8291
"version": "3.1.5"
8392
}
8493
},
85-
{
86-
"package": "Result",
87-
"repositoryURL": "https://github.com/antitypical/Result.git",
88-
"state": {
89-
"branch": null,
90-
"revision": "2ca499ba456795616fbc471561ff1d963e6ae160",
91-
"version": "4.1.0"
92-
}
93-
},
9494
{
9595
"package": "Rocket",
9696
"repositoryURL": "https://github.com/shibapm/Rocket",
@@ -132,8 +132,8 @@
132132
"repositoryURL": "https://github.com/jpsim/SourceKitten",
133133
"state": {
134134
"branch": null,
135-
"revision": "cc1f16acc70630d27498e81078789f5fa55d7463",
136-
"version": "0.26.0"
135+
"revision": "356551fc513eb12ed779bb369f79cf86a3a01599",
136+
"version": "0.27.0"
137137
}
138138
},
139139
{
@@ -168,17 +168,17 @@
168168
"repositoryURL": "https://github.com/nicklockwood/SwiftFormat",
169169
"state": {
170170
"branch": null,
171-
"revision": "768be83fb2c232f13ad75dc15056c5909e374ef6",
172-
"version": "0.40.14"
171+
"revision": "c008fa16e0e4d2a2aff3f5a99c5d0dd5709da5ee",
172+
"version": "0.42.0"
173173
}
174174
},
175175
{
176176
"package": "SwiftLint",
177177
"repositoryURL": "https://github.com/Realm/SwiftLint",
178178
"state": {
179179
"branch": null,
180-
"revision": "652e5dd59c44f00ef89549a1d923f2a72378b85f",
181-
"version": "0.36.0"
180+
"revision": "8dc3e811934704a3d0e46a8ffd1de785fddcf7ec",
181+
"version": "0.38.0"
182182
}
183183
},
184184
{

Package.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,15 @@ let package = Package(
3131
.package(url: "https://github.com/apple/swift-nio.git", .exact("2.7.1")),
3232
// Development
3333
.package(url: "https://github.com/Quick/Nimble.git", .exact("8.0.2")), // dev
34+
.package(url: "https://github.com/minuscorp/ModuleInterface", from: "0.0.1"), // dev
3435
.package(url: "https://github.com/nicklockwood/SwiftFormat", from: "0.35.8"), // dev
3536
.package(url: "https://github.com/jpsim/SourceKitten", from: "0.26.0"), // dev
3637
.package(url: "https://github.com/shibapm/Rocket", from: "0.4.0"), // dev
3738
.package(url: "https://github.com/Realm/SwiftLint", from: "0.35.0"), // dev
3839
.package(url: "https://github.com/eneko/SourceDocs", from: "0.6.1"), // dev
3940
.package(url: "https://github.com/shibapm/PackageConfig.git", from: "0.12.2"), // dev
4041
.package(url: "https://github.com/shibapm/Komondor.git", from: "1.0.0"), // dev
41-
.package(url: "https://github.com/Carthage/Commandant.git", .exact("0.16.0")), // dev
42+
.package(url: "https://github.com/Carthage/Commandant.git", .exact("0.17.0")), // dev
4243
],
4344
targets: [
4445
// Targets are the basic building blocks of a package. A target can define a module or a test suite.

Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ end
3030

3131
task(:docs) do
3232
sh('swift run sourcedocs generate --min-acl public --spm-module Mini --output-folder docs')
33-
sh('moduleinterface generate --spm-module Mini --output-folder docs')
33+
sh('swift run moduleinterface generate --spm-module Mini --output-folder docs')
3434
end

docs/Mini.swift

+4-2
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ public protocol PayloadAction {
231231
init(promise: Mini.Promise<Self.Payload>)
232232
}
233233

234-
@dynamicMemberLookup public final class Promise<T>: Mini.PromiseType {
234+
@dynamicCallable @dynamicMemberLookup public final class Promise<T>: Mini.PromiseType {
235235
public typealias Element = T
236236

237237
public class func value(_ value: T) -> Mini.Promise<T>
@@ -264,7 +264,9 @@ public protocol PayloadAction {
264264
/// make optional chaining in the `Reducer` context.
265265
public func resolve(_ result: Result<T, Error>?) -> Self?
266266

267-
public subscript<T>(dynamicMember member: String) -> T?
267+
public subscript<Value>(dynamicMember _: String) -> Value? { get }
268+
269+
public func dynamicallyCall<T>(withKeywordArguments args: KeyValuePairs<String, T>)
268270
}
269271

270272
extension Promise {

0 commit comments

Comments
 (0)