{"action":"created","comment":{"url":"https://api.github.com/repos/zooniverse/Panoptes/pulls/comments/69312999","id":69312999,"diff_hunk":"@@ -0,0 +1,21 @@\n+class UserInfoChangedMailer < ApplicationMailer\n+  layout false\n+\n+  SITE_NAME = \"the Zooniverse\"","path":"app/mailers/user_info_changed_mailer.rb","position":4,"original_position":4,"commit_id":"cf1ce314aac4a2f9017f392e5317afd09b8a5df8","original_commit_id":"cf1ce314aac4a2f9017f392e5317afd09b8a5df8","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":"Freeze mutable objects assigned to constants.","created_at":"2016-07-01T15:04:12Z","updated_at":"2016-07-01T15:04:12Z","html_url":"https://github.com/zooniverse/Panoptes/pull/1855#discussion_r69312999","pull_request_url":"https://api.github.com/repos/zooniverse/Panoptes/pulls/1855","_links":{"self":{"href":"https://api.github.com/repos/zooniverse/Panoptes/pulls/comments/69312999"},"html":{"href":"https://github.com/zooniverse/Panoptes/pull/1855#discussion_r69312999"},"pull_request":{"href":"https://api.github.com/repos/zooniverse/Panoptes/pulls/1855"}}},"pull_request":{"url":"https://api.github.com/repos/zooniverse/Panoptes/pulls/1855","id":75993640,"html_url":"https://github.com/zooniverse/Panoptes/pull/1855","diff_url":"https://github.com/zooniverse/Panoptes/pull/1855.diff","patch_url":"https://github.com/zooniverse/Panoptes/pull/1855.patch","issue_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/1855","number":1855,"state":"open","locked":false,"title":"[WIP] Mailer service objects","user":{"login":"zwolf","id":374835,"avatar_url":"https://avatars.githubusercontent.com/u/374835?v=3","gravatar_id":"","url":"https://api.github.com/users/zwolf","html_url":"https://github.com/zwolf","followers_url":"https://api.github.com/users/zwolf/followers","following_url":"https://api.github.com/users/zwolf/following{/other_user}","gists_url":"https://api.github.com/users/zwolf/gists{/gist_id}","starred_url":"https://api.github.com/users/zwolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zwolf/subscriptions","organizations_url":"https://api.github.com/users/zwolf/orgs","repos_url":"https://api.github.com/users/zwolf/repos","events_url":"https://api.github.com/users/zwolf/events{/privacy}","received_events_url":"https://api.github.com/users/zwolf/received_events","type":"User","site_admin":false},"body":"New PR for switching to service objects instead of callbacks for sending emails to users when:\r\n\r\n* email address is changed\r\n* password is changed\r\n* user is added to a project as an expert or collaborator\r\n\r\nVery much a work in progress.\r\n\r\n# Review checklist\r\n\r\n- [ ] First, the most important one: is this PR small enough that you can actually review it? Feel free to just reject a branch if the changes are hard to review due to the length of the diff.\r\n- [ ] If there are any migrations, will they the previous version of the app work correctly after they've been run (e.g. the don't remove columns still known about by ActiveRecord).\r\n- [ ] If anything changed with regards to the public API, are those changes also documented in the `apiary.apib` file?\r\n- [ ] Are all the changes covered by tests? Think about any possible edge cases that might be left untested.\r\n","created_at":"2016-07-01T15:03:59Z","updated_at":"2016-07-01T15:04:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d643aff48cebaeeeb7d64d4006aec44e6ed22b9b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/zooniverse/Panoptes/pulls/1855/commits","review_comments_url":"https://api.github.com/repos/zooniverse/Panoptes/pulls/1855/comments","review_comment_url":"https://api.github.com/repos/zooniverse/Panoptes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/1855/comments","statuses_url":"https://api.github.com/repos/zooniverse/Panoptes/statuses/cf1ce314aac4a2f9017f392e5317afd09b8a5df8","head":{"label":"zwolf:mailer-service-objects","ref":"mailer-service-objects","sha":"cf1ce314aac4a2f9017f392e5317afd09b8a5df8","user":{"login":"zwolf","id":374835,"avatar_url":"https://avatars.githubusercontent.com/u/374835?v=3","gravatar_id":"","url":"https://api.github.com/users/zwolf","html_url":"https://github.com/zwolf","followers_url":"https://api.github.com/users/zwolf/followers","following_url":"https://api.github.com/users/zwolf/following{/other_user}","gists_url":"https://api.github.com/users/zwolf/gists{/gist_id}","starred_url":"https://api.github.com/users/zwolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zwolf/subscriptions","organizations_url":"https://api.github.com/users/zwolf/orgs","repos_url":"https://api.github.com/users/zwolf/repos","events_url":"https://api.github.com/users/zwolf/events{/privacy}","received_events_url":"https://api.github.com/users/zwolf/received_events","type":"User","site_admin":false},"repo":{"id":56798240,"name":"Panoptes","full_name":"zwolf/Panoptes","owner":{"login":"zwolf","id":374835,"avatar_url":"https://avatars.githubusercontent.com/u/374835?v=3","gravatar_id":"","url":"https://api.github.com/users/zwolf","html_url":"https://github.com/zwolf","followers_url":"https://api.github.com/users/zwolf/followers","following_url":"https://api.github.com/users/zwolf/following{/other_user}","gists_url":"https://api.github.com/users/zwolf/gists{/gist_id}","starred_url":"https://api.github.com/users/zwolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zwolf/subscriptions","organizations_url":"https://api.github.com/users/zwolf/orgs","repos_url":"https://api.github.com/users/zwolf/repos","events_url":"https://api.github.com/users/zwolf/events{/privacy}","received_events_url":"https://api.github.com/users/zwolf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zwolf/Panoptes","description":"It sees everything","fork":true,"url":"https://api.github.com/repos/zwolf/Panoptes","forks_url":"https://api.github.com/repos/zwolf/Panoptes/forks","keys_url":"https://api.github.com/repos/zwolf/Panoptes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zwolf/Panoptes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zwolf/Panoptes/teams","hooks_url":"https://api.github.com/repos/zwolf/Panoptes/hooks","issue_events_url":"https://api.github.com/repos/zwolf/Panoptes/issues/events{/number}","events_url":"https://api.github.com/repos/zwolf/Panoptes/events","assignees_url":"https://api.github.com/repos/zwolf/Panoptes/assignees{/user}","branches_url":"https://api.github.com/repos/zwolf/Panoptes/branches{/branch}","tags_url":"https://api.github.com/repos/zwolf/Panoptes/tags","blobs_url":"https://api.github.com/repos/zwolf/Panoptes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zwolf/Panoptes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zwolf/Panoptes/git/refs{/sha}","trees_url":"https://api.github.com/repos/zwolf/Panoptes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zwolf/Panoptes/statuses/{sha}","languages_url":"https://api.github.com/repos/zwolf/Panoptes/languages","stargazers_url":"https://api.github.com/repos/zwolf/Panoptes/stargazers","contributors_url":"https://api.github.com/repos/zwolf/Panoptes/contributors","subscribers_url":"https://api.github.com/repos/zwolf/Panoptes/subscribers","subscription_url":"https://api.github.com/repos/zwolf/Panoptes/subscription","commits_url":"https://api.github.com/repos/zwolf/Panoptes/commits{/sha}","git_commits_url":"https://api.github.com/repos/zwolf/Panoptes/git/commits{/sha}","comments_url":"https://api.github.com/repos/zwolf/Panoptes/comments{/number}","issue_comment_url":"https://api.github.com/repos/zwolf/Panoptes/issues/comments{/number}","contents_url":"https://api.github.com/repos/zwolf/Panoptes/contents/{+path}","compare_url":"https://api.github.com/repos/zwolf/Panoptes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zwolf/Panoptes/merges","archive_url":"https://api.github.com/repos/zwolf/Panoptes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zwolf/Panoptes/downloads","issues_url":"https://api.github.com/repos/zwolf/Panoptes/issues{/number}","pulls_url":"https://api.github.com/repos/zwolf/Panoptes/pulls{/number}","milestones_url":"https://api.github.com/repos/zwolf/Panoptes/milestones{/number}","notifications_url":"https://api.github.com/repos/zwolf/Panoptes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zwolf/Panoptes/labels{/name}","releases_url":"https://api.github.com/repos/zwolf/Panoptes/releases{/id}","deployments_url":"https://api.github.com/repos/zwolf/Panoptes/deployments","created_at":"2016-04-21T18:54:29Z","updated_at":"2016-06-22T20:25:06Z","pushed_at":"2016-07-01T14:57:54Z","git_url":"git://github.com/zwolf/Panoptes.git","ssh_url":"git@github.com:zwolf/Panoptes.git","clone_url":"https://github.com/zwolf/Panoptes.git","svn_url":"https://github.com/zwolf/Panoptes","homepage":"","size":5639,"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":"zooniverse:master","ref":"master","sha":"42c9ee74126eb4a247fa0f09f9fdadd2171921b9","user":{"login":"zooniverse","id":106856,"avatar_url":"https://avatars.githubusercontent.com/u/106856?v=3","gravatar_id":"","url":"https://api.github.com/users/zooniverse","html_url":"https://github.com/zooniverse","followers_url":"https://api.github.com/users/zooniverse/followers","following_url":"https://api.github.com/users/zooniverse/following{/other_user}","gists_url":"https://api.github.com/users/zooniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/zooniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zooniverse/subscriptions","organizations_url":"https://api.github.com/users/zooniverse/orgs","repos_url":"https://api.github.com/users/zooniverse/repos","events_url":"https://api.github.com/users/zooniverse/events{/privacy}","received_events_url":"https://api.github.com/users/zooniverse/received_events","type":"Organization","site_admin":false},"repo":{"id":19036577,"name":"Panoptes","full_name":"zooniverse/Panoptes","owner":{"login":"zooniverse","id":106856,"avatar_url":"https://avatars.githubusercontent.com/u/106856?v=3","gravatar_id":"","url":"https://api.github.com/users/zooniverse","html_url":"https://github.com/zooniverse","followers_url":"https://api.github.com/users/zooniverse/followers","following_url":"https://api.github.com/users/zooniverse/following{/other_user}","gists_url":"https://api.github.com/users/zooniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/zooniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zooniverse/subscriptions","organizations_url":"https://api.github.com/users/zooniverse/orgs","repos_url":"https://api.github.com/users/zooniverse/repos","events_url":"https://api.github.com/users/zooniverse/events{/privacy}","received_events_url":"https://api.github.com/users/zooniverse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zooniverse/Panoptes","description":"It sees everything","fork":false,"url":"https://api.github.com/repos/zooniverse/Panoptes","forks_url":"https://api.github.com/repos/zooniverse/Panoptes/forks","keys_url":"https://api.github.com/repos/zooniverse/Panoptes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zooniverse/Panoptes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zooniverse/Panoptes/teams","hooks_url":"https://api.github.com/repos/zooniverse/Panoptes/hooks","issue_events_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/events{/number}","events_url":"https://api.github.com/repos/zooniverse/Panoptes/events","assignees_url":"https://api.github.com/repos/zooniverse/Panoptes/assignees{/user}","branches_url":"https://api.github.com/repos/zooniverse/Panoptes/branches{/branch}","tags_url":"https://api.github.com/repos/zooniverse/Panoptes/tags","blobs_url":"https://api.github.com/repos/zooniverse/Panoptes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zooniverse/Panoptes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zooniverse/Panoptes/git/refs{/sha}","trees_url":"https://api.github.com/repos/zooniverse/Panoptes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zooniverse/Panoptes/statuses/{sha}","languages_url":"https://api.github.com/repos/zooniverse/Panoptes/languages","stargazers_url":"https://api.github.com/repos/zooniverse/Panoptes/stargazers","contributors_url":"https://api.github.com/repos/zooniverse/Panoptes/contributors","subscribers_url":"https://api.github.com/repos/zooniverse/Panoptes/subscribers","subscription_url":"https://api.github.com/repos/zooniverse/Panoptes/subscription","commits_url":"https://api.github.com/repos/zooniverse/Panoptes/commits{/sha}","git_commits_url":"https://api.github.com/repos/zooniverse/Panoptes/git/commits{/sha}","comments_url":"https://api.github.com/repos/zooniverse/Panoptes/comments{/number}","issue_comment_url":"https://api.github.com/repos/zooniverse/Panoptes/issues/comments{/number}","contents_url":"https://api.github.com/repos/zooniverse/Panoptes/contents/{+path}","compare_url":"https://api.github.com/repos/zooniverse/Panoptes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zooniverse/Panoptes/merges","archive_url":"https://api.github.com/repos/zooniverse/Panoptes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zooniverse/Panoptes/downloads","issues_url":"https://api.github.com/repos/zooniverse/Panoptes/issues{/number}","pulls_url":"https://api.github.com/repos/zooniverse/Panoptes/pulls{/number}","milestones_url":"https://api.github.com/repos/zooniverse/Panoptes/milestones{/number}","notifications_url":"https://api.github.com/repos/zooniverse/Panoptes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zooniverse/Panoptes/labels{/name}","releases_url":"https://api.github.com/repos/zooniverse/Panoptes/releases{/id}","deployments_url":"https://api.github.com/repos/zooniverse/Panoptes/deployments","created_at":"2014-04-22T16:16:02Z","updated_at":"2016-06-27T09:17:32Z","pushed_at":"2016-07-01T15:03:59Z","git_url":"git://github.com/zooniverse/Panoptes.git","ssh_url":"git@github.com:zooniverse/Panoptes.git","clone_url":"https://github.com/zooniverse/Panoptes.git","svn_url":"https://github.com/zooniverse/Panoptes","homepage":"","size":5962,"stargazers_count":47,"watchers_count":47,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":98,"forks":24,"open_issues":98,"watchers":47,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zooniverse/Panoptes/pulls/1855"},"html":{"href":"https://github.com/zooniverse/Panoptes/pull/1855"},"issue":{"href":"https://api.github.com/repos/zooniverse/Panoptes/issues/1855"},"comments":{"href":"https://api.github.com/repos/zooniverse/Panoptes/issues/1855/comments"},"review_comments":{"href":"https://api.github.com/repos/zooniverse/Panoptes/pulls/1855/comments"},"review_comment":{"href":"https://api.github.com/repos/zooniverse/Panoptes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zooniverse/Panoptes/pulls/1855/commits"},"statuses":{"href":"https://api.github.com/repos/zooniverse/Panoptes/statuses/cf1ce314aac4a2f9017f392e5317afd09b8a5df8"}}}}
{"actor":{"display_login":"houndci-bot"}}