Skip to content

Commit 9458bac

Browse files
authored
Swift package update (#68)
Update Publish’s dependencies to their latest versions: - Ink `0.4.0` - Plot `0.6.0` - Sweep `0.4.0` Also use Sweep’s new `firstSubstring` API.
1 parent bee1f58 commit 9458bac

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ let package = Package(
2020
.package(url: "https://github.com/johnsundell/files.git", from: "4.0.0"),
2121
.package(url: "https://github.com/johnsundell/codextended.git", from: "0.1.0"),
2222
.package(url: "https://github.com/johnsundell/shellout.git", from: "2.3.0"),
23-
.package(url: "https://github.com/johnsundell/sweep.git", from: "0.3.0")
23+
.package(url: "https://github.com/johnsundell/sweep.git", from: "0.4.0")
2424
],
2525
targets: [
2626
.target(

Tests/PublishTests/Tests/RSSFeedGenerationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ final class RSSFeedGenerationTests: PublishTestCase {
3333
])
3434

3535
let feed = try folder.file(at: "Output/feed.rss").readAsString()
36-
let substring = feed.substrings(between: "BEGIN ", and: " END").first
36+
let substring = feed.firstSubstring(between: "BEGIN ", and: " END")
3737

3838
XCTAssertEqual(substring, """
3939
<a href="https://swiftbysundell.com/page">Link</a> \

0 commit comments

Comments
 (0)