{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/brew/pulls/comments/68776018","id":68776018,"diff_hunk":"@@ -0,0 +1,46 @@\n+setup-ruby-path() {\n+  local HOMEBREW_VENDOR_RUBY_OPT;\n+  local HOMEBREW_VENDOR_RUBY_PATH;","path":"Library/Homebrew/utils/ruby.sh","position":3,"original_position":3,"commit_id":"b37d43e2ed9cda71d818da012c0e39133447555c","original_commit_id":"b37d43e2ed9cda71d818da012c0e39133447555c","user":{"login":"UniqMartin","id":11892150,"avatar_url":"https://avatars.githubusercontent.com/u/11892150?v=3","gravatar_id":"","url":"https://api.github.com/users/UniqMartin","html_url":"https://github.com/UniqMartin","followers_url":"https://api.github.com/users/UniqMartin/followers","following_url":"https://api.github.com/users/UniqMartin/following{/other_user}","gists_url":"https://api.github.com/users/UniqMartin/gists{/gist_id}","starred_url":"https://api.github.com/users/UniqMartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UniqMartin/subscriptions","organizations_url":"https://api.github.com/users/UniqMartin/orgs","repos_url":"https://api.github.com/users/UniqMartin/repos","events_url":"https://api.github.com/users/UniqMartin/events{/privacy}","received_events_url":"https://api.github.com/users/UniqMartin/received_events","type":"User","site_admin":false},"body":"The semicolons are unnecessary and we mostly try to use lowercase names for local variables to distinguish them from global variables (all caps) and exported variables (all caps and with a `HOMEBREW_` prefix).","created_at":"2016-06-28T15:08:53Z","updated_at":"2016-06-28T15:08:53Z","html_url":"https://github.com/Homebrew/brew/pull/404#discussion_r68776018","pull_request_url":"https://api.github.com/repos/Homebrew/brew/pulls/404","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/brew/pulls/comments/68776018"},"html":{"href":"https://github.com/Homebrew/brew/pull/404#discussion_r68776018"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/brew/pulls/404"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/brew/pulls/404","id":75317941,"html_url":"https://github.com/Homebrew/brew/pull/404","diff_url":"https://github.com/Homebrew/brew/pull/404.diff","patch_url":"https://github.com/Homebrew/brew/pull/404.patch","issue_url":"https://api.github.com/repos/Homebrew/brew/issues/404","number":404,"state":"open","locked":false,"title":"vendor ruby/git","user":{"login":"xu-cheng","id":3105373,"avatar_url":"https://avatars.githubusercontent.com/u/3105373?v=3","gravatar_id":"","url":"https://api.github.com/users/xu-cheng","html_url":"https://github.com/xu-cheng","followers_url":"https://api.github.com/users/xu-cheng/followers","following_url":"https://api.github.com/users/xu-cheng/following{/other_user}","gists_url":"https://api.github.com/users/xu-cheng/gists{/gist_id}","starred_url":"https://api.github.com/users/xu-cheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xu-cheng/subscriptions","organizations_url":"https://api.github.com/users/xu-cheng/orgs","repos_url":"https://api.github.com/users/xu-cheng/repos","events_url":"https://api.github.com/users/xu-cheng/events{/privacy}","received_events_url":"https://api.github.com/users/xu-cheng/received_events","type":"User","site_admin":false},"body":"* Add `install-vendor` command to install vendor ruby/git\r\n* The vendor Ruby/Git will be put inside\r\n  `Library/Homebrew/vendor/{ruby,git}/<version>`, with a symlink\r\n  `Library/Homebrew/vendor/{ruby,git}/opt` pointed to it.\r\n  In addition, a `Library/Homebrew/vendor/{ruby-version,git-version}` will\r\n  track the latest version of vendor binaries.\r\n* It is **important** to notice that for most of users they will continue to use system ruby/git. vendor version is only used for old systems.\r\n* add `--homebrew=fail-on-old-vendor-version` flag for `ENV/scm/git` to help auto detect outdated vendor version.\r\n* set minimal git version to 1.8, which supports `-c` flag during `git clone`.\r\n* current vendored ruby/git is for test purpose only.","created_at":"2016-06-27T14:11:56Z","updated_at":"2016-06-28T15:08:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"08f895778a300c3be6293681b7f650a03b8850d0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/brew/pulls/404/commits","review_comments_url":"https://api.github.com/repos/Homebrew/brew/pulls/404/comments","review_comment_url":"https://api.github.com/repos/Homebrew/brew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/brew/issues/404/comments","statuses_url":"https://api.github.com/repos/Homebrew/brew/statuses/b37d43e2ed9cda71d818da012c0e39133447555c","head":{"label":"xu-cheng:vendor","ref":"vendor","sha":"b37d43e2ed9cda71d818da012c0e39133447555c","user":{"login":"xu-cheng","id":3105373,"avatar_url":"https://avatars.githubusercontent.com/u/3105373?v=3","gravatar_id":"","url":"https://api.github.com/users/xu-cheng","html_url":"https://github.com/xu-cheng","followers_url":"https://api.github.com/users/xu-cheng/followers","following_url":"https://api.github.com/users/xu-cheng/following{/other_user}","gists_url":"https://api.github.com/users/xu-cheng/gists{/gist_id}","starred_url":"https://api.github.com/users/xu-cheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xu-cheng/subscriptions","organizations_url":"https://api.github.com/users/xu-cheng/orgs","repos_url":"https://api.github.com/users/xu-cheng/repos","events_url":"https://api.github.com/users/xu-cheng/events{/privacy}","received_events_url":"https://api.github.com/users/xu-cheng/received_events","type":"User","site_admin":false},"repo":{"id":53240163,"name":"brew","full_name":"xu-cheng/brew","owner":{"login":"xu-cheng","id":3105373,"avatar_url":"https://avatars.githubusercontent.com/u/3105373?v=3","gravatar_id":"","url":"https://api.github.com/users/xu-cheng","html_url":"https://github.com/xu-cheng","followers_url":"https://api.github.com/users/xu-cheng/followers","following_url":"https://api.github.com/users/xu-cheng/following{/other_user}","gists_url":"https://api.github.com/users/xu-cheng/gists{/gist_id}","starred_url":"https://api.github.com/users/xu-cheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xu-cheng/subscriptions","organizations_url":"https://api.github.com/users/xu-cheng/orgs","repos_url":"https://api.github.com/users/xu-cheng/repos","events_url":"https://api.github.com/users/xu-cheng/events{/privacy}","received_events_url":"https://api.github.com/users/xu-cheng/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xu-cheng/brew","description":":beer: The missing package manager for OS X","fork":true,"url":"https://api.github.com/repos/xu-cheng/brew","forks_url":"https://api.github.com/repos/xu-cheng/brew/forks","keys_url":"https://api.github.com/repos/xu-cheng/brew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xu-cheng/brew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xu-cheng/brew/teams","hooks_url":"https://api.github.com/repos/xu-cheng/brew/hooks","issue_events_url":"https://api.github.com/repos/xu-cheng/brew/issues/events{/number}","events_url":"https://api.github.com/repos/xu-cheng/brew/events","assignees_url":"https://api.github.com/repos/xu-cheng/brew/assignees{/user}","branches_url":"https://api.github.com/repos/xu-cheng/brew/branches{/branch}","tags_url":"https://api.github.com/repos/xu-cheng/brew/tags","blobs_url":"https://api.github.com/repos/xu-cheng/brew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xu-cheng/brew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xu-cheng/brew/git/refs{/sha}","trees_url":"https://api.github.com/repos/xu-cheng/brew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xu-cheng/brew/statuses/{sha}","languages_url":"https://api.github.com/repos/xu-cheng/brew/languages","stargazers_url":"https://api.github.com/repos/xu-cheng/brew/stargazers","contributors_url":"https://api.github.com/repos/xu-cheng/brew/contributors","subscribers_url":"https://api.github.com/repos/xu-cheng/brew/subscribers","subscription_url":"https://api.github.com/repos/xu-cheng/brew/subscription","commits_url":"https://api.github.com/repos/xu-cheng/brew/commits{/sha}","git_commits_url":"https://api.github.com/repos/xu-cheng/brew/git/commits{/sha}","comments_url":"https://api.github.com/repos/xu-cheng/brew/comments{/number}","issue_comment_url":"https://api.github.com/repos/xu-cheng/brew/issues/comments{/number}","contents_url":"https://api.github.com/repos/xu-cheng/brew/contents/{+path}","compare_url":"https://api.github.com/repos/xu-cheng/brew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xu-cheng/brew/merges","archive_url":"https://api.github.com/repos/xu-cheng/brew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xu-cheng/brew/downloads","issues_url":"https://api.github.com/repos/xu-cheng/brew/issues{/number}","pulls_url":"https://api.github.com/repos/xu-cheng/brew/pulls{/number}","milestones_url":"https://api.github.com/repos/xu-cheng/brew/milestones{/number}","notifications_url":"https://api.github.com/repos/xu-cheng/brew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xu-cheng/brew/labels{/name}","releases_url":"https://api.github.com/repos/xu-cheng/brew/releases{/id}","deployments_url":"https://api.github.com/repos/xu-cheng/brew/deployments","created_at":"2016-03-06T05:54:41Z","updated_at":"2016-06-15T06:28:26Z","pushed_at":"2016-06-28T12:59:07Z","git_url":"git://github.com/xu-cheng/brew.git","ssh_url":"git@github.com:xu-cheng/brew.git","clone_url":"https://github.com/xu-cheng/brew.git","svn_url":"https://github.com/xu-cheng/brew","homepage":"","size":10113,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"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":0,"default_branch":"master"}},"base":{"label":"Homebrew:master","ref":"master","sha":"cab97cf4d782ce36762f0cd615ca59718f55b0d5","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":53238813,"name":"brew","full_name":"Homebrew/brew","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/brew","description":":beer: The missing package manager for OS X","fork":false,"url":"https://api.github.com/repos/Homebrew/brew","forks_url":"https://api.github.com/repos/Homebrew/brew/forks","keys_url":"https://api.github.com/repos/Homebrew/brew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/brew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/brew/teams","hooks_url":"https://api.github.com/repos/Homebrew/brew/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/brew/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/brew/events","assignees_url":"https://api.github.com/repos/Homebrew/brew/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/brew/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/brew/tags","blobs_url":"https://api.github.com/repos/Homebrew/brew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/brew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/brew/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/brew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/brew/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/brew/languages","stargazers_url":"https://api.github.com/repos/Homebrew/brew/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/brew/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/brew/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/brew/subscription","commits_url":"https://api.github.com/repos/Homebrew/brew/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/brew/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/brew/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/brew/issues/comments{/number}","contents_url":"https://api.github.com/repos/Homebrew/brew/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/brew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/brew/merges","archive_url":"https://api.github.com/repos/Homebrew/brew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/brew/downloads","issues_url":"https://api.github.com/repos/Homebrew/brew/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/brew/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/brew/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/brew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/brew/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/brew/releases{/id}","deployments_url":"https://api.github.com/repos/Homebrew/brew/deployments","created_at":"2016-03-06T05:08:38Z","updated_at":"2016-06-28T12:40:22Z","pushed_at":"2016-06-28T12:59:08Z","git_url":"git://github.com/Homebrew/brew.git","ssh_url":"git@github.com:Homebrew/brew.git","clone_url":"https://github.com/Homebrew/brew.git","svn_url":"https://github.com/Homebrew/brew","homepage":"http://brew.sh","size":10436,"stargazers_count":1724,"watchers_count":1724,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":502,"mirror_url":null,"open_issues_count":51,"forks":502,"open_issues":51,"watchers":1724,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/brew/pulls/404"},"html":{"href":"https://github.com/Homebrew/brew/pull/404"},"issue":{"href":"https://api.github.com/repos/Homebrew/brew/issues/404"},"comments":{"href":"https://api.github.com/repos/Homebrew/brew/issues/404/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/brew/pulls/404/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/brew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/brew/pulls/404/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/brew/statuses/b37d43e2ed9cda71d818da012c0e39133447555c"}}}}
{"actor":{"display_login":"UniqMartin"}}