GitHub PullRequestReviewCommentEvent at 2014-06-11 04:43:49
Repository: eol
Actor: houndci
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/EOL/eol/pulls/comments/13633641","id":13633641,"diff_hunk":"@@ -0,0 +1,37 @@\n+rails_env = ENV['RAILS_ENV'] || 'production'\n+worker_processes 2\n+working_directory \"/var/www/eolvv/\"\n+ \n+# This loads the application in the master process before forking worker processes\n+# Read more about it here: # http://unicorn.bogomips.org/Unicorn/Configurator.html\n+preload_app true\n+timeout 60 \n+\n+# This is where we specify the socket.\n+# We will point the upstream Nginx module to this socket later on\n+# 下面这个地址要与nginx.conf的upstream相对应\n+listen \"/var/www/eolvv/tmp/sockets/unicorn.sock\", :backlog => 64 \n+pid \"/var/www/eolvv/tmp/pids/unicorn.pid\" \n+\n+# Set the path of the log files inside the log folder of the eol\n+stderr_path \"/var/www/eolvv/log/unicorn.stderr.log\"\n+stdout_path \"/var/www/eolvv/log/unicorn.stdout.log\"\n+# http://www.rubyenterpriseedition.com/faq.html#adapt_apps_for_cow  \n+    if GC.respond_to?(:copy_on_write_friendly=)  \n+      GC.copy_on_write_friendly = true  \n+    end \n+before_fork do |server, worker|\n+# This option works in together with preload_app true setting\n+# What is does is prevent the master process from holding\n+# the database connection\n+  defined?(ActiveRecord::Base) and\n+    ActiveRecord::Base.connection.disconnect!\n+end\n+ \n+after_fork do |server, worker|\n+# Here we are establishing the connection after forking worker\n+# processes\n+  defined?(ActiveRecord::Base) and","path":"config/unicorn.rb","position":34,"original_position":34,"commit_id":"6967aafbc9cf5a30287898f776d9dc354a786f42","original_commit_id":"6967aafbc9cf5a30287898f776d9dc354a786f42","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?","gravatar_id":"38d9cefd9971a05bf447f07c6cd332cc","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Use `&&` instead of `and`.","created_at":"2014-06-11T04:43:49Z","updated_at":"2014-06-11T04:43:49Z","html_url":"https://github.com/EOL/eol/pull/103#discussion_r13633641","pull_request_url":"https://api.github.com/repos/EOL/eol/pulls/103","_links":{"self":{"href":"https://api.github.com/repos/EOL/eol/pulls/comments/13633641"},"html":{"href":"https://github.com/EOL/eol/pull/103#discussion_r13633641"},"pull_request":{"href":"https://api.github.com/repos/EOL/eol/pulls/103"}}},"pull_request":{"url":"https://api.github.com/repos/EOL/eol/pulls/103","id":16979248,"html_url":"https://github.com/EOL/eol/pull/103","diff_url":"https://github.com/EOL/eol/pull/103.diff","patch_url":"https://github.com/EOL/eol/pull/103.patch","issue_url":"https://api.github.com/repos/EOL/eol/issues/103","number":103,"state":"open","title":"clean up the offending code","user":{"login":"DanielZhangQingLong","id":5125999,"avatar_url":"https://avatars.githubusercontent.com/u/5125999?","gravatar_id":"b06d555115805ebffd97d75a117db194","url":"https://api.github.com/users/DanielZhangQingLong","html_url":"https://github.com/DanielZhangQingLong","followers_url":"https://api.github.com/users/DanielZhangQingLong/followers","following_url":"https://api.github.com/users/DanielZhangQingLong/following{/other_user}","gists_url":"https://api.github.com/users/DanielZhangQingLong/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielZhangQingLong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielZhangQingLong/subscriptions","organizations_url":"https://api.github.com/users/DanielZhangQingLong/orgs","repos_url":"https://api.github.com/users/DanielZhangQingLong/repos","events_url":"https://api.github.com/users/DanielZhangQingLong/events{/privacy}","received_events_url":"https://api.github.com/users/DanielZhangQingLong/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-06-11T04:43:37Z","updated_at":"2014-06-11T04:43:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/EOL/eol/pulls/103/commits","review_comments_url":"https://api.github.com/repos/EOL/eol/pulls/103/comments","review_comment_url":"https://api.github.com/repos/EOL/eol/pulls/comments/{number}","comments_url":"https://api.github.com/repos/EOL/eol/issues/103/comments","statuses_url":"https://api.github.com/repos/EOL/eol/statuses/6967aafbc9cf5a30287898f776d9dc354a786f42","head":{"label":"DanielZhangQingLong:master","ref":"master","sha":"6967aafbc9cf5a30287898f776d9dc354a786f42","user":{"login":"DanielZhangQingLong","id":5125999,"avatar_url":"https://avatars.githubusercontent.com/u/5125999?","gravatar_id":"b06d555115805ebffd97d75a117db194","url":"https://api.github.com/users/DanielZhangQingLong","html_url":"https://github.com/DanielZhangQingLong","followers_url":"https://api.github.com/users/DanielZhangQingLong/followers","following_url":"https://api.github.com/users/DanielZhangQingLong/following{/other_user}","gists_url":"https://api.github.com/users/DanielZhangQingLong/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielZhangQingLong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielZhangQingLong/subscriptions","organizations_url":"https://api.github.com/users/DanielZhangQingLong/orgs","repos_url":"https://api.github.com/users/DanielZhangQingLong/repos","events_url":"https://api.github.com/users/DanielZhangQingLong/events{/privacy}","received_events_url":"https://api.github.com/users/DanielZhangQingLong/received_events","type":"User","site_admin":false},"repo":{"id":20466272,"name":"eol","full_name":"DanielZhangQingLong/eol","owner":{"login":"DanielZhangQingLong","id":5125999,"avatar_url":"https://avatars.githubusercontent.com/u/5125999?","gravatar_id":"b06d555115805ebffd97d75a117db194","url":"https://api.github.com/users/DanielZhangQingLong","html_url":"https://github.com/DanielZhangQingLong","followers_url":"https://api.github.com/users/DanielZhangQingLong/followers","following_url":"https://api.github.com/users/DanielZhangQingLong/following{/other_user}","gists_url":"https://api.github.com/users/DanielZhangQingLong/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielZhangQingLong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielZhangQingLong/subscriptions","organizations_url":"https://api.github.com/users/DanielZhangQingLong/orgs","repos_url":"https://api.github.com/users/DanielZhangQingLong/repos","events_url":"https://api.github.com/users/DanielZhangQingLong/events{/privacy}","received_events_url":"https://api.github.com/users/DanielZhangQingLong/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DanielZhangQingLong/eol","description":"Encyclopedia of Life","fork":true,"url":"https://api.github.com/repos/DanielZhangQingLong/eol","forks_url":"https://api.github.com/repos/DanielZhangQingLong/eol/forks","keys_url":"https://api.github.com/repos/DanielZhangQingLong/eol/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DanielZhangQingLong/eol/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DanielZhangQingLong/eol/teams","hooks_url":"https://api.github.com/repos/DanielZhangQingLong/eol/hooks","issue_events_url":"https://api.github.com/repos/DanielZhangQingLong/eol/issues/events{/number}","events_url":"https://api.github.com/repos/DanielZhangQingLong/eol/events","assignees_url":"https://api.github.com/repos/DanielZhangQingLong/eol/assignees{/user}","branches_url":"https://api.github.com/repos/DanielZhangQingLong/eol/branches{/branch}","tags_url":"https://api.github.com/repos/DanielZhangQingLong/eol/tags","blobs_url":"https://api.github.com/repos/DanielZhangQingLong/eol/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DanielZhangQingLong/eol/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DanielZhangQingLong/eol/git/refs{/sha}","trees_url":"https://api.github.com/repos/DanielZhangQingLong/eol/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DanielZhangQingLong/eol/statuses/{sha}","languages_url":"https://api.github.com/repos/DanielZhangQingLong/eol/languages","stargazers_url":"https://api.github.com/repos/DanielZhangQingLong/eol/stargazers","contributors_url":"https://api.github.com/repos/DanielZhangQingLong/eol/contributors","subscribers_url":"https://api.github.com/repos/DanielZhangQingLong/eol/subscribers","subscription_url":"https://api.github.com/repos/DanielZhangQingLong/eol/subscription","commits_url":"https://api.github.com/repos/DanielZhangQingLong/eol/commits{/sha}","git_commits_url":"https://api.github.com/repos/DanielZhangQingLong/eol/git/commits{/sha}","comments_url":"https://api.github.com/repos/DanielZhangQingLong/eol/comments{/number}","issue_comment_url":"https://api.github.com/repos/DanielZhangQingLong/eol/issues/comments/{number}","contents_url":"https://api.github.com/repos/DanielZhangQingLong/eol/contents/{+path}","compare_url":"https://api.github.com/repos/DanielZhangQingLong/eol/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DanielZhangQingLong/eol/merges","archive_url":"https://api.github.com/repos/DanielZhangQingLong/eol/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DanielZhangQingLong/eol/downloads","issues_url":"https://api.github.com/repos/DanielZhangQingLong/eol/issues{/number}","pulls_url":"https://api.github.com/repos/DanielZhangQingLong/eol/pulls{/number}","milestones_url":"https://api.github.com/repos/DanielZhangQingLong/eol/milestones{/number}","notifications_url":"https://api.github.com/repos/DanielZhangQingLong/eol/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DanielZhangQingLong/eol/labels{/name}","releases_url":"https://api.github.com/repos/DanielZhangQingLong/eol/releases{/id}","created_at":"2014-06-04T01:39:01Z","updated_at":"2014-06-11T04:43:37Z","pushed_at":"2014-06-11T04:41:24Z","git_url":"git://github.com/DanielZhangQingLong/eol.git","ssh_url":"git@github.com:DanielZhangQingLong/eol.git","clone_url":"https://github.com/DanielZhangQingLong/eol.git","svn_url":"https://github.com/DanielZhangQingLong/eol","homepage":"http://eol.org","size":168942,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"EOL:master","ref":"master","sha":"ce31316c73349eec8292c4a388942e556f776330","user":{"login":"EOL","id":354193,"avatar_url":"https://avatars.githubusercontent.com/u/354193?","gravatar_id":"cfa85b329be9d2655d8e45cd094d2974","url":"https://api.github.com/users/EOL","html_url":"https://github.com/EOL","followers_url":"https://api.github.com/users/EOL/followers","following_url":"https://api.github.com/users/EOL/following{/other_user}","gists_url":"https://api.github.com/users/EOL/gists{/gist_id}","starred_url":"https://api.github.com/users/EOL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EOL/subscriptions","organizations_url":"https://api.github.com/users/EOL/orgs","repos_url":"https://api.github.com/users/EOL/repos","events_url":"https://api.github.com/users/EOL/events{/privacy}","received_events_url":"https://api.github.com/users/EOL/received_events","type":"Organization","site_admin":false},"repo":{"id":964174,"name":"eol","full_name":"EOL/eol","owner":{"login":"EOL","id":354193,"avatar_url":"https://avatars.githubusercontent.com/u/354193?","gravatar_id":"cfa85b329be9d2655d8e45cd094d2974","url":"https://api.github.com/users/EOL","html_url":"https://github.com/EOL","followers_url":"https://api.github.com/users/EOL/followers","following_url":"https://api.github.com/users/EOL/following{/other_user}","gists_url":"https://api.github.com/users/EOL/gists{/gist_id}","starred_url":"https://api.github.com/users/EOL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EOL/subscriptions","organizations_url":"https://api.github.com/users/EOL/orgs","repos_url":"https://api.github.com/users/EOL/repos","events_url":"https://api.github.com/users/EOL/events{/privacy}","received_events_url":"https://api.github.com/users/EOL/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EOL/eol","description":"Encyclopedia of Life","fork":false,"url":"https://api.github.com/repos/EOL/eol","forks_url":"https://api.github.com/repos/EOL/eol/forks","keys_url":"https://api.github.com/repos/EOL/eol/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EOL/eol/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EOL/eol/teams","hooks_url":"https://api.github.com/repos/EOL/eol/hooks","issue_events_url":"https://api.github.com/repos/EOL/eol/issues/events{/number}","events_url":"https://api.github.com/repos/EOL/eol/events","assignees_url":"https://api.github.com/repos/EOL/eol/assignees{/user}","branches_url":"https://api.github.com/repos/EOL/eol/branches{/branch}","tags_url":"https://api.github.com/repos/EOL/eol/tags","blobs_url":"https://api.github.com/repos/EOL/eol/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EOL/eol/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EOL/eol/git/refs{/sha}","trees_url":"https://api.github.com/repos/EOL/eol/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EOL/eol/statuses/{sha}","languages_url":"https://api.github.com/repos/EOL/eol/languages","stargazers_url":"https://api.github.com/repos/EOL/eol/stargazers","contributors_url":"https://api.github.com/repos/EOL/eol/contributors","subscribers_url":"https://api.github.com/repos/EOL/eol/subscribers","subscription_url":"https://api.github.com/repos/EOL/eol/subscription","commits_url":"https://api.github.com/repos/EOL/eol/commits{/sha}","git_commits_url":"https://api.github.com/repos/EOL/eol/git/commits{/sha}","comments_url":"https://api.github.com/repos/EOL/eol/comments{/number}","issue_comment_url":"https://api.github.com/repos/EOL/eol/issues/comments/{number}","contents_url":"https://api.github.com/repos/EOL/eol/contents/{+path}","compare_url":"https://api.github.com/repos/EOL/eol/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EOL/eol/merges","archive_url":"https://api.github.com/repos/EOL/eol/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EOL/eol/downloads","issues_url":"https://api.github.com/repos/EOL/eol/issues{/number}","pulls_url":"https://api.github.com/repos/EOL/eol/pulls{/number}","milestones_url":"https://api.github.com/repos/EOL/eol/milestones{/number}","notifications_url":"https://api.github.com/repos/EOL/eol/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EOL/eol/labels{/name}","releases_url":"https://api.github.com/repos/EOL/eol/releases{/id}","created_at":"2010-10-05T17:23:09Z","updated_at":"2014-06-09T19:37:22Z","pushed_at":"2014-06-09T19:37:22Z","git_url":"git://github.com/EOL/eol.git","ssh_url":"git@github.com:EOL/eol.git","clone_url":"https://github.com/EOL/eol.git","svn_url":"https://github.com/EOL/eol","homepage":"http://eol.org","size":176637,"stargazers_count":32,"watchers_count":32,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":8,"mirror_url":null,"open_issues_count":2,"forks":8,"open_issues":2,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EOL/eol/pulls/103"},"html":{"href":"https://github.com/EOL/eol/pull/103"},"issue":{"href":"https://api.github.com/repos/EOL/eol/issues/103"},"comments":{"href":"https://api.github.com/repos/EOL/eol/issues/103/comments"},"review_comments":{"href":"https://api.github.com/repos/EOL/eol/pulls/103/comments"},"review_comment":{"href":"https://api.github.com/repos/EOL/eol/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/EOL/eol/pulls/103/commits"},"statuses":{"href":"https://api.github.com/repos/EOL/eol/statuses/6967aafbc9cf5a30287898f776d9dc354a786f42"}}}}