@@ -109,7 +109,19 @@ def text_html(response, status, head = {})
109109 "id" => 1 ,
110110 "avatar_url" => "https://github.com/images/error/octocat_happy.gif" ,
111111 "gravatar_id" => "somehexcode" ,
112- "url" => "https://api.github.com/users/octocat"
112+ "url" => "https://api.github.com/users/octocat" ,
113+ "html_url" => "https://github.com/octocat" ,
114+ "followers_url" => "https://api.github.com/users/octocat/followers" ,
115+ "following_url" => "https://api.github.com/users/octocat/following{/other_user}" ,
116+ "gists_url" => "https://api.github.com/users/octocat/gists{/gist_id}" ,
117+ "starred_url" => "https://api.github.com/users/octocat/starred{/owner}{/repo}" ,
118+ "subscriptions_url" => "https://api.github.com/users/octocat/subscriptions" ,
119+ "organizations_url" => "https://api.github.com/users/octocat/orgs" ,
120+ "repos_url" => "https://api.github.com/users/octocat/repos" ,
121+ "events_url" => "https://api.github.com/users/octocat/events{/privacy}" ,
122+ "received_events_url" => "https://api.github.com/users/octocat/received_events" ,
123+ "type" => "User" ,
124+ "site_admin" => false
113125 }
114126
115127 CONTRIBUTOR = USER . merge ( {
@@ -130,7 +142,7 @@ def text_html(response, status, head = {})
130142 "following" => 0 ,
131143 "html_url" => "https://github.com/octocat" ,
132144 "created_at" => "2008-01-14T04:33:35Z" ,
133- "type " => "User "
145+ "updated_at " => "2008-01-14T04:33:35Z "
134146 } )
135147
136148 PRIVATE_USER = FULL_USER . merge ( {
@@ -1124,7 +1136,9 @@ def text_html(response, status, head = {})
11241136 {
11251137 "user" => USER ,
11261138 "url" => "https://api.github.com/gists/#{ SecureRandom . hex ( 10 ) } " ,
1127- "created_at" => "2011-04-14T16:00:49Z"
1139+ "id" => 1 ,
1140+ "created_at" => "2011-04-14T16:00:49Z" ,
1141+ "updated_at" => "2011-04-14T16:00:49Z"
11281142 }
11291143 ]
11301144 }
@@ -1139,6 +1153,8 @@ def text_html(response, status, head = {})
11391153
11401154 GIST = {
11411155 "url" => "https://api.github.com/gists/#{ SecureRandom . hex ( 10 ) } " ,
1156+ "forks_url" => "https://api.github.com/gists/#{ SecureRandom . hex ( 10 ) } /forks" ,
1157+ "commits_url" => "https://api.github.com/gists/#{ SecureRandom . hex ( 10 ) } /commits" ,
11421158 "id" => "1" ,
11431159 "description" => "description of gist" ,
11441160 "public" => true ,
@@ -1149,7 +1165,8 @@ def text_html(response, status, head = {})
11491165 "html_url" => "https://gist.github.com/1" ,
11501166 "git_pull_url" => "git://gist.github.com/1.git" ,
11511167 "git_push_url" => "git@gist.github.com:1.git" ,
1152- "created_at" => "2010-04-14T02:15:15Z"
1168+ "created_at" => "2010-04-14T02:15:15Z" ,
1169+ "updated_at" => "2011-06-20T11:34:15Z"
11531170 }
11541171
11551172 FULL_GIST = GIST . merge ( GIST_FORKS ) . merge ( GIST_HISTORY )
@@ -1160,7 +1177,8 @@ def text_html(response, status, head = {})
11601177 "url" => "https://api.github.com/gists/#{ SecureRandom . hex ( 10 ) } /comments/1" ,
11611178 "body" => "Just commenting for the sake of commenting" ,
11621179 "user" => USER ,
1163- "created_at" => "2011-04-18T23:23:56Z"
1180+ "created_at" => "2011-04-18T23:23:56Z" ,
1181+ "updated_at" => "2011-04-18T23:23:56Z"
11641182 }
11651183
11661184 TREE = {
0 commit comments