{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/42966610","id":42966610,"diff_hunk":"@@ -0,0 +1,12 @@\n+class GitNum < Formula\n+  desc \"Quickly (un)stage files in Git using numbers\"\n+  homepage \"https://github.com/schreifels/git-num\"\n+  url \"https://github.com/schreifels/git-num/archive/v1.0.0.tar.gz\"\n+  version \"1.0.0\"\n+  sha256 \"7d3e4e04b35fc604a709b12172ce72fc5edef695687755c78d3b4b221aca7a5a\"\n+\n+  def install\n+    bin.install \"git-num\"\n+  end\n+","path":"Library/Formula/git-num.rb","position":11,"original_position":11,"commit_id":"255adf17940309566d0bd319bb9f86bac939573e","original_commit_id":"255adf17940309566d0bd319bb9f86bac939573e","user":{"login":"mikemcquaid","id":125011,"avatar_url":"https://avatars.githubusercontent.com/u/125011?v=3","gravatar_id":"","url":"https://api.github.com/users/mikemcquaid","html_url":"https://github.com/mikemcquaid","followers_url":"https://api.github.com/users/mikemcquaid/followers","following_url":"https://api.github.com/users/mikemcquaid/following{/other_user}","gists_url":"https://api.github.com/users/mikemcquaid/gists{/gist_id}","starred_url":"https://api.github.com/users/mikemcquaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikemcquaid/subscriptions","organizations_url":"https://api.github.com/users/mikemcquaid/orgs","repos_url":"https://api.github.com/users/mikemcquaid/repos","events_url":"https://api.github.com/users/mikemcquaid/events{/privacy}","received_events_url":"https://api.github.com/users/mikemcquaid/received_events","type":"User","site_admin":true},"body":"Can a test be added to do something more substantial than e.g. `--version` or `--help`? See `cmake.rb` for an example of an application formula with a good test and `tinyxml2.rb` for an example of a library formula with a good test. Thanks!","created_at":"2015-10-26T08:03:42Z","updated_at":"2015-10-26T08:03:42Z","html_url":"https://github.com/Homebrew/homebrew/pull/45329#discussion_r42966610","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/45329","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/42966610"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/45329#discussion_r42966610"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/45329"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/45329","id":48710380,"html_url":"https://github.com/Homebrew/homebrew/pull/45329","diff_url":"https://github.com/Homebrew/homebrew/pull/45329.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/45329.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/45329","number":45329,"state":"open","locked":false,"title":"Add formula for git-num 1.0.0","user":{"login":"cades","id":1214497,"avatar_url":"https://avatars.githubusercontent.com/u/1214497?v=3","gravatar_id":"","url":"https://api.github.com/users/cades","html_url":"https://github.com/cades","followers_url":"https://api.github.com/users/cades/followers","following_url":"https://api.github.com/users/cades/following{/other_user}","gists_url":"https://api.github.com/users/cades/gists{/gist_id}","starred_url":"https://api.github.com/users/cades/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cades/subscriptions","organizations_url":"https://api.github.com/users/cades/orgs","repos_url":"https://api.github.com/users/cades/repos","events_url":"https://api.github.com/users/cades/events{/privacy}","received_events_url":"https://api.github.com/users/cades/received_events","type":"User","site_admin":false},"body":"This PR add a formula for git-num, a git utility that simplify file selection.\r\n","created_at":"2015-10-26T08:02:13Z","updated_at":"2015-10-26T08:03:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cd0b65bc225f87bd9bbbfaf42c5467aa8cb80c63","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/45329/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/45329/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/45329/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/255adf17940309566d0bd319bb9f86bac939573e","head":{"label":"cades:git-num","ref":"git-num","sha":"255adf17940309566d0bd319bb9f86bac939573e","user":{"login":"cades","id":1214497,"avatar_url":"https://avatars.githubusercontent.com/u/1214497?v=3","gravatar_id":"","url":"https://api.github.com/users/cades","html_url":"https://github.com/cades","followers_url":"https://api.github.com/users/cades/followers","following_url":"https://api.github.com/users/cades/following{/other_user}","gists_url":"https://api.github.com/users/cades/gists{/gist_id}","starred_url":"https://api.github.com/users/cades/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cades/subscriptions","organizations_url":"https://api.github.com/users/cades/orgs","repos_url":"https://api.github.com/users/cades/repos","events_url":"https://api.github.com/users/cades/events{/privacy}","received_events_url":"https://api.github.com/users/cades/received_events","type":"User","site_admin":false},"repo":{"id":44953420,"name":"homebrew","full_name":"cades/homebrew","owner":{"login":"cades","id":1214497,"avatar_url":"https://avatars.githubusercontent.com/u/1214497?v=3","gravatar_id":"","url":"https://api.github.com/users/cades","html_url":"https://github.com/cades","followers_url":"https://api.github.com/users/cades/followers","following_url":"https://api.github.com/users/cades/following{/other_user}","gists_url":"https://api.github.com/users/cades/gists{/gist_id}","starred_url":"https://api.github.com/users/cades/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cades/subscriptions","organizations_url":"https://api.github.com/users/cades/orgs","repos_url":"https://api.github.com/users/cades/repos","events_url":"https://api.github.com/users/cades/events{/privacy}","received_events_url":"https://api.github.com/users/cades/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cades/homebrew","description":":beer: The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/cades/homebrew","forks_url":"https://api.github.com/repos/cades/homebrew/forks","keys_url":"https://api.github.com/repos/cades/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cades/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cades/homebrew/teams","hooks_url":"https://api.github.com/repos/cades/homebrew/hooks","issue_events_url":"https://api.github.com/repos/cades/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/cades/homebrew/events","assignees_url":"https://api.github.com/repos/cades/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/cades/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/cades/homebrew/tags","blobs_url":"https://api.github.com/repos/cades/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cades/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cades/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/cades/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cades/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/cades/homebrew/languages","stargazers_url":"https://api.github.com/repos/cades/homebrew/stargazers","contributors_url":"https://api.github.com/repos/cades/homebrew/contributors","subscribers_url":"https://api.github.com/repos/cades/homebrew/subscribers","subscription_url":"https://api.github.com/repos/cades/homebrew/subscription","commits_url":"https://api.github.com/repos/cades/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/cades/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/cades/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/cades/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/cades/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/cades/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cades/homebrew/merges","archive_url":"https://api.github.com/repos/cades/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cades/homebrew/downloads","issues_url":"https://api.github.com/repos/cades/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/cades/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/cades/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/cades/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cades/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/cades/homebrew/releases{/id}","created_at":"2015-10-26T07:46:45Z","updated_at":"2015-10-26T07:47:13Z","pushed_at":"2015-10-26T08:01:50Z","git_url":"git://github.com/cades/homebrew.git","ssh_url":"git@github.com:cades/homebrew.git","clone_url":"https://github.com/cades/homebrew.git","svn_url":"https://github.com/cades/homebrew","homepage":"http://brew.sh","size":1666974,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"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":"Homebrew:master","ref":"master","sha":"dddf72f6444d8fa0e217d3e2e884dc7db9aa2428","user":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"repo":{"id":206084,"name":"homebrew","full_name":"Homebrew/homebrew","owner":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Homebrew/homebrew","description":":beer: The missing package manager for OS X.","fork":false,"url":"https://api.github.com/repos/Homebrew/homebrew","forks_url":"https://api.github.com/repos/Homebrew/homebrew/forks","keys_url":"https://api.github.com/repos/Homebrew/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/homebrew/teams","hooks_url":"https://api.github.com/repos/Homebrew/homebrew/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/homebrew/events","assignees_url":"https://api.github.com/repos/Homebrew/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/homebrew/tags","blobs_url":"https://api.github.com/repos/Homebrew/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/homebrew/languages","stargazers_url":"https://api.github.com/repos/Homebrew/homebrew/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/homebrew/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/homebrew/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/homebrew/subscription","commits_url":"https://api.github.com/repos/Homebrew/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/Homebrew/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/homebrew/merges","archive_url":"https://api.github.com/repos/Homebrew/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/homebrew/downloads","issues_url":"https://api.github.com/repos/Homebrew/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/homebrew/releases{/id}","created_at":"2009-05-20T19:38:37Z","updated_at":"2015-10-26T07:03:10Z","pushed_at":"2015-10-26T08:02:14Z","git_url":"git://github.com/Homebrew/homebrew.git","ssh_url":"git@github.com:Homebrew/homebrew.git","clone_url":"https://github.com/Homebrew/homebrew.git","svn_url":"https://github.com/Homebrew/homebrew","homepage":"http://brew.sh","size":1666974,"stargazers_count":26735,"watchers_count":26735,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":13235,"mirror_url":null,"open_issues_count":505,"forks":13235,"open_issues":505,"watchers":26735,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/45329"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/45329"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/45329"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/45329/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/45329/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/45329/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/255adf17940309566d0bd319bb9f86bac939573e"}}}}