@@ -505,16 +505,21 @@ def text_html(response, status, head = {})
505505 "files" => [ FILE ] ,
506506 }
507507
508- PULL_COMMENT = {
509- "url" => "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" ,
510- "id" => 1 ,
511- "body" => "Great stuff" ,
512- "path" => "file1.txt" ,
513- "position" => 4 ,
514- "commit_id" => "6dcb09b5b57875f334f61aebed695e2e4193db5e" ,
515- "user" => USER ,
516- "created_at" => "2011-04-14T16:00:49Z" ,
517- "updated_at" => "2011-04-14T16:00:49Z" ,
508+ PULL_COMMENT = {
509+ "url" => "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" ,
510+ "id" => 1 ,
511+ "diff_hunk" => "@@ -16,33 +16,40 @@ public class Connection : IConnection..." ,
512+ "path" => "file1.txt" ,
513+ "position" => 1 ,
514+ "original_position" => 4 ,
515+ "commit_id" => "6dcb09b5b57875f334f61aebed695e2e4193db5e" ,
516+ "original_commit_id" => "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840" ,
517+ "user" => USER ,
518+ "body" => "Great stuff" ,
519+ "created_at" => "2011-04-14T16:00:49Z" ,
520+ "updated_at" => "2011-04-14T16:00:49Z" ,
521+ "html_url" => "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" ,
522+ "pull_request_url" => "https://api.github.com/repos/octocat/Hello-World/pulls/1" ,
518523 "_links" => {
519524 "self" => { 'href' =>
520525 "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" } ,
0 commit comments