2 parents 6946263 + 2856bad commit d5161fdCopy full SHA for d5161fd
1 file changed
lib/resources.rb
@@ -260,11 +260,13 @@ def json(key)
260
})
261
262
COMMIT_COMMENT = {
263
- "url" => "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "html_url" => "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1",
264
+ "url" => "https://api.github.com/repos/octocat/Hello-World/comments/1",
265
"id" => 1,
266
"body" => "Great stuff",
267
"path" => "file1.txt",
268
"position" => 4,
269
+ "line" => 14,
270
"commit_id" => "6dcb09b5b57875f334f61aebed695e2e4193db5e",
271
"user" => USER,
272
"created_at" => "2011-04-14T16:00:49Z",
@@ -278,8 +280,8 @@ def json(key)
278
280
"additions" => 103,
279
281
"deletions" => 21,
282
"changes" => 124,
- "blob_url" => "https://github.com/octocate/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt",
- "raw_url" => "https://github.com/octocate/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt",
283
+ "blob_url" => "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt",
284
+ "raw_url" => "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt",
285
"patch" => "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test"
286
}
287
0 commit comments