{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/32886962","id":32886962,"diff_hunk":"@@ -0,0 +1,21 @@\n+class RedisLeveldb < Formula\n+  desc \"Redis-protocol compatible frontend to leveldb\"\n+  homepage \"https://github.com/KDr2/redis-leveldb\"\n+  url \"https://github.com/KDr2/redis-leveldb/archive/v1.4.tar.gz\"\n+  sha256 \"b34365ca5b788c47b116ea8f86a7a409b765440361b6c21a46161a66f631797c\"\n+  head \"https://github.com/KDr2/redis-leveldb.git\"\n+\n+  depends_on \"libev\"\n+  depends_on \"gmp\"\n+  depends_on \"leveldb\"\n+\n+  def install\n+    inreplace \"src/Makefile\", \"../vendor/libleveldb.a\", Formula[\"leveldb\"].lib+\"libleveldb.a\"\n+    system \"make\", \"LDFLAGS=-lsnappy -lgmp -lev\"","path":"Library/Formula/redis-leveldb.rb","position":null,"original_position":14,"commit_id":"784841ede8f3a0aa066d3b43602e44addade0120","original_commit_id":"dfb4d377a8ba932c02e458b13e51052c36472410","user":{"login":"DomT4","id":6998367,"avatar_url":"https://avatars.githubusercontent.com/u/6998367?v=3","gravatar_id":"","url":"https://api.github.com/users/DomT4","html_url":"https://github.com/DomT4","followers_url":"https://api.github.com/users/DomT4/followers","following_url":"https://api.github.com/users/DomT4/following{/other_user}","gists_url":"https://api.github.com/users/DomT4/gists{/gist_id}","starred_url":"https://api.github.com/users/DomT4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DomT4/subscriptions","organizations_url":"https://api.github.com/users/DomT4/orgs","repos_url":"https://api.github.com/users/DomT4/repos","events_url":"https://api.github.com/users/DomT4/events{/privacy}","received_events_url":"https://api.github.com/users/DomT4/received_events","type":"User","site_admin":false},"body":"Does `ENV.prepend \"LDFLAGS\", \"-lev\"` at the top of `def install` not work?","created_at":"2015-06-20T18:57:25Z","updated_at":"2015-06-20T18:57:25Z","html_url":"https://github.com/Homebrew/homebrew/pull/40926#discussion_r32886962","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/40926","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/32886962"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/40926#discussion_r32886962"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/40926"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/40926","id":38172208,"html_url":"https://github.com/Homebrew/homebrew/pull/40926","diff_url":"https://github.com/Homebrew/homebrew/pull/40926.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/40926.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/40926","number":40926,"state":"open","locked":false,"title":"redis-leveldb 1.4","user":{"login":"guoxiao","id":528318,"avatar_url":"https://avatars.githubusercontent.com/u/528318?v=3","gravatar_id":"","url":"https://api.github.com/users/guoxiao","html_url":"https://github.com/guoxiao","followers_url":"https://api.github.com/users/guoxiao/followers","following_url":"https://api.github.com/users/guoxiao/following{/other_user}","gists_url":"https://api.github.com/users/guoxiao/gists{/gist_id}","starred_url":"https://api.github.com/users/guoxiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guoxiao/subscriptions","organizations_url":"https://api.github.com/users/guoxiao/orgs","repos_url":"https://api.github.com/users/guoxiao/repos","events_url":"https://api.github.com/users/guoxiao/events{/privacy}","received_events_url":"https://api.github.com/users/guoxiao/received_events","type":"User","site_admin":false},"body":"moving from `homebrew/homebrew-headonly`","created_at":"2015-06-20T18:32:15Z","updated_at":"2015-06-20T18:57:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"902a91aad58d79ce194216b47c904a32835e9cea","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/40926/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/40926/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/40926/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/784841ede8f3a0aa066d3b43602e44addade0120","head":{"label":"guoxiao:redis-leveldb","ref":"redis-leveldb","sha":"784841ede8f3a0aa066d3b43602e44addade0120","user":{"login":"guoxiao","id":528318,"avatar_url":"https://avatars.githubusercontent.com/u/528318?v=3","gravatar_id":"","url":"https://api.github.com/users/guoxiao","html_url":"https://github.com/guoxiao","followers_url":"https://api.github.com/users/guoxiao/followers","following_url":"https://api.github.com/users/guoxiao/following{/other_user}","gists_url":"https://api.github.com/users/guoxiao/gists{/gist_id}","starred_url":"https://api.github.com/users/guoxiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guoxiao/subscriptions","organizations_url":"https://api.github.com/users/guoxiao/orgs","repos_url":"https://api.github.com/users/guoxiao/repos","events_url":"https://api.github.com/users/guoxiao/events{/privacy}","received_events_url":"https://api.github.com/users/guoxiao/received_events","type":"User","site_admin":false},"repo":{"id":26420646,"name":"homebrew","full_name":"guoxiao/homebrew","owner":{"login":"guoxiao","id":528318,"avatar_url":"https://avatars.githubusercontent.com/u/528318?v=3","gravatar_id":"","url":"https://api.github.com/users/guoxiao","html_url":"https://github.com/guoxiao","followers_url":"https://api.github.com/users/guoxiao/followers","following_url":"https://api.github.com/users/guoxiao/following{/other_user}","gists_url":"https://api.github.com/users/guoxiao/gists{/gist_id}","starred_url":"https://api.github.com/users/guoxiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guoxiao/subscriptions","organizations_url":"https://api.github.com/users/guoxiao/orgs","repos_url":"https://api.github.com/users/guoxiao/repos","events_url":"https://api.github.com/users/guoxiao/events{/privacy}","received_events_url":"https://api.github.com/users/guoxiao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/guoxiao/homebrew","description":"The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/guoxiao/homebrew","forks_url":"https://api.github.com/repos/guoxiao/homebrew/forks","keys_url":"https://api.github.com/repos/guoxiao/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guoxiao/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guoxiao/homebrew/teams","hooks_url":"https://api.github.com/repos/guoxiao/homebrew/hooks","issue_events_url":"https://api.github.com/repos/guoxiao/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/guoxiao/homebrew/events","assignees_url":"https://api.github.com/repos/guoxiao/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/guoxiao/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/guoxiao/homebrew/tags","blobs_url":"https://api.github.com/repos/guoxiao/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guoxiao/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guoxiao/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/guoxiao/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guoxiao/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/guoxiao/homebrew/languages","stargazers_url":"https://api.github.com/repos/guoxiao/homebrew/stargazers","contributors_url":"https://api.github.com/repos/guoxiao/homebrew/contributors","subscribers_url":"https://api.github.com/repos/guoxiao/homebrew/subscribers","subscription_url":"https://api.github.com/repos/guoxiao/homebrew/subscription","commits_url":"https://api.github.com/repos/guoxiao/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/guoxiao/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/guoxiao/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/guoxiao/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/guoxiao/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/guoxiao/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guoxiao/homebrew/merges","archive_url":"https://api.github.com/repos/guoxiao/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guoxiao/homebrew/downloads","issues_url":"https://api.github.com/repos/guoxiao/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/guoxiao/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/guoxiao/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/guoxiao/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guoxiao/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/guoxiao/homebrew/releases{/id}","created_at":"2014-11-10T04:16:29Z","updated_at":"2015-05-01T05:04:01Z","pushed_at":"2015-06-20T18:53:05Z","git_url":"git://github.com/guoxiao/homebrew.git","ssh_url":"git@github.com:guoxiao/homebrew.git","clone_url":"https://github.com/guoxiao/homebrew.git","svn_url":"https://github.com/guoxiao/homebrew","homepage":"http://brew.sh","size":47729,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":true,"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":"86edafeffbbbdd1378cbc573202f4ff923e8b927","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-06-20T18:12:40Z","pushed_at":"2015-06-20T18:57:07Z","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":1549717,"stargazers_count":23724,"watchers_count":23724,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":11896,"mirror_url":null,"open_issues_count":350,"forks":11896,"open_issues":350,"watchers":23724,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/40926"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/40926"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/40926"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/40926/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/40926/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/40926/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/784841ede8f3a0aa066d3b43602e44addade0120"}}}}