From 70adbb3651ca119cf7a84c389a082e67a0657187 Mon Sep 17 00:00:00 2001 From: Hubot Date: Tue, 23 Dec 2014 16:44:46 +0000 Subject: [PATCH] Sync changes from upstream repository --- lib/resources.rb | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/resources.rb b/lib/resources.rb index bd58bb63fc..aedbe3d4db 100644 --- a/lib/resources.rb +++ b/lib/resources.rb @@ -686,7 +686,8 @@ def fetch_content(key) "login" => "github", "id" => 1, "url" => "https://api.github.com/orgs/github", - "avatar_url" => "https://github.com/images/error/octocat_happy.gif" + "avatar_url" => "https://github.com/images/error/octocat_happy.gif", + "description" => "A great organization" } FULL_ORG ||= ORG.merge({ @@ -719,13 +720,16 @@ def fetch_content(key) }) TEAM ||= { + "id" => 1, "url" => "https://api.github.com/teams/1", "name" => "Owners", - "id" => 1 + "description" => "A great team.", + "permission" => "admin", + "members_url" => "https://api.github.com/teams/1/members{/member}", + "repositories_url" => "https://api.github.com/teams/1/repos" } FULL_TEAM ||= TEAM.merge({ - "permission" => "admin", "members_count" => 3, "repos_count" => 10, "organization" => ORG