Skip to content

Commit 04d5c58

Browse files
author
hubot
committed
Merge pull request github#648 from github/update-1417426904
2 parents 32cc002 + 3eb28d2 commit 04d5c58

1 file changed

Lines changed: 17 additions & 15 deletions

File tree

lib/resources.rb

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -399,17 +399,18 @@ def fetch_content(key)
399399

400400

401401
PULL ||= {
402-
"url" => "https://api.github.com/repos/octocat/Hello-World/pulls/1",
403-
"html_url" => "https://github.com/octocat/Hello-World/pull/1",
404-
"diff_url" => "https://github.com/octocat/Hello-World/pulls/1.diff",
405-
"patch_url" => "https://github.com/octocat/Hello-World/pulls/1.patch",
406-
"issue_url" => "https://api.github.com/repos/octocat/Hello-World/issues/1",
407-
"commits_url" => "https://api.github.com/repos/octocat/Hello-World/pulls/1/commits",
408-
"review_comments_url" => "https://api.github.com/repos/octocat/Hello-World/pulls/1/comments",
402+
"id" => 1,
403+
"url" => "https://api.github.com/repos/octocat/Hello-World/pulls/1347",
404+
"html_url" => "https://github.com/octocat/Hello-World/pull/1347",
405+
"diff_url" => "https://github.com/octocat/Hello-World/pull/1347.diff",
406+
"patch_url" => "https://github.com/octocat/Hello-World/pull/1347.patch",
407+
"issue_url" => "https://api.github.com/repos/octocat/Hello-World/issues/1347",
408+
"commits_url" => "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits",
409+
"review_comments_url" => "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments",
409410
"review_comment_url" => "https://api.github.com/repos/octocat/Hello-World/pulls/comments/{number}",
410-
"comments_url" => "https://api.github.com/repos/octocat/Hello-World/issues/1/comments",
411+
"comments_url" => "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments",
411412
"statuses_url" => "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
412-
"number" => 1,
413+
"number" => 1347,
413414
"state" => "open",
414415
"title" => "new-feature",
415416
"body" => "Please pull these awesome changes",
@@ -433,19 +434,19 @@ def fetch_content(key)
433434
},
434435
"_links" => {
435436
"self" => {'href' =>
436-
"https://api.github.com/repos/octocat/Hello-World/pulls/1"},
437+
"https://api.github.com/repos/octocat/Hello-World/pulls/1347"},
437438
"html" => {'href' =>
438-
"https://github.com/octocat/Hello-World/pull/1"},
439+
"https://github.com/octocat/Hello-World/pull/1347"},
439440
"issue" => {'href' =>
440-
"https://api.github.com/repos/octocat/Hello-World/issues/1"},
441+
"https://api.github.com/repos/octocat/Hello-World/issues/1347"},
441442
"comments" => {'href' =>
442-
"https://api.github.com/repos/octocat/Hello-World/issues/1/comments"},
443+
"https://api.github.com/repos/octocat/Hello-World/issues/1347/comments"},
443444
"review_comments" => {'href' =>
444-
"https://api.github.com/repos/octocat/Hello-World/pulls/1/comments"},
445+
"https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments"},
445446
"review_comment" => {'href' =>
446447
"https://api.github.com/repos/octocat/Hello-World/pulls/comments/{number}"},
447448
"commits" => { 'href' =>
448-
"https://api.github.com/repos/octocat/Hello-World/pulls/1/commits"},
449+
"https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits"},
449450
"statuses" => {'href' =>
450451
"https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e"}
451452
},
@@ -769,6 +770,7 @@ def fetch_content(key)
769770
}
770771

771772
ISSUE ||= {
773+
"id" => 1,
772774
"url" => "https://api.github.com/repos/octocat/Hello-World/issues/1347",
773775
"html_url" => "https://github.com/octocat/Hello-World/issues/1347",
774776
"number" => 1347,

0 commit comments

Comments
 (0)