From e28d4c0bb3f996bf269fc686c21c8c5cae50638d Mon Sep 17 00:00:00 2001 From: Jan Klausa Date: Sat, 23 Feb 2019 02:04:54 +0100 Subject: [PATCH 1/3] Switch over showing/fetching Streak data to new architecture --- Podfile | 4 +- Podfile.lock | 11 +- .../Classes/Stores/StatsInsightsStore.swift | 101 ++++++++---------- .../PostingActivityCell.swift | 4 +- .../PostingActivityCollectionViewCell.swift | 2 +- .../Posting Activity/PostingActivityDay.swift | 13 +-- .../PostingActivityMonth.swift | 6 +- .../PostingActivityViewController.swift | 4 +- .../Insights/SiteStatsInsightsViewModel.swift | 2 +- .../Stats/SiteStatsTableViewCells.swift | 2 +- 10 files changed, 70 insertions(+), 79 deletions(-) diff --git a/Podfile b/Podfile index bfeb2eb28d76..c43381244c51 100644 --- a/Podfile +++ b/Podfile @@ -52,8 +52,8 @@ def wordpress_ui end def wordpress_kit - pod 'WordPressKit', '~> 2.1.0-beta.1' - #pod 'WordPressKit', :git => 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', :commit => '3886f1d' + #pod 'WordPressKit', '~> 2.1.0-beta.1' + pod 'WordPressKit', :git => 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', :commit => '1e3b1e836ac1ba1aef1d41aa1f2e9bed42cb526a' #pod 'WordPressKit', :path => '~/Developer/a8c/WordPressKit-iOS' end diff --git a/Podfile.lock b/Podfile.lock index ea628b2baaed..52b26b9a2ae4 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -249,7 +249,7 @@ DEPENDENCIES: - SVProgressHUD (= 2.2.5) - WordPress-Editor-iOS (= 1.4.2) - WordPressAuthenticator (~> 1.1.9) - - WordPressKit (~> 2.1.0-beta.1) + - WordPressKit (from `https://github.com/wordpress-mobile/WordPressKit-iOS.git`, commit `1e3b1e836ac1ba1aef1d41aa1f2e9bed42cb526a`) - WordPressShared (= 1.7.1-beta.3) - WordPressUI (from `https://github.com/wordpress-mobile/WordPressUI-iOS.git`, tag `1.2.0`) - WPMediaPicker (= 1.3.2) @@ -291,7 +291,6 @@ SPEC REPOS: - WordPress-Aztec-iOS - WordPress-Editor-iOS - WordPressAuthenticator - - WordPressKit - WordPressShared - WPMediaPicker - wpxmlrpc @@ -319,6 +318,9 @@ EXTERNAL SOURCES: RNTAztecView: :commit: 6ea31e4f1d2c79fcbcafe9085f7950cd4981f776 :git: https://github.com/wordpress-mobile/gutenberg-mobile/ + WordPressKit: + :commit: 1e3b1e836ac1ba1aef1d41aa1f2e9bed42cb526a + :git: https://github.com/wordpress-mobile/WordPressKit-iOS.git WordPressUI: :git: https://github.com/wordpress-mobile/WordPressUI-iOS.git :tag: 1.2.0 @@ -341,6 +343,9 @@ CHECKOUT OPTIONS: RNTAztecView: :commit: 6ea31e4f1d2c79fcbcafe9085f7950cd4981f776 :git: https://github.com/wordpress-mobile/gutenberg-mobile/ + WordPressKit: + :commit: 1e3b1e836ac1ba1aef1d41aa1f2e9bed42cb526a + :git: https://github.com/wordpress-mobile/WordPressKit-iOS.git WordPressUI: :git: https://github.com/wordpress-mobile/WordPressUI-iOS.git :tag: 1.2.0 @@ -395,6 +400,6 @@ SPEC CHECKSUMS: yoga: f37b1edbd68be803f1dc4d57d40d8a5b277d8e2c ZendeskSDK: 44ee00338dd718495f0364369420ae11b389c878 -PODFILE CHECKSUM: b5d3b187e0459850c687e0c445c1493f48d942a5 +PODFILE CHECKSUM: 3c70260b34b9bcb44f2edc383b73eb9ea4eba057 COCOAPODS: 1.5.3 diff --git a/WordPress/Classes/Stores/StatsInsightsStore.swift b/WordPress/Classes/Stores/StatsInsightsStore.swift index c67a7643ffe0..07c56923a972 100644 --- a/WordPress/Classes/Stores/StatsInsightsStore.swift +++ b/WordPress/Classes/Stores/StatsInsightsStore.swift @@ -12,7 +12,7 @@ enum InsightAction: Action { case receivedPublicize(_ publicizeStats: StatsPublicizeInsight?) case receivedCommentsInsight(_ commentsInsight: StatsCommentsInsight?) case receivedTodaysStats(_ todaysStats: StatsTodayInsight?) - case receivedPostingActivity(_ postingActivity: StatsStreak?) + case receivedPostingActivity(_ postingActivity: StatsPostingStreakInsight?) case receivedTagsAndCategories(_ tagsAndCategories: StatsTagsAndCategoriesInsight?) case refreshInsights() } @@ -46,7 +46,7 @@ struct InsightStoreState { var todaysStats: StatsTodayInsight? var fetchingTodaysStats = false - var postingActivity: StatsStreak? + var postingActivity: StatsPostingStreakInsight? var fetchingPostingActivity = false var topTagsAndCategories: StatsTagsAndCategoriesInsight? @@ -182,27 +182,13 @@ private extension StatsInsightsStore { self.actionDispatcher.dispatch(InsightAction.receivedTagsAndCategories(tagsAndCategoriesInsight)) } - SiteStatsInformation.statsService()?.retrieveInsightsStats( - allTimeStatsCompletionHandler: nil, - insightsCompletionHandler: nil, - todaySummaryCompletionHandler: nil, - latestPostSummaryCompletionHandler: nil, - commentsAuthorCompletionHandler: nil, - commentsPostsCompletionHandler: nil, - tagsCategoriesCompletionHandler: nil, - followersDotComCompletionHandler: nil, - followersEmailCompletionHandler: nil, - publicizeCompletionHandler: nil, - streakCompletionHandler: { (statsStreak, error) in + api.getInsight { (streak: StatsPostingStreakInsight?, error) in if error != nil { - DDLogInfo("Error fetching stats streak: \(String(describing: error?.localizedDescription))") + DDLogInfo("Error fetching tags and categories insight: \(String(describing: error?.localizedDescription))") } - self.actionDispatcher.dispatch(InsightAction.receivedPostingActivity(statsStreak)) - }, progressBlock: { (numberOfFinishedOperations, totalNumberOfOperations) in - - }, andOverallCompletionHandler: { - }) + self.actionDispatcher.dispatch(InsightAction.receivedPostingActivity(streak)) + } } func refreshInsights() { @@ -270,7 +256,7 @@ private extension StatsInsightsStore { } } - func receivedPostingActivity(_ postingActivity: StatsStreak?) { + func receivedPostingActivity(_ postingActivity: StatsPostingStreakInsight?) { transaction { state in state.postingActivity = postingActivity state.fetchingPostingActivity = false @@ -343,57 +329,64 @@ extension StatsInsightsStore { return state.topTagsAndCategories } + func getPostingActivity() -> StatsPostingStreakInsight? { + return state.postingActivity + } /// Summarizes the daily posting count for the month in the given date. /// Returns an array containing every day of the month and associated post count. /// - func getMonthlyPostingActivityFor(date: Date) -> [PostingActivityDayData] { - - var monthData = [PostingActivityDayData]() - let dateComponents = Calendar.current.dateComponents([.year, .month], from: date.normalizedDate()) + func getMonthlyPostingActivityFor(date: Date) -> [PostingStreakEvent] { - // Add every day in the month to the array, seeding with 0 counts. - guard let dayRange = Calendar.current.range(of: .day, in: .month, for: date) else { - return monthData + guard + let postingEvents = state.postingActivity?.postingEvents, + postingEvents.count > 0 + else { + return [] } - dayRange.forEach { day in - let components = DateComponents(year: dateComponents.year, month: dateComponents.month, day: day) - guard let date = Calendar.current.date(from: components) else { - return - } + let calendar = Calendar.autoupdatingCurrent + let components = calendar.dateComponents([.month, .year], from: date) - monthData.append(PostingActivityDayData(date: date, count: 0)) + guard + let month = components.month, + let year = components.year + else { + return [] } - // If there is no posting activity at all, return. - guard let allPostingActivity = state.postingActivity?.items else { - return monthData - } + // This gives a range of how many days there are in a given month... + let rangeOfMonth = calendar.range(of: .day, in: .month, for: date) ?? 0..<0 - // If the posting occurred in the requested month, increment the count for that day. - allPostingActivity.forEach { postingActivity in - let postDate = postingActivity.date.normalizedDate() - if let dayIndex = monthData.index(where: { $0.date == postDate }) { - monthData[dayIndex].count += 1 + let mappedMonth = rangeOfMonth + // then we create a `Date` representing each of those days + .compactMap { + return calendar.date(from: DateComponents(year: year, month: month, day: $0)) } + // and pick out a relevant `PostingStreakEvent` from data we have or return + // an empty one. + .map { (date: Date) -> PostingStreakEvent in + if let postingEvent = postingEvents.first(where: { event in return event.date == date }) { + return postingEvent + } + return PostingStreakEvent(date: date, postCount: 0) } - return monthData - } + return mappedMonth - func getYearlyPostingActivityFrom(date: Date) -> [[PostingActivityDayData]] { - var monthsData = [[PostingActivityDayData]]() + } - // Get last 12 months, in ascending order. - for month in (0...11).reversed() { - if let monthDate = Calendar.current.date(byAdding: .month, value: -month, to: Date()) { - monthsData.append(getMonthlyPostingActivityFor(date: monthDate)) + func getYearlyPostingActivityFrom(date: Date) -> [[PostingStreakEvent]] { + // We operate on a "reversed" range since we want least-recent months first. + return (0...11).reversed().compactMap { + guard + let monthDate = Calendar.current.date(byAdding: .month, value: -$0, to: date) + else { + return nil } - } - return monthsData + return getMonthlyPostingActivityFor(date: monthDate) + } } - var isFetching: Bool { return state.fetchingLastPostInsight || diff --git a/WordPress/Classes/ViewRelated/Stats/Insights/Posting Activity/PostingActivityCell.swift b/WordPress/Classes/ViewRelated/Stats/Insights/Posting Activity/PostingActivityCell.swift index 7f3dadaf07b3..165ca7e22fd0 100644 --- a/WordPress/Classes/ViewRelated/Stats/Insights/Posting Activity/PostingActivityCell.swift +++ b/WordPress/Classes/ViewRelated/Stats/Insights/Posting Activity/PostingActivityCell.swift @@ -22,7 +22,7 @@ class PostingActivityCell: UITableViewCell, NibLoadable { addLegend() } - func configure(withData monthsData: [[PostingActivityDayData]], andDelegate delegate: SiteStatsInsightsDelegate) { + func configure(withData monthsData: [[PostingStreakEvent]], andDelegate delegate: SiteStatsInsightsDelegate) { siteStatsInsightsDelegate = delegate addMonths(monthsData: monthsData) } @@ -49,7 +49,7 @@ private extension PostingActivityCell { legendView.addSubview(legend) } - func addMonths(monthsData: [[PostingActivityDayData]]) { + func addMonths(monthsData: [[PostingStreakEvent]]) { for monthData in monthsData { let monthView = PostingActivityMonth.loadFromNib() monthView.configure(monthData: monthData) diff --git a/WordPress/Classes/ViewRelated/Stats/Insights/Posting Activity/PostingActivityCollectionViewCell.swift b/WordPress/Classes/ViewRelated/Stats/Insights/Posting Activity/PostingActivityCollectionViewCell.swift index 671bf702ab8c..b56c5b0b9d17 100644 --- a/WordPress/Classes/ViewRelated/Stats/Insights/Posting Activity/PostingActivityCollectionViewCell.swift +++ b/WordPress/Classes/ViewRelated/Stats/Insights/Posting Activity/PostingActivityCollectionViewCell.swift @@ -8,7 +8,7 @@ class PostingActivityCollectionViewCell: UICollectionViewCell { // MARK: - Configure - func configure(withData monthData: [PostingActivityDayData], postingActivityDayDelegate: PostingActivityDayDelegate? = nil) { + func configure(withData monthData: [PostingStreakEvent], postingActivityDayDelegate: PostingActivityDayDelegate? = nil) { let monthView = PostingActivityMonth.loadFromNib() monthView.configure(monthData: monthData, postingActivityDayDelegate: postingActivityDayDelegate) monthView.frame.size = frame.size diff --git a/WordPress/Classes/ViewRelated/Stats/Insights/Posting Activity/PostingActivityDay.swift b/WordPress/Classes/ViewRelated/Stats/Insights/Posting Activity/PostingActivityDay.swift index 5d9c7a24fe19..89b9b2abdb91 100644 --- a/WordPress/Classes/ViewRelated/Stats/Insights/Posting Activity/PostingActivityDay.swift +++ b/WordPress/Classes/ViewRelated/Stats/Insights/Posting Activity/PostingActivityDay.swift @@ -4,13 +4,6 @@ protocol PostingActivityDayDelegate: class { func daySelected(_ day: PostingActivityDay) } -/// Convenience struct to contain information about a single day displayed in Posting Activity. -/// -struct PostingActivityDayData { - var date: Date - var count: Int -} - class PostingActivityDay: UIView, NibLoadable { // MARK: - Properties @@ -20,11 +13,11 @@ class PostingActivityDay: UIView, NibLoadable { private var visible = true private var active = true - private(set) var dayData: PostingActivityDayData? + private(set) var dayData: PostingStreakEvent? // MARK: - Configure - func configure(dayData: PostingActivityDayData? = nil, delegate: PostingActivityDayDelegate? = nil) { + func configure(dayData: PostingStreakEvent? = nil, delegate: PostingActivityDayDelegate? = nil) { self.dayData = dayData visible = dayData != nil active = delegate != nil @@ -51,7 +44,7 @@ private extension PostingActivityDay { return .clear } - return PostingActivityLegend.colorForCount(dayData.count) + return PostingActivityLegend.colorForCount(dayData.postCount) } @IBAction func dayButtonPressed(_ sender: UIButton) { diff --git a/WordPress/Classes/ViewRelated/Stats/Insights/Posting Activity/PostingActivityMonth.swift b/WordPress/Classes/ViewRelated/Stats/Insights/Posting Activity/PostingActivityMonth.swift index 3263c5f764d7..c66dff4680a5 100644 --- a/WordPress/Classes/ViewRelated/Stats/Insights/Posting Activity/PostingActivityMonth.swift +++ b/WordPress/Classes/ViewRelated/Stats/Insights/Posting Activity/PostingActivityMonth.swift @@ -9,7 +9,7 @@ class PostingActivityMonth: UIView, NibLoadable { @IBOutlet weak var viewWidthConstraint: NSLayoutConstraint! private var month: Date? - private var monthData: [PostingActivityDayData]? + private var monthData: [PostingStreakEvent]? private weak var postingActivityDayDelegate: PostingActivityDayDelegate? // 14 = day width (12) + column margin (2). @@ -18,7 +18,7 @@ class PostingActivityMonth: UIView, NibLoadable { // MARK: - Configure - func configure(monthData: [PostingActivityDayData], postingActivityDayDelegate: PostingActivityDayDelegate? = nil) { + func configure(monthData: [PostingStreakEvent], postingActivityDayDelegate: PostingActivityDayDelegate? = nil) { self.monthData = monthData self.postingActivityDayDelegate = postingActivityDayDelegate getMonth() @@ -97,7 +97,7 @@ private extension PostingActivityMonth { toggleLastStackView(lastStackViewUsed: weekIndex - 1) } - func addDayToStackView(stackView: UIStackView, dayData: PostingActivityDayData? = nil) { + func addDayToStackView(stackView: UIStackView, dayData: PostingStreakEvent? = nil) { let dayView = PostingActivityDay.loadFromNib() dayView.configure(dayData: dayData, delegate: postingActivityDayDelegate) stackView.addArrangedSubview(dayView) diff --git a/WordPress/Classes/ViewRelated/Stats/Insights/Posting Activity/PostingActivityViewController.swift b/WordPress/Classes/ViewRelated/Stats/Insights/Posting Activity/PostingActivityViewController.swift index 63263cb771ca..2a092c1f6dc0 100644 --- a/WordPress/Classes/ViewRelated/Stats/Insights/Posting Activity/PostingActivityViewController.swift +++ b/WordPress/Classes/ViewRelated/Stats/Insights/Posting Activity/PostingActivityViewController.swift @@ -15,7 +15,7 @@ class PostingActivityViewController: UIViewController, StoryboardLoadable { @IBOutlet weak var postCountLabel: UILabel! @IBOutlet weak var legendView: UIView! - var yearData = [[PostingActivityDayData]]() + var yearData = [[PostingStreakEvent]]() private var selectedDay: PostingActivityDay? private typealias Style = WPStyleGuide.Stats @@ -82,7 +82,7 @@ extension PostingActivityViewController: PostingActivityDayDelegate { dayDataView.isHidden = false dateLabel.text = formattedDate(dayData.date) - postCountLabel.text = formattedPostCount(dayData.count) + postCountLabel.text = formattedPostCount(dayData.postCount) } } diff --git a/WordPress/Classes/ViewRelated/Stats/Insights/SiteStatsInsightsViewModel.swift b/WordPress/Classes/ViewRelated/Stats/Insights/SiteStatsInsightsViewModel.swift index 9697da80bc67..281df6af075b 100644 --- a/WordPress/Classes/ViewRelated/Stats/Insights/SiteStatsInsightsViewModel.swift +++ b/WordPress/Classes/ViewRelated/Stats/Insights/SiteStatsInsightsViewModel.swift @@ -310,7 +310,7 @@ private extension SiteStatsInsightsViewModel { } func createPostingActivityRow() -> PostingActivityRow { - var monthsData = [[PostingActivityDayData]]() + var monthsData = [[PostingStreakEvent]]() if let twoMonthsAgo = Calendar.current.date(byAdding: .month, value: -2, to: Date()) { monthsData.append(store.getMonthlyPostingActivityFor(date: twoMonthsAgo)) diff --git a/WordPress/Classes/ViewRelated/Stats/SiteStatsTableViewCells.swift b/WordPress/Classes/ViewRelated/Stats/SiteStatsTableViewCells.swift index 9d79871cd6c0..8398410c8bc7 100644 --- a/WordPress/Classes/ViewRelated/Stats/SiteStatsTableViewCells.swift +++ b/WordPress/Classes/ViewRelated/Stats/SiteStatsTableViewCells.swift @@ -82,7 +82,7 @@ struct PostingActivityRow: ImmuTableRow { return ImmuTableCell.nib(CellType.defaultNib, CellType.self) }() - let monthsData: [[PostingActivityDayData]] + let monthsData: [[PostingStreakEvent]] let siteStatsInsightsDelegate: SiteStatsInsightsDelegate let action: ImmuTableAction? = nil From 4202e0925f0e984d96d293fe8a6e54f0529c25ee Mon Sep 17 00:00:00 2001 From: Jan Klausa Date: Mon, 25 Feb 2019 17:14:16 +0100 Subject: [PATCH 2/3] bump wpkit --- Podfile | 2 +- Podfile.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Podfile b/Podfile index 6651fb3ea2cb..e3a1cfaf1093 100644 --- a/Podfile +++ b/Podfile @@ -53,7 +53,7 @@ end def wordpress_kit #pod 'WordPressKit', '~> 2.1.0-beta.1' - pod 'WordPressKit', :git => 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', :commit => '1e3b1e836ac1ba1aef1d41aa1f2e9bed42cb526a' + pod 'WordPressKit', :git => 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', :commit => '9a41727' #pod 'WordPressKit', :path => '~/Developer/a8c/WordPressKit-iOS' end diff --git a/Podfile.lock b/Podfile.lock index e1956cb53e11..66e2ffd786c6 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -249,7 +249,7 @@ DEPENDENCIES: - SVProgressHUD (= 2.2.5) - WordPress-Editor-iOS (= 1.4.3) - WordPressAuthenticator (~> 1.1.9) - - WordPressKit (from `https://github.com/wordpress-mobile/WordPressKit-iOS.git`, commit `1e3b1e836ac1ba1aef1d41aa1f2e9bed42cb526a`) + - WordPressKit (from `https://github.com/wordpress-mobile/WordPressKit-iOS.git`, commit `9a41727`) - WordPressShared (= 1.7.1-beta.3) - WordPressUI (from `https://github.com/wordpress-mobile/WordPressUI-iOS.git`, tag `1.2.0`) - WPMediaPicker (= 1.3.2) @@ -319,7 +319,7 @@ EXTERNAL SOURCES: :git: https://github.com/wordpress-mobile/gutenberg-mobile/ :tag: v1.0.0 WordPressKit: - :commit: 1e3b1e836ac1ba1aef1d41aa1f2e9bed42cb526a + :commit: 9a41727 :git: https://github.com/wordpress-mobile/WordPressKit-iOS.git WordPressUI: :git: https://github.com/wordpress-mobile/WordPressUI-iOS.git @@ -344,7 +344,7 @@ CHECKOUT OPTIONS: :git: https://github.com/wordpress-mobile/gutenberg-mobile/ :tag: v1.0.0 WordPressKit: - :commit: 1e3b1e836ac1ba1aef1d41aa1f2e9bed42cb526a + :commit: 9a41727 :git: https://github.com/wordpress-mobile/WordPressKit-iOS.git WordPressUI: :git: https://github.com/wordpress-mobile/WordPressUI-iOS.git @@ -400,6 +400,6 @@ SPEC CHECKSUMS: yoga: f37b1edbd68be803f1dc4d57d40d8a5b277d8e2c ZendeskSDK: 44ee00338dd718495f0364369420ae11b389c878 -PODFILE CHECKSUM: a3a9f04fbbf0d1fc3005162ba5f904b470db126c +PODFILE CHECKSUM: 4693c12066a02e8c138463ce144f40faaacf1cfc COCOAPODS: 1.5.3 From b2813322d25303126e6b48fa1f79a44acbe89630 Mon Sep 17 00:00:00 2001 From: Jan Klausa Date: Tue, 26 Feb 2019 00:28:17 +0100 Subject: [PATCH 3/3] update wpkit to non-hash version --- Podfile | 4 ++-- Podfile.lock | 15 +++++---------- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/Podfile b/Podfile index 41af1e9a5852..17af6fa15e13 100644 --- a/Podfile +++ b/Podfile @@ -52,8 +52,8 @@ def wordpress_ui end def wordpress_kit - #pod 'WordPressKit', '~> 2.1.0-beta.1' - pod 'WordPressKit', :git => 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', :commit => '9a41727' + pod 'WordPressKit', '~> 2.1.1-beta.2' + #pod 'WordPressKit', :git => 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', :commit => '9a41727' #pod 'WordPressKit', :path => '~/Developer/a8c/WordPressKit-iOS' end diff --git a/Podfile.lock b/Podfile.lock index 157885df86e6..09879f4f9158 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -191,7 +191,7 @@ PODS: - WordPressKit (~> 2.0-beta) - WordPressShared (~> 1.4) - WordPressUI (~> 1.0) - - WordPressKit (2.1.0-beta.2): + - WordPressKit (2.1.1-beta.2): - Alamofire (~> 4.7.3) - CocoaLumberjack (= 3.4.2) - NSObject-SafeExpectations (= 0.0.3) @@ -249,7 +249,7 @@ DEPENDENCIES: - SVProgressHUD (= 2.2.5) - WordPress-Editor-iOS (= 1.4.3) - WordPressAuthenticator (~> 1.1.9) - - WordPressKit (from `https://github.com/wordpress-mobile/WordPressKit-iOS.git`, commit `9a41727`) + - WordPressKit (~> 2.1.1-beta.2) - WordPressShared (= 1.7.1-beta.3) - WordPressUI (from `https://github.com/wordpress-mobile/WordPressUI-iOS.git`, tag `1.2.0`) - WPMediaPicker (= 1.3.2) @@ -291,6 +291,7 @@ SPEC REPOS: - WordPress-Aztec-iOS - WordPress-Editor-iOS - WordPressAuthenticator + - WordPressKit - WordPressShared - WPMediaPicker - wpxmlrpc @@ -318,9 +319,6 @@ EXTERNAL SOURCES: RNTAztecView: :git: https://github.com/wordpress-mobile/gutenberg-mobile/ :tag: v1.0.1 - WordPressKit: - :commit: 9a41727 - :git: https://github.com/wordpress-mobile/WordPressKit-iOS.git WordPressUI: :git: https://github.com/wordpress-mobile/WordPressUI-iOS.git :tag: 1.2.0 @@ -343,9 +341,6 @@ CHECKOUT OPTIONS: RNTAztecView: :git: https://github.com/wordpress-mobile/gutenberg-mobile/ :tag: v1.0.1 - WordPressKit: - :commit: 9a41727 - :git: https://github.com/wordpress-mobile/WordPressKit-iOS.git WordPressUI: :git: https://github.com/wordpress-mobile/WordPressUI-iOS.git :tag: 1.2.0 @@ -392,7 +387,7 @@ SPEC CHECKSUMS: WordPress-Aztec-iOS: 0062ba96c3ea77186590c74b761427c461f89a06 WordPress-Editor-iOS: cfaa780c3ee64ea781fe6f52ca1561667a3f3707 WordPressAuthenticator: 9559bc45373f1b6c2f58d664d34f564bcf73111f - WordPressKit: 7d4e523fe984ecb913342a456d458f50844f416b + WordPressKit: 857a220f743f7c901204d8a9faf14d857e96370c WordPressShared: 9aa275b9970e80136f30d5d0611f890a6dd68c65 WordPressUI: 44fe43a9c5c504dfd534286e39e1ce6ebcd69ff5 WPMediaPicker: e50edd8f30f5d87288840941ef3ff9cd11860937 @@ -400,6 +395,6 @@ SPEC CHECKSUMS: yoga: f37b1edbd68be803f1dc4d57d40d8a5b277d8e2c ZendeskSDK: 44ee00338dd718495f0364369420ae11b389c878 -PODFILE CHECKSUM: 7c6dec76f66ce705aa303220113bda6031f52bbb +PODFILE CHECKSUM: 6cf6c7a4fd8e3eecc8656281f4a8a84ad1c57d5c COCOAPODS: 1.5.3