{"action":"closed","number":1021,"pull_request":{"url":"https://api.github.com/repos/john/drive.vote/pulls/1021","id":221438187,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxNDM4MTg3","html_url":"https://github.com/john/drive.vote/pull/1021","diff_url":"https://github.com/john/drive.vote/pull/1021.diff","patch_url":"https://github.com/john/drive.vote/pull/1021.patch","issue_url":"https://api.github.com/repos/john/drive.vote/issues/1021","number":1021,"state":"closed","locked":false,"title":"send email when driver is approved (fixes #715)","user":{"login":"cgrayson","id":5596,"node_id":"MDQ6VXNlcjU1OTY=","avatar_url":"https://avatars2.githubusercontent.com/u/5596?v=4","gravatar_id":"","url":"https://api.github.com/users/cgrayson","html_url":"https://github.com/cgrayson","followers_url":"https://api.github.com/users/cgrayson/followers","following_url":"https://api.github.com/users/cgrayson/following{/other_user}","gists_url":"https://api.github.com/users/cgrayson/gists{/gist_id}","starred_url":"https://api.github.com/users/cgrayson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgrayson/subscriptions","organizations_url":"https://api.github.com/users/cgrayson/orgs","repos_url":"https://api.github.com/users/cgrayson/repos","events_url":"https://api.github.com/users/cgrayson/events{/privacy}","received_events_url":"https://api.github.com/users/cgrayson/received_events","type":"User","site_admin":false},"body":"First stab at #715, notifying driver they've been approved/assigned. Draft of email view (also visible in the [previewer](http://localhost:3000/rails/mailers/user_mailer/notify_driver_approved) if you're running locally) is below.\r\n\r\n<img width=\"702\" alt=\"screen shot 2018-10-08 at 9 15 08 pm\" src=\"https://user-images.githubusercontent.com/5596/46672319-b95cbf00-cb9c-11e8-9a4f-fc9f10a85f03.png\">\r\n","created_at":"2018-10-09T13:25:10Z","updated_at":"2018-10-09T13:34:31Z","closed_at":"2018-10-09T13:34:31Z","merged_at":null,"merge_commit_sha":"a17b50033e1f6b884bda14ca9a27de5f4da37ea1","assignee":null,"assignees":[],"requested_reviewers":[{"login":"john","id":1668,"node_id":"MDQ6VXNlcjE2Njg=","avatar_url":"https://avatars1.githubusercontent.com/u/1668?v=4","gravatar_id":"","url":"https://api.github.com/users/john","html_url":"https://github.com/john","followers_url":"https://api.github.com/users/john/followers","following_url":"https://api.github.com/users/john/following{/other_user}","gists_url":"https://api.github.com/users/john/gists{/gist_id}","starred_url":"https://api.github.com/users/john/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john/subscriptions","organizations_url":"https://api.github.com/users/john/orgs","repos_url":"https://api.github.com/users/john/repos","events_url":"https://api.github.com/users/john/events{/privacy}","received_events_url":"https://api.github.com/users/john/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/john/drive.vote/pulls/1021/commits","review_comments_url":"https://api.github.com/repos/john/drive.vote/pulls/1021/comments","review_comment_url":"https://api.github.com/repos/john/drive.vote/pulls/comments{/number}","comments_url":"https://api.github.com/repos/john/drive.vote/issues/1021/comments","statuses_url":"https://api.github.com/repos/john/drive.vote/statuses/fce6faf9113a93e18f6a9d0df2c0c93799667b5d","head":{"label":"cgrayson:fix-715","ref":"fix-715","sha":"fce6faf9113a93e18f6a9d0df2c0c93799667b5d","user":{"login":"cgrayson","id":5596,"node_id":"MDQ6VXNlcjU1OTY=","avatar_url":"https://avatars2.githubusercontent.com/u/5596?v=4","gravatar_id":"","url":"https://api.github.com/users/cgrayson","html_url":"https://github.com/cgrayson","followers_url":"https://api.github.com/users/cgrayson/followers","following_url":"https://api.github.com/users/cgrayson/following{/other_user}","gists_url":"https://api.github.com/users/cgrayson/gists{/gist_id}","starred_url":"https://api.github.com/users/cgrayson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgrayson/subscriptions","organizations_url":"https://api.github.com/users/cgrayson/orgs","repos_url":"https://api.github.com/users/cgrayson/repos","events_url":"https://api.github.com/users/cgrayson/events{/privacy}","received_events_url":"https://api.github.com/users/cgrayson/received_events","type":"User","site_admin":false},"repo":{"id":151146399,"node_id":"MDEwOlJlcG9zaXRvcnkxNTExNDYzOTk=","name":"drive.vote","full_name":"cgrayson/drive.vote","private":false,"owner":{"login":"cgrayson","id":5596,"node_id":"MDQ6VXNlcjU1OTY=","avatar_url":"https://avatars2.githubusercontent.com/u/5596?v=4","gravatar_id":"","url":"https://api.github.com/users/cgrayson","html_url":"https://github.com/cgrayson","followers_url":"https://api.github.com/users/cgrayson/followers","following_url":"https://api.github.com/users/cgrayson/following{/other_user}","gists_url":"https://api.github.com/users/cgrayson/gists{/gist_id}","starred_url":"https://api.github.com/users/cgrayson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgrayson/subscriptions","organizations_url":"https://api.github.com/users/cgrayson/orgs","repos_url":"https://api.github.com/users/cgrayson/repos","events_url":"https://api.github.com/users/cgrayson/events{/privacy}","received_events_url":"https://api.github.com/users/cgrayson/received_events","type":"User","site_admin":false},"html_url":"https://github.com/cgrayson/drive.vote","description":"Drive the Vote arranges free rides to the polls on election day.","fork":true,"url":"https://api.github.com/repos/cgrayson/drive.vote","forks_url":"https://api.github.com/repos/cgrayson/drive.vote/forks","keys_url":"https://api.github.com/repos/cgrayson/drive.vote/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cgrayson/drive.vote/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cgrayson/drive.vote/teams","hooks_url":"https://api.github.com/repos/cgrayson/drive.vote/hooks","issue_events_url":"https://api.github.com/repos/cgrayson/drive.vote/issues/events{/number}","events_url":"https://api.github.com/repos/cgrayson/drive.vote/events","assignees_url":"https://api.github.com/repos/cgrayson/drive.vote/assignees{/user}","branches_url":"https://api.github.com/repos/cgrayson/drive.vote/branches{/branch}","tags_url":"https://api.github.com/repos/cgrayson/drive.vote/tags","blobs_url":"https://api.github.com/repos/cgrayson/drive.vote/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cgrayson/drive.vote/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cgrayson/drive.vote/git/refs{/sha}","trees_url":"https://api.github.com/repos/cgrayson/drive.vote/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cgrayson/drive.vote/statuses/{sha}","languages_url":"https://api.github.com/repos/cgrayson/drive.vote/languages","stargazers_url":"https://api.github.com/repos/cgrayson/drive.vote/stargazers","contributors_url":"https://api.github.com/repos/cgrayson/drive.vote/contributors","subscribers_url":"https://api.github.com/repos/cgrayson/drive.vote/subscribers","subscription_url":"https://api.github.com/repos/cgrayson/drive.vote/subscription","commits_url":"https://api.github.com/repos/cgrayson/drive.vote/commits{/sha}","git_commits_url":"https://api.github.com/repos/cgrayson/drive.vote/git/commits{/sha}","comments_url":"https://api.github.com/repos/cgrayson/drive.vote/comments{/number}","issue_comment_url":"https://api.github.com/repos/cgrayson/drive.vote/issues/comments{/number}","contents_url":"https://api.github.com/repos/cgrayson/drive.vote/contents/{+path}","compare_url":"https://api.github.com/repos/cgrayson/drive.vote/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cgrayson/drive.vote/merges","archive_url":"https://api.github.com/repos/cgrayson/drive.vote/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cgrayson/drive.vote/downloads","issues_url":"https://api.github.com/repos/cgrayson/drive.vote/issues{/number}","pulls_url":"https://api.github.com/repos/cgrayson/drive.vote/pulls{/number}","milestones_url":"https://api.github.com/repos/cgrayson/drive.vote/milestones{/number}","notifications_url":"https://api.github.com/repos/cgrayson/drive.vote/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cgrayson/drive.vote/labels{/name}","releases_url":"https://api.github.com/repos/cgrayson/drive.vote/releases{/id}","deployments_url":"https://api.github.com/repos/cgrayson/drive.vote/deployments","created_at":"2018-10-01T19:28:04Z","updated_at":"2018-10-01T22:17:00Z","pushed_at":"2018-10-09T13:33:26Z","git_url":"git://github.com/cgrayson/drive.vote.git","ssh_url":"git@github.com:cgrayson/drive.vote.git","clone_url":"https://github.com/cgrayson/drive.vote.git","svn_url":"https://github.com/cgrayson/drive.vote","homepage":"https://drive.vote/","size":11902,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"john:master","ref":"master","sha":"667315522f5a2096c5a3734c8189ef794b961c4e","user":{"login":"john","id":1668,"node_id":"MDQ6VXNlcjE2Njg=","avatar_url":"https://avatars1.githubusercontent.com/u/1668?v=4","gravatar_id":"","url":"https://api.github.com/users/john","html_url":"https://github.com/john","followers_url":"https://api.github.com/users/john/followers","following_url":"https://api.github.com/users/john/following{/other_user}","gists_url":"https://api.github.com/users/john/gists{/gist_id}","starred_url":"https://api.github.com/users/john/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john/subscriptions","organizations_url":"https://api.github.com/users/john/orgs","repos_url":"https://api.github.com/users/john/repos","events_url":"https://api.github.com/users/john/events{/privacy}","received_events_url":"https://api.github.com/users/john/received_events","type":"User","site_admin":false},"repo":{"id":61700756,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcwMDc1Ng==","name":"drive.vote","full_name":"john/drive.vote","private":false,"owner":{"login":"john","id":1668,"node_id":"MDQ6VXNlcjE2Njg=","avatar_url":"https://avatars1.githubusercontent.com/u/1668?v=4","gravatar_id":"","url":"https://api.github.com/users/john","html_url":"https://github.com/john","followers_url":"https://api.github.com/users/john/followers","following_url":"https://api.github.com/users/john/following{/other_user}","gists_url":"https://api.github.com/users/john/gists{/gist_id}","starred_url":"https://api.github.com/users/john/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john/subscriptions","organizations_url":"https://api.github.com/users/john/orgs","repos_url":"https://api.github.com/users/john/repos","events_url":"https://api.github.com/users/john/events{/privacy}","received_events_url":"https://api.github.com/users/john/received_events","type":"User","site_admin":false},"html_url":"https://github.com/john/drive.vote","description":"Drive the Vote arranges free rides to the polls on election day.","fork":false,"url":"https://api.github.com/repos/john/drive.vote","forks_url":"https://api.github.com/repos/john/drive.vote/forks","keys_url":"https://api.github.com/repos/john/drive.vote/keys{/key_id}","collaborators_url":"https://api.github.com/repos/john/drive.vote/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/john/drive.vote/teams","hooks_url":"https://api.github.com/repos/john/drive.vote/hooks","issue_events_url":"https://api.github.com/repos/john/drive.vote/issues/events{/number}","events_url":"https://api.github.com/repos/john/drive.vote/events","assignees_url":"https://api.github.com/repos/john/drive.vote/assignees{/user}","branches_url":"https://api.github.com/repos/john/drive.vote/branches{/branch}","tags_url":"https://api.github.com/repos/john/drive.vote/tags","blobs_url":"https://api.github.com/repos/john/drive.vote/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/john/drive.vote/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/john/drive.vote/git/refs{/sha}","trees_url":"https://api.github.com/repos/john/drive.vote/git/trees{/sha}","statuses_url":"https://api.github.com/repos/john/drive.vote/statuses/{sha}","languages_url":"https://api.github.com/repos/john/drive.vote/languages","stargazers_url":"https://api.github.com/repos/john/drive.vote/stargazers","contributors_url":"https://api.github.com/repos/john/drive.vote/contributors","subscribers_url":"https://api.github.com/repos/john/drive.vote/subscribers","subscription_url":"https://api.github.com/repos/john/drive.vote/subscription","commits_url":"https://api.github.com/repos/john/drive.vote/commits{/sha}","git_commits_url":"https://api.github.com/repos/john/drive.vote/git/commits{/sha}","comments_url":"https://api.github.com/repos/john/drive.vote/comments{/number}","issue_comment_url":"https://api.github.com/repos/john/drive.vote/issues/comments{/number}","contents_url":"https://api.github.com/repos/john/drive.vote/contents/{+path}","compare_url":"https://api.github.com/repos/john/drive.vote/compare/{base}...{head}","merges_url":"https://api.github.com/repos/john/drive.vote/merges","archive_url":"https://api.github.com/repos/john/drive.vote/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/john/drive.vote/downloads","issues_url":"https://api.github.com/repos/john/drive.vote/issues{/number}","pulls_url":"https://api.github.com/repos/john/drive.vote/pulls{/number}","milestones_url":"https://api.github.com/repos/john/drive.vote/milestones{/number}","notifications_url":"https://api.github.com/repos/john/drive.vote/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/john/drive.vote/labels{/name}","releases_url":"https://api.github.com/repos/john/drive.vote/releases{/id}","deployments_url":"https://api.github.com/repos/john/drive.vote/deployments","created_at":"2016-06-22T08:06:04Z","updated_at":"2018-10-09T04:24:42Z","pushed_at":"2018-10-09T13:33:27Z","git_url":"git://github.com/john/drive.vote.git","ssh_url":"git@github.com:john/drive.vote.git","clone_url":"https://github.com/john/drive.vote.git","svn_url":"https://github.com/john/drive.vote","homepage":"https://drive.vote/","size":11985,"stargazers_count":9,"watchers_count":9,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":136,"license":null,"forks":4,"open_issues":136,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/john/drive.vote/pulls/1021"},"html":{"href":"https://github.com/john/drive.vote/pull/1021"},"issue":{"href":"https://api.github.com/repos/john/drive.vote/issues/1021"},"comments":{"href":"https://api.github.com/repos/john/drive.vote/issues/1021/comments"},"review_comments":{"href":"https://api.github.com/repos/john/drive.vote/pulls/1021/comments"},"review_comment":{"href":"https://api.github.com/repos/john/drive.vote/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/john/drive.vote/pulls/1021/commits"},"statuses":{"href":"https://api.github.com/repos/john/drive.vote/statuses/fce6faf9113a93e18f6a9d0df2c0c93799667b5d"}},"author_association":"COLLABORATOR","merged":false,"mergeable":true,"rebaseable":false,"mergeable_state":"unstable","merged_by":null,"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":14,"additions":1899,"deletions":104,"changed_files":25}}
{"actor":{"display_login":"cgrayson"}}