GitHub PullRequestEvent at 2014-10-12 21:10:51
Repository: supports-color
Actor: sunesimonsen
Payload: {"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/sindresorhus/supports-color/pulls/12","id":22620314,"html_url":"https://github.com/sindresorhus/supports-color/pull/12","diff_url":"https://github.com/sindresorhus/supports-color/pull/12.diff","patch_url":"https://github.com/sindresorhus/supports-color/pull/12.patch","issue_url":"https://api.github.com/repos/sindresorhus/supports-color/issues/12","number":12,"state":"open","locked":false,"title":"Support --colors and --no-colors flags used by Mocha","user":{"login":"sunesimonsen","id":90802,"avatar_url":"https://avatars.githubusercontent.com/u/90802?v=2","gravatar_id":"","url":"https://api.github.com/users/sunesimonsen","html_url":"https://github.com/sunesimonsen","followers_url":"https://api.github.com/users/sunesimonsen/followers","following_url":"https://api.github.com/users/sunesimonsen/following{/other_user}","gists_url":"https://api.github.com/users/sunesimonsen/gists{/gist_id}","starred_url":"https://api.github.com/users/sunesimonsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunesimonsen/subscriptions","organizations_url":"https://api.github.com/users/sunesimonsen/orgs","repos_url":"https://api.github.com/users/sunesimonsen/repos","events_url":"https://api.github.com/users/sunesimonsen/events{/privacy}","received_events_url":"https://api.github.com/users/sunesimonsen/received_events","type":"User","site_admin":false},"body":"Hi @sindresorhus, this pull request adds support for the command line flags `--colors` and `--no-colors` that is used by Mocha.\r\n\r\nIf you are interested I can elaborate more on why I would like this change to get merged.","created_at":"2014-10-12T21:10:51Z","updated_at":"2014-10-12T21:10:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8046bf6a345ce1ef34c9618c0a526bdf5d3d7fad","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sindresorhus/supports-color/pulls/12/commits","review_comments_url":"https://api.github.com/repos/sindresorhus/supports-color/pulls/12/comments","review_comment_url":"https://api.github.com/repos/sindresorhus/supports-color/pulls/comments/{number}","comments_url":"https://api.github.com/repos/sindresorhus/supports-color/issues/12/comments","statuses_url":"https://api.github.com/repos/sindresorhus/supports-color/statuses/2ae39320b7ca26c2803b4da531ed9bbcc40d78a3","head":{"label":"sunesimonsen:master","ref":"master","sha":"2ae39320b7ca26c2803b4da531ed9bbcc40d78a3","user":{"login":"sunesimonsen","id":90802,"avatar_url":"https://avatars.githubusercontent.com/u/90802?v=2","gravatar_id":"","url":"https://api.github.com/users/sunesimonsen","html_url":"https://github.com/sunesimonsen","followers_url":"https://api.github.com/users/sunesimonsen/followers","following_url":"https://api.github.com/users/sunesimonsen/following{/other_user}","gists_url":"https://api.github.com/users/sunesimonsen/gists{/gist_id}","starred_url":"https://api.github.com/users/sunesimonsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunesimonsen/subscriptions","organizations_url":"https://api.github.com/users/sunesimonsen/orgs","repos_url":"https://api.github.com/users/sunesimonsen/repos","events_url":"https://api.github.com/users/sunesimonsen/events{/privacy}","received_events_url":"https://api.github.com/users/sunesimonsen/received_events","type":"User","site_admin":false},"repo":{"id":25131842,"name":"supports-color","full_name":"sunesimonsen/supports-color","owner":{"login":"sunesimonsen","id":90802,"avatar_url":"https://avatars.githubusercontent.com/u/90802?v=2","gravatar_id":"","url":"https://api.github.com/users/sunesimonsen","html_url":"https://github.com/sunesimonsen","followers_url":"https://api.github.com/users/sunesimonsen/followers","following_url":"https://api.github.com/users/sunesimonsen/following{/other_user}","gists_url":"https://api.github.com/users/sunesimonsen/gists{/gist_id}","starred_url":"https://api.github.com/users/sunesimonsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunesimonsen/subscriptions","organizations_url":"https://api.github.com/users/sunesimonsen/orgs","repos_url":"https://api.github.com/users/sunesimonsen/repos","events_url":"https://api.github.com/users/sunesimonsen/events{/privacy}","received_events_url":"https://api.github.com/users/sunesimonsen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sunesimonsen/supports-color","description":"Detect whether a terminal supports color","fork":true,"url":"https://api.github.com/repos/sunesimonsen/supports-color","forks_url":"https://api.github.com/repos/sunesimonsen/supports-color/forks","keys_url":"https://api.github.com/repos/sunesimonsen/supports-color/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sunesimonsen/supports-color/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sunesimonsen/supports-color/teams","hooks_url":"https://api.github.com/repos/sunesimonsen/supports-color/hooks","issue_events_url":"https://api.github.com/repos/sunesimonsen/supports-color/issues/events{/number}","events_url":"https://api.github.com/repos/sunesimonsen/supports-color/events","assignees_url":"https://api.github.com/repos/sunesimonsen/supports-color/assignees{/user}","branches_url":"https://api.github.com/repos/sunesimonsen/supports-color/branches{/branch}","tags_url":"https://api.github.com/repos/sunesimonsen/supports-color/tags","blobs_url":"https://api.github.com/repos/sunesimonsen/supports-color/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sunesimonsen/supports-color/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sunesimonsen/supports-color/git/refs{/sha}","trees_url":"https://api.github.com/repos/sunesimonsen/supports-color/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sunesimonsen/supports-color/statuses/{sha}","languages_url":"https://api.github.com/repos/sunesimonsen/supports-color/languages","stargazers_url":"https://api.github.com/repos/sunesimonsen/supports-color/stargazers","contributors_url":"https://api.github.com/repos/sunesimonsen/supports-color/contributors","subscribers_url":"https://api.github.com/repos/sunesimonsen/supports-color/subscribers","subscription_url":"https://api.github.com/repos/sunesimonsen/supports-color/subscription","commits_url":"https://api.github.com/repos/sunesimonsen/supports-color/commits{/sha}","git_commits_url":"https://api.github.com/repos/sunesimonsen/supports-color/git/commits{/sha}","comments_url":"https://api.github.com/repos/sunesimonsen/supports-color/comments{/number}","issue_comment_url":"https://api.github.com/repos/sunesimonsen/supports-color/issues/comments/{number}","contents_url":"https://api.github.com/repos/sunesimonsen/supports-color/contents/{+path}","compare_url":"https://api.github.com/repos/sunesimonsen/supports-color/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sunesimonsen/supports-color/merges","archive_url":"https://api.github.com/repos/sunesimonsen/supports-color/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sunesimonsen/supports-color/downloads","issues_url":"https://api.github.com/repos/sunesimonsen/supports-color/issues{/number}","pulls_url":"https://api.github.com/repos/sunesimonsen/supports-color/pulls{/number}","milestones_url":"https://api.github.com/repos/sunesimonsen/supports-color/milestones{/number}","notifications_url":"https://api.github.com/repos/sunesimonsen/supports-color/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sunesimonsen/supports-color/labels{/name}","releases_url":"https://api.github.com/repos/sunesimonsen/supports-color/releases{/id}","created_at":"2014-10-12T20:56:17Z","updated_at":"2014-10-12T21:06:52Z","pushed_at":"2014-10-12T21:06:53Z","git_url":"git://github.com/sunesimonsen/supports-color.git","ssh_url":"git@github.com:sunesimonsen/supports-color.git","clone_url":"https://github.com/sunesimonsen/supports-color.git","svn_url":"https://github.com/sunesimonsen/supports-color","homepage":"","size":393,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sindresorhus:master","ref":"master","sha":"892801bea69ac9658e46378c06d069752aad9b83","user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=2","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"repo":{"id":11855007,"name":"supports-color","full_name":"sindresorhus/supports-color","owner":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=2","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sindresorhus/supports-color","description":"Detect whether a terminal supports color","fork":false,"url":"https://api.github.com/repos/sindresorhus/supports-color","forks_url":"https://api.github.com/repos/sindresorhus/supports-color/forks","keys_url":"https://api.github.com/repos/sindresorhus/supports-color/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sindresorhus/supports-color/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sindresorhus/supports-color/teams","hooks_url":"https://api.github.com/repos/sindresorhus/supports-color/hooks","issue_events_url":"https://api.github.com/repos/sindresorhus/supports-color/issues/events{/number}","events_url":"https://api.github.com/repos/sindresorhus/supports-color/events","assignees_url":"https://api.github.com/repos/sindresorhus/supports-color/assignees{/user}","branches_url":"https://api.github.com/repos/sindresorhus/supports-color/branches{/branch}","tags_url":"https://api.github.com/repos/sindresorhus/supports-color/tags","blobs_url":"https://api.github.com/repos/sindresorhus/supports-color/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sindresorhus/supports-color/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sindresorhus/supports-color/git/refs{/sha}","trees_url":"https://api.github.com/repos/sindresorhus/supports-color/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sindresorhus/supports-color/statuses/{sha}","languages_url":"https://api.github.com/repos/sindresorhus/supports-color/languages","stargazers_url":"https://api.github.com/repos/sindresorhus/supports-color/stargazers","contributors_url":"https://api.github.com/repos/sindresorhus/supports-color/contributors","subscribers_url":"https://api.github.com/repos/sindresorhus/supports-color/subscribers","subscription_url":"https://api.github.com/repos/sindresorhus/supports-color/subscription","commits_url":"https://api.github.com/repos/sindresorhus/supports-color/commits{/sha}","git_commits_url":"https://api.github.com/repos/sindresorhus/supports-color/git/commits{/sha}","comments_url":"https://api.github.com/repos/sindresorhus/supports-color/comments{/number}","issue_comment_url":"https://api.github.com/repos/sindresorhus/supports-color/issues/comments/{number}","contents_url":"https://api.github.com/repos/sindresorhus/supports-color/contents/{+path}","compare_url":"https://api.github.com/repos/sindresorhus/supports-color/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sindresorhus/supports-color/merges","archive_url":"https://api.github.com/repos/sindresorhus/supports-color/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sindresorhus/supports-color/downloads","issues_url":"https://api.github.com/repos/sindresorhus/supports-color/issues{/number}","pulls_url":"https://api.github.com/repos/sindresorhus/supports-color/pulls{/number}","milestones_url":"https://api.github.com/repos/sindresorhus/supports-color/milestones{/number}","notifications_url":"https://api.github.com/repos/sindresorhus/supports-color/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sindresorhus/supports-color/labels{/name}","releases_url":"https://api.github.com/repos/sindresorhus/supports-color/releases{/id}","created_at":"2013-08-03T00:01:50Z","updated_at":"2014-09-17T14:18:28Z","pushed_at":"2014-08-19T23:33:25Z","git_url":"git://github.com/sindresorhus/supports-color.git","ssh_url":"git@github.com:sindresorhus/supports-color.git","clone_url":"https://github.com/sindresorhus/supports-color.git","svn_url":"https://github.com/sindresorhus/supports-color","homepage":"","size":393,"stargazers_count":18,"watchers_count":18,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sindresorhus/supports-color/pulls/12"},"html":{"href":"https://github.com/sindresorhus/supports-color/pull/12"},"issue":{"href":"https://api.github.com/repos/sindresorhus/supports-color/issues/12"},"comments":{"href":"https://api.github.com/repos/sindresorhus/supports-color/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/sindresorhus/supports-color/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/sindresorhus/supports-color/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/sindresorhus/supports-color/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/sindresorhus/supports-color/statuses/2ae39320b7ca26c2803b4da531ed9bbcc40d78a3"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":0,"changed_files":2}}