From 617bb4d28b67c7adfdbc452169622c7f9987c812 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Thu, 14 Sep 2023 21:49:24 -0700 Subject: [PATCH] Rename FeedlyIngestUnreadArticleIdsOperation to FeedlyIngestUnreadArticleIDsOperation. --- Account/Sources/Account/Feedly/FeedlyAccountDelegate.swift | 2 +- .../Account/Feedly/Operations/FeedlyAddNewFeedOperation.swift | 2 +- .../Operations/FeedlyIngestUnreadArticleIdsOperation.swift | 4 ++-- .../Account/Feedly/Operations/FeedlySyncAllOperation.swift | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Account/Sources/Account/Feedly/FeedlyAccountDelegate.swift b/Account/Sources/Account/Feedly/FeedlyAccountDelegate.swift index 33b81f666..d18e93f8c 100644 --- a/Account/Sources/Account/Feedly/FeedlyAccountDelegate.swift +++ b/Account/Sources/Account/Feedly/FeedlyAccountDelegate.swift @@ -187,7 +187,7 @@ final class FeedlyAccountDelegate: AccountDelegate, Logging { let group = DispatchGroup() - let ingestUnread = FeedlyIngestUnreadArticleIdsOperation(account: account, userID: credentials.username, service: caller, database: database, newerThan: nil) + let ingestUnread = FeedlyIngestUnreadArticleIDsOperation(account: account, userID: credentials.username, service: caller, database: database, newerThan: nil) group.enter() ingestUnread.completionBlock = { _ in diff --git a/Account/Sources/Account/Feedly/Operations/FeedlyAddNewFeedOperation.swift b/Account/Sources/Account/Feedly/Operations/FeedlyAddNewFeedOperation.swift index 4c594b194..c2b54baf1 100644 --- a/Account/Sources/Account/Feedly/Operations/FeedlyAddNewFeedOperation.swift +++ b/Account/Sources/Account/Feedly/Operations/FeedlyAddNewFeedOperation.swift @@ -95,7 +95,7 @@ class FeedlyAddNewFeedOperation: FeedlyOperation, FeedlyOperationDelegate, Feedl createFeeds.downloadProgress = downloadProgress operationQueue.add(createFeeds) - let syncUnread = FeedlyIngestUnreadArticleIdsOperation(account: account, userID: credentials.username, service: syncUnreadIdsService, database: database, newerThan: nil) + let syncUnread = FeedlyIngestUnreadArticleIDsOperation(account: account, userID: credentials.username, service: syncUnreadIdsService, database: database, newerThan: nil) syncUnread.addDependency(createFeeds) syncUnread.downloadProgress = downloadProgress syncUnread.delegate = self diff --git a/Account/Sources/Account/Feedly/Operations/FeedlyIngestUnreadArticleIdsOperation.swift b/Account/Sources/Account/Feedly/Operations/FeedlyIngestUnreadArticleIdsOperation.swift index 32c5b6105..8abefdb1d 100644 --- a/Account/Sources/Account/Feedly/Operations/FeedlyIngestUnreadArticleIdsOperation.swift +++ b/Account/Sources/Account/Feedly/Operations/FeedlyIngestUnreadArticleIdsOperation.swift @@ -1,5 +1,5 @@ // -// FeedlyIngestUnreadArticleIdsOperation.swift +// FeedlyIngestUnreadArticleIDsOperation.swift // Account // // Created by Kiel Gillard on 18/10/19. @@ -18,7 +18,7 @@ import Secrets /// When all the unread article ids are collected, a status is created for each. /// The article ids previously marked as unread but not collected become read. /// So this operation has side effects *for the entire account* it operates on. -final class FeedlyIngestUnreadArticleIdsOperation: FeedlyOperation, Logging { +final class FeedlyIngestUnreadArticleIDsOperation: FeedlyOperation, Logging { private let account: Account private let resource: FeedlyResourceID diff --git a/Account/Sources/Account/Feedly/Operations/FeedlySyncAllOperation.swift b/Account/Sources/Account/Feedly/Operations/FeedlySyncAllOperation.swift index 2016eed01..3b56ecab1 100644 --- a/Account/Sources/Account/Feedly/Operations/FeedlySyncAllOperation.swift +++ b/Account/Sources/Account/Feedly/Operations/FeedlySyncAllOperation.swift @@ -72,7 +72,7 @@ final class FeedlySyncAllOperation: FeedlyOperation, Logging { self.operationQueue.add(getAllArticleIds) // Get each page of unread article ids in the global.all stream for the last 31 days (nil = Feedly API default). - let getUnread = FeedlyIngestUnreadArticleIdsOperation(account: account, userID: feedlyUserId, service: getUnreadService, database: database, newerThan: nil) + let getUnread = FeedlyIngestUnreadArticleIDsOperation(account: account, userID: feedlyUserId, service: getUnreadService, database: database, newerThan: nil) getUnread.delegate = self getUnread.addDependency(getAllArticleIds) getUnread.downloadProgress = downloadProgress