@@ -21,6 +21,46 @@ module Responses
21
21
"site_admin" => false
22
22
}
23
23
24
+ HUBOT ||={
25
+ "login" => "hubot" ,
26
+ "id" => 1 ,
27
+ "avatar_url" => "https://github.com/images/error/hubot_happy.gif" ,
28
+ "gravatar_id" => "" ,
29
+ "url" => "https://api.github.com/users/hubot" ,
30
+ "html_url" => "https://github.com/hubot" ,
31
+ "followers_url" => "https://api.github.com/users/hubot/followers" ,
32
+ "following_url" => "https://api.github.com/users/hubot/following{/other_user}" ,
33
+ "gists_url" => "https://api.github.com/users/hubot/gists{/gist_id}" ,
34
+ "starred_url" => "https://api.github.com/users/hubot/starred{/owner}{/repo}" ,
35
+ "subscriptions_url" => "https://api.github.com/users/hubot/subscriptions" ,
36
+ "organizations_url" => "https://api.github.com/users/hubot/orgs" ,
37
+ "repos_url" => "https://api.github.com/users/hubot/repos" ,
38
+ "events_url" => "https://api.github.com/users/hubot/events{/privacy}" ,
39
+ "received_events_url" => "https://api.github.com/users/hubot/received_events" ,
40
+ "type" => "User" ,
41
+ "site_admin" => true
42
+ }
43
+
44
+ OTHER_USER ||={
45
+ "login" => "other_user" ,
46
+ "id" => 1 ,
47
+ "avatar_url" => "https://github.com/images/error/other_user_happy.gif" ,
48
+ "gravatar_id" => "" ,
49
+ "url" => "https://api.github.com/users/other_user" ,
50
+ "html_url" => "https://github.com/other_user" ,
51
+ "followers_url" => "https://api.github.com/users/other_user/followers" ,
52
+ "following_url" => "https://api.github.com/users/other_user/following{/other_user}" ,
53
+ "gists_url" => "https://api.github.com/users/other_user/gists{/gist_id}" ,
54
+ "starred_url" => "https://api.github.com/users/other_user/starred{/owner}{/repo}" ,
55
+ "subscriptions_url" => "https://api.github.com/users/other_user/subscriptions" ,
56
+ "organizations_url" => "https://api.github.com/users/other_user/orgs" ,
57
+ "repos_url" => "https://api.github.com/users/other_user/repos" ,
58
+ "events_url" => "https://api.github.com/users/other_user/events{/privacy}" ,
59
+ "received_events_url" => "https://api.github.com/users/other_user/received_events" ,
60
+ "type" => "User" ,
61
+ "site_admin" => false
62
+ }
63
+
24
64
CONTRIBUTOR ||=USER . merge ( {
25
65
"contributions" => 32
26
66
} )