8000 Sync changes from upstream repository · liukailcl/developer.github.com@48afef7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 48afef7

Browse files
author
Hubot
committed
Sync changes from upstream repository
1 parent 322dab5 commit 48afef7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

content/v3/gists.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ Name | Type | Description
6262

6363
## Get a specific revision of a gist
6464

65-
GET /gists/:id/:sha
65+
GET /gists/:id/:sha
6666

6767
### Response
6868

6969
<%= headers 200 %>
70-
<%= json :full_gist %>
70+
<%= json :full_gist_version %>
7171

7272
## Create a gist
7373

lib/resources.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1407,6 +1407,8 @@ def fetch_content(key)
14071407
"history" => GIST_HISTORY,
14081408
"files" => GIST_FILE_WITH_CONTENT
14091409

1410+
FULL_GIST_VERSION ||= FULL_GIST.dup.update \
1411+
"url" => "https://api.github.com/gists/aa5a315d61ae9438b18d/57a7f021a713b1c5a6a199b54cc514735d2d462f"
14101412

14111413
GIST_COMMENT ||= {
14121414
"id" => 1,

0 commit comments

Comments
 (0)
0