{"action":"created","comment":{"url":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/comments/54807920","id":54807920,"diff_hunk":"@@ -13,13 +13,28 @@\n   ActionMailer::Base.default_url_options[:host] = ENV['DOMAIN']\n end\n \n+def determineEnvironment\n+  environment = Rails.env\n+  if (environment == \"production\")\n+    \"production\"\n+  elsif (environment == \"test\")\n+    \"QA\"\n+  else\n+    \"development\"\n+  end\n+end\n+\n unless ENV['EMAIL_OVERRIDE'].nil?\n     class OverrideMailRecipient\n         def self.delivering_email(mail)\n+            subject = mail.subject\n+            environment = determineEnvironment()","path":"config/initializers/setup_mail.rb","position":19,"original_position":19,"commit_id":"73545761c14dfae4cfc8979d82b3592b8ad0160f","original_commit_id":"73545761c14dfae4cfc8979d82b3592b8ad0160f","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Do not use parentheses for method calls with no arguments.","created_at":"2016-03-02T22:59:18Z","updated_at":"2016-03-02T22:59:18Z","html_url":"https://github.com/ReviewSite/ReviewSite/pull/234#discussion_r54807920","pull_request_url":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/234","_links":{"self":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/comments/54807920"},"html":{"href":"https://github.com/ReviewSite/ReviewSite/pull/234#discussion_r54807920"},"pull_request":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/234"}}},"pull_request":{"url":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/234","id":61482470,"html_url":"https://github.com/ReviewSite/ReviewSite/pull/234","diff_url":"https://github.com/ReviewSite/ReviewSite/pull/234.diff","patch_url":"https://github.com/ReviewSite/ReviewSite/pull/234.patch","issue_url":"https://api.github.com/repos/ReviewSite/ReviewSite/issues/234","number":234,"state":"closed","locked":false,"title":"Brandon - change message formatting for errors.","user":{"login":"bsmith3541","id":1075804,"avatar_url":"https://avatars.githubusercontent.com/u/1075804?v=3","gravatar_id":"","url":"https://api.github.com/users/bsmith3541","html_url":"https://github.com/bsmith3541","followers_url":"https://api.github.com/users/bsmith3541/followers","following_url":"https://api.github.com/users/bsmith3541/following{/other_user}","gists_url":"https://api.github.com/users/bsmith3541/gists{/gist_id}","starred_url":"https://api.github.com/users/bsmith3541/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsmith3541/subscriptions","organizations_url":"https://api.github.com/users/bsmith3541/orgs","repos_url":"https://api.github.com/users/bsmith3541/repos","events_url":"https://api.github.com/users/bsmith3541/events{/privacy}","received_events_url":"https://api.github.com/users/bsmith3541/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-02T22:59:12Z","updated_at":"2016-03-02T22:59:18Z","closed_at":"2016-03-02T22:59:18Z","merged_at":"2016-03-02T22:59:18Z","merge_commit_sha":"b92ee886f7684bc805eace36562c6fe6133f133c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/234/commits","review_comments_url":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/234/comments","review_comment_url":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ReviewSite/ReviewSite/issues/234/comments","statuses_url":"https://api.github.com/repos/ReviewSite/ReviewSite/statuses/73545761c14dfae4cfc8979d82b3592b8ad0160f","head":{"label":"bsmith3541:updateErrorEmail","ref":"updateErrorEmail","sha":"73545761c14dfae4cfc8979d82b3592b8ad0160f","user":{"login":"bsmith3541","id":1075804,"avatar_url":"https://avatars.githubusercontent.com/u/1075804?v=3","gravatar_id":"","url":"https://api.github.com/users/bsmith3541","html_url":"https://github.com/bsmith3541","followers_url":"https://api.github.com/users/bsmith3541/followers","following_url":"https://api.github.com/users/bsmith3541/following{/other_user}","gists_url":"https://api.github.com/users/bsmith3541/gists{/gist_id}","starred_url":"https://api.github.com/users/bsmith3541/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsmith3541/subscriptions","organizations_url":"https://api.github.com/users/bsmith3541/orgs","repos_url":"https://api.github.com/users/bsmith3541/repos","events_url":"https://api.github.com/users/bsmith3541/events{/privacy}","received_events_url":"https://api.github.com/users/bsmith3541/received_events","type":"User","site_admin":false},"repo":{"id":24102500,"name":"ReviewSite","full_name":"bsmith3541/ReviewSite","owner":{"login":"bsmith3541","id":1075804,"avatar_url":"https://avatars.githubusercontent.com/u/1075804?v=3","gravatar_id":"","url":"https://api.github.com/users/bsmith3541","html_url":"https://github.com/bsmith3541","followers_url":"https://api.github.com/users/bsmith3541/followers","following_url":"https://api.github.com/users/bsmith3541/following{/other_user}","gists_url":"https://api.github.com/users/bsmith3541/gists{/gist_id}","starred_url":"https://api.github.com/users/bsmith3541/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsmith3541/subscriptions","organizations_url":"https://api.github.com/users/bsmith3541/orgs","repos_url":"https://api.github.com/users/bsmith3541/repos","events_url":"https://api.github.com/users/bsmith3541/events{/privacy}","received_events_url":"https://api.github.com/users/bsmith3541/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bsmith3541/ReviewSite","description":"Rails app to track reviews for Associate Consultants","fork":true,"url":"https://api.github.com/repos/bsmith3541/ReviewSite","forks_url":"https://api.github.com/repos/bsmith3541/ReviewSite/forks","keys_url":"https://api.github.com/repos/bsmith3541/ReviewSite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bsmith3541/ReviewSite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bsmith3541/ReviewSite/teams","hooks_url":"https://api.github.com/repos/bsmith3541/ReviewSite/hooks","issue_events_url":"https://api.github.com/repos/bsmith3541/ReviewSite/issues/events{/number}","events_url":"https://api.github.com/repos/bsmith3541/ReviewSite/events","assignees_url":"https://api.github.com/repos/bsmith3541/ReviewSite/assignees{/user}","branches_url":"https://api.github.com/repos/bsmith3541/ReviewSite/branches{/branch}","tags_url":"https://api.github.com/repos/bsmith3541/ReviewSite/tags","blobs_url":"https://api.github.com/repos/bsmith3541/ReviewSite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bsmith3541/ReviewSite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bsmith3541/ReviewSite/git/refs{/sha}","trees_url":"https://api.github.com/repos/bsmith3541/ReviewSite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bsmith3541/ReviewSite/statuses/{sha}","languages_url":"https://api.github.com/repos/bsmith3541/ReviewSite/languages","stargazers_url":"https://api.github.com/repos/bsmith3541/ReviewSite/stargazers","contributors_url":"https://api.github.com/repos/bsmith3541/ReviewSite/contributors","subscribers_url":"https://api.github.com/repos/bsmith3541/ReviewSite/subscribers","subscription_url":"https://api.github.com/repos/bsmith3541/ReviewSite/subscription","commits_url":"https://api.github.com/repos/bsmith3541/ReviewSite/commits{/sha}","git_commits_url":"https://api.github.com/repos/bsmith3541/ReviewSite/git/commits{/sha}","comments_url":"https://api.github.com/repos/bsmith3541/ReviewSite/comments{/number}","issue_comment_url":"https://api.github.com/repos/bsmith3541/ReviewSite/issues/comments{/number}","contents_url":"https://api.github.com/repos/bsmith3541/ReviewSite/contents/{+path}","compare_url":"https://api.github.com/repos/bsmith3541/ReviewSite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bsmith3541/ReviewSite/merges","archive_url":"https://api.github.com/repos/bsmith3541/ReviewSite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bsmith3541/ReviewSite/downloads","issues_url":"https://api.github.com/repos/bsmith3541/ReviewSite/issues{/number}","pulls_url":"https://api.github.com/repos/bsmith3541/ReviewSite/pulls{/number}","milestones_url":"https://api.github.com/repos/bsmith3541/ReviewSite/milestones{/number}","notifications_url":"https://api.github.com/repos/bsmith3541/ReviewSite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bsmith3541/ReviewSite/labels{/name}","releases_url":"https://api.github.com/repos/bsmith3541/ReviewSite/releases{/id}","deployments_url":"https://api.github.com/repos/bsmith3541/ReviewSite/deployments","created_at":"2014-09-16T14:16:25Z","updated_at":"2016-01-26T22:55:48Z","pushed_at":"2016-03-02T22:58:30Z","git_url":"git://github.com/bsmith3541/ReviewSite.git","ssh_url":"git@github.com:bsmith3541/ReviewSite.git","clone_url":"https://github.com/bsmith3541/ReviewSite.git","svn_url":"https://github.com/bsmith3541/ReviewSite","homepage":"","size":13614,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"ReviewSite:master","ref":"master","sha":"e1c4cf37b4979484a163f4acce43d077cbb67117","user":{"login":"ReviewSite","id":3036902,"avatar_url":"https://avatars.githubusercontent.com/u/3036902?v=3","gravatar_id":"","url":"https://api.github.com/users/ReviewSite","html_url":"https://github.com/ReviewSite","followers_url":"https://api.github.com/users/ReviewSite/followers","following_url":"https://api.github.com/users/ReviewSite/following{/other_user}","gists_url":"https://api.github.com/users/ReviewSite/gists{/gist_id}","starred_url":"https://api.github.com/users/ReviewSite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReviewSite/subscriptions","organizations_url":"https://api.github.com/users/ReviewSite/orgs","repos_url":"https://api.github.com/users/ReviewSite/repos","events_url":"https://api.github.com/users/ReviewSite/events{/privacy}","received_events_url":"https://api.github.com/users/ReviewSite/received_events","type":"Organization","site_admin":false},"repo":{"id":8145895,"name":"ReviewSite","full_name":"ReviewSite/ReviewSite","owner":{"login":"ReviewSite","id":3036902,"avatar_url":"https://avatars.githubusercontent.com/u/3036902?v=3","gravatar_id":"","url":"https://api.github.com/users/ReviewSite","html_url":"https://github.com/ReviewSite","followers_url":"https://api.github.com/users/ReviewSite/followers","following_url":"https://api.github.com/users/ReviewSite/following{/other_user}","gists_url":"https://api.github.com/users/ReviewSite/gists{/gist_id}","starred_url":"https://api.github.com/users/ReviewSite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReviewSite/subscriptions","organizations_url":"https://api.github.com/users/ReviewSite/orgs","repos_url":"https://api.github.com/users/ReviewSite/repos","events_url":"https://api.github.com/users/ReviewSite/events{/privacy}","received_events_url":"https://api.github.com/users/ReviewSite/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ReviewSite/ReviewSite","description":"Rails app to track reviews for Associate Consultants","fork":false,"url":"https://api.github.com/repos/ReviewSite/ReviewSite","forks_url":"https://api.github.com/repos/ReviewSite/ReviewSite/forks","keys_url":"https://api.github.com/repos/ReviewSite/ReviewSite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ReviewSite/ReviewSite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ReviewSite/ReviewSite/teams","hooks_url":"https://api.github.com/repos/ReviewSite/ReviewSite/hooks","issue_events_url":"https://api.github.com/repos/ReviewSite/ReviewSite/issues/events{/number}","events_url":"https://api.github.com/repos/ReviewSite/ReviewSite/events","assignees_url":"https://api.github.com/repos/ReviewSite/ReviewSite/assignees{/user}","branches_url":"https://api.github.com/repos/ReviewSite/ReviewSite/branches{/branch}","tags_url":"https://api.github.com/repos/ReviewSite/ReviewSite/tags","blobs_url":"https://api.github.com/repos/ReviewSite/ReviewSite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ReviewSite/ReviewSite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ReviewSite/ReviewSite/git/refs{/sha}","trees_url":"https://api.github.com/repos/ReviewSite/ReviewSite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ReviewSite/ReviewSite/statuses/{sha}","languages_url":"https://api.github.com/repos/ReviewSite/ReviewSite/languages","stargazers_url":"https://api.github.com/repos/ReviewSite/ReviewSite/stargazers","contributors_url":"https://api.github.com/repos/ReviewSite/ReviewSite/contributors","subscribers_url":"https://api.github.com/repos/ReviewSite/ReviewSite/subscribers","subscription_url":"https://api.github.com/repos/ReviewSite/ReviewSite/subscription","commits_url":"https://api.github.com/repos/ReviewSite/ReviewSite/commits{/sha}","git_commits_url":"https://api.github.com/repos/ReviewSite/ReviewSite/git/commits{/sha}","comments_url":"https://api.github.com/repos/ReviewSite/ReviewSite/comments{/number}","issue_comment_url":"https://api.github.com/repos/ReviewSite/ReviewSite/issues/comments{/number}","contents_url":"https://api.github.com/repos/ReviewSite/ReviewSite/contents/{+path}","compare_url":"https://api.github.com/repos/ReviewSite/ReviewSite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ReviewSite/ReviewSite/merges","archive_url":"https://api.github.com/repos/ReviewSite/ReviewSite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ReviewSite/ReviewSite/downloads","issues_url":"https://api.github.com/repos/ReviewSite/ReviewSite/issues{/number}","pulls_url":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls{/number}","milestones_url":"https://api.github.com/repos/ReviewSite/ReviewSite/milestones{/number}","notifications_url":"https://api.github.com/repos/ReviewSite/ReviewSite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ReviewSite/ReviewSite/labels{/name}","releases_url":"https://api.github.com/repos/ReviewSite/ReviewSite/releases{/id}","deployments_url":"https://api.github.com/repos/ReviewSite/ReviewSite/deployments","created_at":"2013-02-11T20:28:38Z","updated_at":"2016-01-26T21:35:00Z","pushed_at":"2016-03-02T22:59:18Z","git_url":"git://github.com/ReviewSite/ReviewSite.git","ssh_url":"git@github.com:ReviewSite/ReviewSite.git","clone_url":"https://github.com/ReviewSite/ReviewSite.git","svn_url":"https://github.com/ReviewSite/ReviewSite","homepage":"","size":13646,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":0,"forks":20,"open_issues":0,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/234"},"html":{"href":"https://github.com/ReviewSite/ReviewSite/pull/234"},"issue":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/issues/234"},"comments":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/issues/234/comments"},"review_comments":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/234/comments"},"review_comment":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/pulls/234/commits"},"statuses":{"href":"https://api.github.com/repos/ReviewSite/ReviewSite/statuses/73545761c14dfae4cfc8979d82b3592b8ad0160f"}}}}