Skip to content

Commit 0c44275

Browse files
authored
Merge pull request #104 from 87kangsw/release/2.2.5
[Release] 2.2.5
2 parents 344ca53 + 0d555b0 commit 0c44275

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

GitTime/Sources/Models/Event.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ extension Event {
269269
return "\(Constants.URLs.gitHubDomain)/\(self.repo.name)/commits"
270270
case .forkEvent:
271271
guard let payload = self.payload as? ForkEventPayload else { return "" }
272-
return payload.forkee.url
272+
return "\(Constants.URLs.gitHubDomain)/\(payload.forkee.fullName)"
273273
case .issuesEvent:
274274
guard let payload = self.payload as? IssuesEventPayload else { return "" }
275275
return payload.issue.url

GitTime/Sources/Models/Payload.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,14 @@ struct ForkEventPayload: PayloadType {
154154
struct ForkeeObject: ModelType {
155155
let id: Int
156156
let name: String
157+
let fullName: String
157158
let description: String?
158-
let url: String
159159

160160
enum CodingKeys: String, CodingKey {
161161
case id
162-
case name = "full_name"
162+
case name
163+
case fullName = "full_name"
163164
case description
164-
case url = "html_url"
165165
}
166166
}
167167

GitTime/Supporting Files/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
<key>CFBundlePackageType</key>
8686
<string>APPL</string>
8787
<key>CFBundleShortVersionString</key>
88-
<string>2.2.4</string>
88+
<string>2.2.5</string>
8989
<key>CFBundleURLTypes</key>
9090
<array>
9191
<dict>
@@ -100,7 +100,7 @@
100100
</dict>
101101
</array>
102102
<key>CFBundleVersion</key>
103-
<string>14</string>
103+
<string>16</string>
104104
<key>ITSAppUsesNonExemptEncryption</key>
105105
<false/>
106106
<key>LSApplicationQueriesSchemes</key>

0 commit comments

Comments
 (0)