Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit5bc45aa

Browse files
committed
Merge 'upstream/master' into internal/master
2 parents494fd1f +1d42f18 commit5bc45aa

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

‎content/v3/activity/events/types.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ Key | Type | Description
402402
----|------|-------------
403403
`team`|`object` | The[team](/v3/orgs/teams/) that was modified. Note: older events may not include this in the payload.
404404
`user`|`object` | The[user](/v3/users/) that was added to this team.
405-
`repo`|`object` | The[repository](/v3/repos/) that was added to this team.
405+
`repository`|`object` | The[repository](/v3/repos/) that was added to this team.
406406

407407

408408
##WatchEvent

‎lib/resources.rb‎

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1207,6 +1207,16 @@ def text_html(response, status, head = {})
12071207
}
12081208
}
12091209

1210+
GIST_FILE_WITH_CONTENT={
1211+
"ring.erl"=>{
1212+
"size"=>932,
1213+
"raw_url"=>"https://gist.githubusercontent.com/raw/365370/8c4d2d43d178df44f4c03a7f2ac0ff512853564e/ring.erl",
1214+
"type"=>"text/plain",
1215+
"language"=>"Erlang",
1216+
"content"=>"contents of gist"
1217+
}
1218+
}
1219+
12101220
GIST={
12111221
"url"=>"https://api.github.com/gists/#{SecureRandom.hex(10)}",
12121222
"forks_url"=>"https://api.github.com/gists/#{SecureRandom.hex(10)}/forks",
@@ -1226,9 +1236,10 @@ def text_html(response, status, head = {})
12261236
}
12271237

12281238
FULL_GIST=GIST.dup.update \
1229-
:forks=>GIST_FORKS,
1230-
:history=>GIST_HISTORY,
1231-
:files=>GIST_FILE.merge({'content'=>'contents of gist'})
1239+
"forks"=>GIST_FORKS,
1240+
"history"=>GIST_HISTORY,
1241+
"files"=>GIST_FILE_WITH_CONTENT
1242+
12321243

12331244
GIST_COMMENT={
12341245
"id"=>1,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp