Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Swift Package #19

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 23 additions & 5 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,22 +1,40 @@
{
"object": {
"pins": [
{
"package": "CwlCatchException",
"repositoryURL": "https://github.com/mattgallagher/CwlCatchException.git",
"state": {
"branch": null,
"revision": "35f9e770f54ce62dd8526470f14c6e137cef3eea",
"version": "2.1.1"
}
},
{
"package": "CwlPreconditionTesting",
"repositoryURL": "https://github.com/mattgallagher/CwlPreconditionTesting.git",
"state": {
"branch": null,
"revision": "fb7a26374e8570ff5c68142e5c83406d6abae0d8",
"version": "2.0.2"
}
},
{
"package": "Nimble",
"repositoryURL": "https://github.com/Quick/Nimble.git",
"state": {
"branch": null,
"revision": "7a46a5fc86cb917f69e3daf79fcb045283d8f008",
"version": "8.1.2"
"revision": "c93f16c25af5770f0d3e6af27c9634640946b068",
"version": "9.2.1"
}
},
{
"package": "Quick",
"repositoryURL": "https://github.com/Quick/Quick.git",
"state": {
"branch": "quickobjcruntime-umbrella-header",
"revision": "201151b82a7aa8c5b3bf1af79816fb12a4bac03a",
"version": null
"branch": null,
"revision": "bd86ca0141e3cfb333546de5a11ede63f0c4a0e6",
"version": "4.0.0"
}
}
]
Expand Down
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.2
// swift-tools-version:5.3

import PackageDescription

Expand All @@ -9,8 +9,8 @@ let package = Package(
],
products: [.library(name: "Pure", targets: ["Pure"])],
dependencies: [
.package(name: "Quick", url: "https://github.com/Quick/Quick.git", .branch("quickobjcruntime-umbrella-header")),
.package(url: "https://github.com/Quick/Nimble.git", .upToNextMajor(from: "8.0.0")),
.package(url: "https://github.com/Quick/Quick.git", .upToNextMajor(from: "4.0.0")),
.package(url: "https://github.com/Quick/Nimble.git", .upToNextMajor(from: "9.2.0")),
],
targets: [
.target(name: "Pure", dependencies: []),
Expand Down
2 changes: 1 addition & 1 deletion Sources/Pure/ConfiguratorModule.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// A module that can be configurated with an existing instance.
public protocol ConfiguratorModule: class, Module {
public protocol ConfiguratorModule: AnyObject, Module {

/// A configurator for `Self`.
associatedtype Configurator = Pure.Configurator<Self>
Expand Down
2 changes: 1 addition & 1 deletion Tests/PureTests/PureSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ final class PureSpec: QuickSpec {
let configurator = MyClass.Configurator(dependency: .init())
for _ in 0..<100 {
DispatchQueue.global().async {
_ = configurator.configure(MyClass(), payload: .init())
configurator.configure(MyClass(), payload: .init())
}
}

Expand Down