{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/DanielLuu/2rooms1boom/pulls/1","id":54391494,"html_url":"https://github.com/DanielLuu/2rooms1boom/pull/1","diff_url":"https://github.com/DanielLuu/2rooms1boom/pull/1.diff","patch_url":"https://github.com/DanielLuu/2rooms1boom/pull/1.patch","issue_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/issues/1","number":1,"state":"closed","locked":false,"title":"Add functionality to switch leaders","user":{"login":"wontwon","id":3239936,"avatar_url":"https://avatars.githubusercontent.com/u/3239936?v=3","gravatar_id":"","url":"https://api.github.com/users/wontwon","html_url":"https://github.com/wontwon","followers_url":"https://api.github.com/users/wontwon/followers","following_url":"https://api.github.com/users/wontwon/following{/other_user}","gists_url":"https://api.github.com/users/wontwon/gists{/gist_id}","starred_url":"https://api.github.com/users/wontwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wontwon/subscriptions","organizations_url":"https://api.github.com/users/wontwon/orgs","repos_url":"https://api.github.com/users/wontwon/repos","events_url":"https://api.github.com/users/wontwon/events{/privacy}","received_events_url":"https://api.github.com/users/wontwon/received_events","type":"User","site_admin":false},"body":"Moved leader attribute from the player to the game. When\r\nclicking on a user name, the leader assignment will change.\r\n\r\nTODO: President and Bomber assignment is not working correctly. The assignment\r\nshould be fired off in the assign roles function and assignment logic needs to be fixed.\r\nOne some loads, with only two players, there will be a bomber and one blue team member. That\r\nmember should be the President.\r\n\r\nTODO2: Add roles with the blue cards in a show/hide toggle.\r\n\r\nTODO3: Add rounds based on player numbers","created_at":"2015-12-22T16:58:41Z","updated_at":"2015-12-27T17:21:21Z","closed_at":"2015-12-27T17:21:21Z","merged_at":"2015-12-27T17:21:21Z","merge_commit_sha":"eb6a72af8a6935a274bfa37b7c529acbb84d4f1a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/pulls/1/commits","review_comments_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/pulls/1/comments","review_comment_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/issues/1/comments","statuses_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/statuses/04d21a0b8020706c754245f06f2cf906650bd940","head":{"label":"DanielLuu:tuan/add-leaders","ref":"tuan/add-leaders","sha":"04d21a0b8020706c754245f06f2cf906650bd940","user":{"login":"DanielLuu","id":389431,"avatar_url":"https://avatars.githubusercontent.com/u/389431?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielLuu","html_url":"https://github.com/DanielLuu","followers_url":"https://api.github.com/users/DanielLuu/followers","following_url":"https://api.github.com/users/DanielLuu/following{/other_user}","gists_url":"https://api.github.com/users/DanielLuu/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielLuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielLuu/subscriptions","organizations_url":"https://api.github.com/users/DanielLuu/orgs","repos_url":"https://api.github.com/users/DanielLuu/repos","events_url":"https://api.github.com/users/DanielLuu/events{/privacy}","received_events_url":"https://api.github.com/users/DanielLuu/received_events","type":"User","site_admin":false},"repo":{"id":48410335,"name":"2rooms1boom","full_name":"DanielLuu/2rooms1boom","owner":{"login":"DanielLuu","id":389431,"avatar_url":"https://avatars.githubusercontent.com/u/389431?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielLuu","html_url":"https://github.com/DanielLuu","followers_url":"https://api.github.com/users/DanielLuu/followers","following_url":"https://api.github.com/users/DanielLuu/following{/other_user}","gists_url":"https://api.github.com/users/DanielLuu/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielLuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielLuu/subscriptions","organizations_url":"https://api.github.com/users/DanielLuu/orgs","repos_url":"https://api.github.com/users/DanielLuu/repos","events_url":"https://api.github.com/users/DanielLuu/events{/privacy}","received_events_url":"https://api.github.com/users/DanielLuu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DanielLuu/2rooms1boom","description":"","fork":false,"url":"https://api.github.com/repos/DanielLuu/2rooms1boom","forks_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/forks","keys_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/teams","hooks_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/hooks","issue_events_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/issues/events{/number}","events_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/events","assignees_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/assignees{/user}","branches_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/branches{/branch}","tags_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/tags","blobs_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/git/refs{/sha}","trees_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/statuses/{sha}","languages_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/languages","stargazers_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/stargazers","contributors_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/contributors","subscribers_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/subscribers","subscription_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/subscription","commits_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/commits{/sha}","git_commits_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/git/commits{/sha}","comments_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/comments{/number}","issue_comment_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/issues/comments{/number}","contents_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/contents/{+path}","compare_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/merges","archive_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/downloads","issues_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/issues{/number}","pulls_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/pulls{/number}","milestones_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/milestones{/number}","notifications_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/labels{/name}","releases_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/releases{/id}","created_at":"2015-12-22T04:29:47Z","updated_at":"2015-12-22T15:59:31Z","pushed_at":"2015-12-27T17:21:21Z","git_url":"git://github.com/DanielLuu/2rooms1boom.git","ssh_url":"git@github.com:DanielLuu/2rooms1boom.git","clone_url":"https://github.com/DanielLuu/2rooms1boom.git","svn_url":"https://github.com/DanielLuu/2rooms1boom","homepage":null,"size":146,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"DanielLuu:master","ref":"master","sha":"7e27b0f787614aa12f8d7218f3166a9e00dc34be","user":{"login":"DanielLuu","id":389431,"avatar_url":"https://avatars.githubusercontent.com/u/389431?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielLuu","html_url":"https://github.com/DanielLuu","followers_url":"https://api.github.com/users/DanielLuu/followers","following_url":"https://api.github.com/users/DanielLuu/following{/other_user}","gists_url":"https://api.github.com/users/DanielLuu/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielLuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielLuu/subscriptions","organizations_url":"https://api.github.com/users/DanielLuu/orgs","repos_url":"https://api.github.com/users/DanielLuu/repos","events_url":"https://api.github.com/users/DanielLuu/events{/privacy}","received_events_url":"https://api.github.com/users/DanielLuu/received_events","type":"User","site_admin":false},"repo":{"id":48410335,"name":"2rooms1boom","full_name":"DanielLuu/2rooms1boom","owner":{"login":"DanielLuu","id":389431,"avatar_url":"https://avatars.githubusercontent.com/u/389431?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielLuu","html_url":"https://github.com/DanielLuu","followers_url":"https://api.github.com/users/DanielLuu/followers","following_url":"https://api.github.com/users/DanielLuu/following{/other_user}","gists_url":"https://api.github.com/users/DanielLuu/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielLuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielLuu/subscriptions","organizations_url":"https://api.github.com/users/DanielLuu/orgs","repos_url":"https://api.github.com/users/DanielLuu/repos","events_url":"https://api.github.com/users/DanielLuu/events{/privacy}","received_events_url":"https://api.github.com/users/DanielLuu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DanielLuu/2rooms1boom","description":"","fork":false,"url":"https://api.github.com/repos/DanielLuu/2rooms1boom","forks_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/forks","keys_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/teams","hooks_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/hooks","issue_events_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/issues/events{/number}","events_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/events","assignees_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/assignees{/user}","branches_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/branches{/branch}","tags_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/tags","blobs_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/git/refs{/sha}","trees_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/statuses/{sha}","languages_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/languages","stargazers_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/stargazers","contributors_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/contributors","subscribers_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/subscribers","subscription_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/subscription","commits_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/commits{/sha}","git_commits_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/git/commits{/sha}","comments_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/comments{/number}","issue_comment_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/issues/comments{/number}","contents_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/contents/{+path}","compare_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/merges","archive_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/downloads","issues_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/issues{/number}","pulls_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/pulls{/number}","milestones_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/milestones{/number}","notifications_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/labels{/name}","releases_url":"https://api.github.com/repos/DanielLuu/2rooms1boom/releases{/id}","created_at":"2015-12-22T04:29:47Z","updated_at":"2015-12-22T15:59:31Z","pushed_at":"2015-12-27T17:21:21Z","git_url":"git://github.com/DanielLuu/2rooms1boom.git","ssh_url":"git@github.com:DanielLuu/2rooms1boom.git","clone_url":"https://github.com/DanielLuu/2rooms1boom.git","svn_url":"https://github.com/DanielLuu/2rooms1boom","homepage":null,"size":146,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DanielLuu/2rooms1boom/pulls/1"},"html":{"href":"https://github.com/DanielLuu/2rooms1boom/pull/1"},"issue":{"href":"https://api.github.com/repos/DanielLuu/2rooms1boom/issues/1"},"comments":{"href":"https://api.github.com/repos/DanielLuu/2rooms1boom/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/DanielLuu/2rooms1boom/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/DanielLuu/2rooms1boom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DanielLuu/2rooms1boom/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/DanielLuu/2rooms1boom/statuses/04d21a0b8020706c754245f06f2cf906650bd940"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"DanielLuu","id":389431,"avatar_url":"https://avatars.githubusercontent.com/u/389431?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielLuu","html_url":"https://github.com/DanielLuu","followers_url":"https://api.github.com/users/DanielLuu/followers","following_url":"https://api.github.com/users/DanielLuu/following{/other_user}","gists_url":"https://api.github.com/users/DanielLuu/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielLuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielLuu/subscriptions","organizations_url":"https://api.github.com/users/DanielLuu/orgs","repos_url":"https://api.github.com/users/DanielLuu/repos","events_url":"https://api.github.com/users/DanielLuu/events{/privacy}","received_events_url":"https://api.github.com/users/DanielLuu/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":50,"deletions":20,"changed_files":4}}