{"action":"created","comment":{"url":"https://api.github.com/repos/umts/jobapps/pulls/comments/90765661","pull_request_review_id":11284414,"id":90765661,"diff_hunk":"@@ -7,4 +7,6 @@ class Subscription < ActiveRecord::Base\n   validates :email,\n             :user,\n             :position, presence: true\n+\n+  scope :notification, -> { where(notification: true) }","path":"app/models/subscription.rb","position":5,"original_position":5,"commit_id":"815fbc6f6d47887949e57d285c97b084139794b9","original_commit_id":"815fbc6f6d47887949e57d285c97b084139794b9","user":{"login":"dfaulken","id":3988134,"avatar_url":"https://avatars.githubusercontent.com/u/3988134?v=3","gravatar_id":"","url":"https://api.github.com/users/dfaulken","html_url":"https://github.com/dfaulken","followers_url":"https://api.github.com/users/dfaulken/followers","following_url":"https://api.github.com/users/dfaulken/following{/other_user}","gists_url":"https://api.github.com/users/dfaulken/gists{/gist_id}","starred_url":"https://api.github.com/users/dfaulken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfaulken/subscriptions","organizations_url":"https://api.github.com/users/dfaulken/orgs","repos_url":"https://api.github.com/users/dfaulken/repos","events_url":"https://api.github.com/users/dfaulken/events{/privacy}","received_events_url":"https://api.github.com/users/dfaulken/received_events","type":"User","site_admin":false},"body":"Scope names should generally be an adjective or some kind of modifying prepositional phrase.","created_at":"2016-12-03T21:42:52Z","updated_at":"2016-12-03T21:48:14Z","html_url":"https://github.com/umts/jobapps/pull/274#discussion_r90765661","pull_request_url":"https://api.github.com/repos/umts/jobapps/pulls/274","_links":{"self":{"href":"https://api.github.com/repos/umts/jobapps/pulls/comments/90765661"},"html":{"href":"https://github.com/umts/jobapps/pull/274#discussion_r90765661"},"pull_request":{"href":"https://api.github.com/repos/umts/jobapps/pulls/274"}}},"pull_request":{"url":"https://api.github.com/repos/umts/jobapps/pulls/274","id":92056848,"html_url":"https://github.com/umts/jobapps/pull/274","diff_url":"https://github.com/umts/jobapps/pull/274.diff","patch_url":"https://github.com/umts/jobapps/pull/274.patch","issue_url":"https://api.github.com/repos/umts/jobapps/issues/274","number":274,"state":"open","locked":false,"title":"Saved application","user":{"login":"AkivaGreen","id":15308734,"avatar_url":"https://avatars.githubusercontent.com/u/15308734?v=3","gravatar_id":"","url":"https://api.github.com/users/AkivaGreen","html_url":"https://github.com/AkivaGreen","followers_url":"https://api.github.com/users/AkivaGreen/followers","following_url":"https://api.github.com/users/AkivaGreen/following{/other_user}","gists_url":"https://api.github.com/users/AkivaGreen/gists{/gist_id}","starred_url":"https://api.github.com/users/AkivaGreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AkivaGreen/subscriptions","organizations_url":"https://api.github.com/users/AkivaGreen/orgs","repos_url":"https://api.github.com/users/AkivaGreen/repos","events_url":"https://api.github.com/users/AkivaGreen/events{/privacy}","received_events_url":"https://api.github.com/users/AkivaGreen/received_events","type":"User","site_admin":false},"body":"I would like to close #271 with this pull request.","created_at":"2016-11-02T21:14:56Z","updated_at":"2016-12-03T21:48:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f9df458a6929335ecf6cd3046f141ab6ace887b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/umts/jobapps/pulls/274/commits","review_comments_url":"https://api.github.com/repos/umts/jobapps/pulls/274/comments","review_comment_url":"https://api.github.com/repos/umts/jobapps/pulls/comments{/number}","comments_url":"https://api.github.com/repos/umts/jobapps/issues/274/comments","statuses_url":"https://api.github.com/repos/umts/jobapps/statuses/815fbc6f6d47887949e57d285c97b084139794b9","head":{"label":"AkivaGreen:saved-application","ref":"saved-application","sha":"815fbc6f6d47887949e57d285c97b084139794b9","user":{"login":"AkivaGreen","id":15308734,"avatar_url":"https://avatars.githubusercontent.com/u/15308734?v=3","gravatar_id":"","url":"https://api.github.com/users/AkivaGreen","html_url":"https://github.com/AkivaGreen","followers_url":"https://api.github.com/users/AkivaGreen/followers","following_url":"https://api.github.com/users/AkivaGreen/following{/other_user}","gists_url":"https://api.github.com/users/AkivaGreen/gists{/gist_id}","starred_url":"https://api.github.com/users/AkivaGreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AkivaGreen/subscriptions","organizations_url":"https://api.github.com/users/AkivaGreen/orgs","repos_url":"https://api.github.com/users/AkivaGreen/repos","events_url":"https://api.github.com/users/AkivaGreen/events{/privacy}","received_events_url":"https://api.github.com/users/AkivaGreen/received_events","type":"User","site_admin":false},"repo":{"id":61154847,"name":"jobapps","full_name":"AkivaGreen/jobapps","owner":{"login":"AkivaGreen","id":15308734,"avatar_url":"https://avatars.githubusercontent.com/u/15308734?v=3","gravatar_id":"","url":"https://api.github.com/users/AkivaGreen","html_url":"https://github.com/AkivaGreen","followers_url":"https://api.github.com/users/AkivaGreen/followers","following_url":"https://api.github.com/users/AkivaGreen/following{/other_user}","gists_url":"https://api.github.com/users/AkivaGreen/gists{/gist_id}","starred_url":"https://api.github.com/users/AkivaGreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AkivaGreen/subscriptions","organizations_url":"https://api.github.com/users/AkivaGreen/orgs","repos_url":"https://api.github.com/users/AkivaGreen/repos","events_url":"https://api.github.com/users/AkivaGreen/events{/privacy}","received_events_url":"https://api.github.com/users/AkivaGreen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AkivaGreen/jobapps","description":"Barebones Rails 4 app for job application, interview scheduling, demographic reporting, and application resource configuration.","fork":true,"url":"https://api.github.com/repos/AkivaGreen/jobapps","forks_url":"https://api.github.com/repos/AkivaGreen/jobapps/forks","keys_url":"https://api.github.com/repos/AkivaGreen/jobapps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AkivaGreen/jobapps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AkivaGreen/jobapps/teams","hooks_url":"https://api.github.com/repos/AkivaGreen/jobapps/hooks","issue_events_url":"https://api.github.com/repos/AkivaGreen/jobapps/issues/events{/number}","events_url":"https://api.github.com/repos/AkivaGreen/jobapps/events","assignees_url":"https://api.github.com/repos/AkivaGreen/jobapps/assignees{/user}","branches_url":"https://api.github.com/repos/AkivaGreen/jobapps/branches{/branch}","tags_url":"https://api.github.com/repos/AkivaGreen/jobapps/tags","blobs_url":"https://api.github.com/repos/AkivaGreen/jobapps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AkivaGreen/jobapps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AkivaGreen/jobapps/git/refs{/sha}","trees_url":"https://api.github.com/repos/AkivaGreen/jobapps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AkivaGreen/jobapps/statuses/{sha}","languages_url":"https://api.github.com/repos/AkivaGreen/jobapps/languages","stargazers_url":"https://api.github.com/repos/AkivaGreen/jobapps/stargazers","contributors_url":"https://api.github.com/repos/AkivaGreen/jobapps/contributors","subscribers_url":"https://api.github.com/repos/AkivaGreen/jobapps/subscribers","subscription_url":"https://api.github.com/repos/AkivaGreen/jobapps/subscription","commits_url":"https://api.github.com/repos/AkivaGreen/jobapps/commits{/sha}","git_commits_url":"https://api.github.com/repos/AkivaGreen/jobapps/git/commits{/sha}","comments_url":"https://api.github.com/repos/AkivaGreen/jobapps/comments{/number}","issue_comment_url":"https://api.github.com/repos/AkivaGreen/jobapps/issues/comments{/number}","contents_url":"https://api.github.com/repos/AkivaGreen/jobapps/contents/{+path}","compare_url":"https://api.github.com/repos/AkivaGreen/jobapps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AkivaGreen/jobapps/merges","archive_url":"https://api.github.com/repos/AkivaGreen/jobapps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AkivaGreen/jobapps/downloads","issues_url":"https://api.github.com/repos/AkivaGreen/jobapps/issues{/number}","pulls_url":"https://api.github.com/repos/AkivaGreen/jobapps/pulls{/number}","milestones_url":"https://api.github.com/repos/AkivaGreen/jobapps/milestones{/number}","notifications_url":"https://api.github.com/repos/AkivaGreen/jobapps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AkivaGreen/jobapps/labels{/name}","releases_url":"https://api.github.com/repos/AkivaGreen/jobapps/releases{/id}","deployments_url":"https://api.github.com/repos/AkivaGreen/jobapps/deployments","created_at":"2016-06-14T20:50:15Z","updated_at":"2016-06-14T20:50:16Z","pushed_at":"2016-12-03T20:03:57Z","git_url":"git://github.com/AkivaGreen/jobapps.git","ssh_url":"git@github.com:AkivaGreen/jobapps.git","clone_url":"https://github.com/AkivaGreen/jobapps.git","svn_url":"https://github.com/AkivaGreen/jobapps","homepage":"https://transit-jobapps.admin.umass.edu","size":1839,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"umts:master","ref":"master","sha":"960c17d94817ec237b8d12166123726295a62a04","user":{"login":"umts","id":398175,"avatar_url":"https://avatars.githubusercontent.com/u/398175?v=3","gravatar_id":"","url":"https://api.github.com/users/umts","html_url":"https://github.com/umts","followers_url":"https://api.github.com/users/umts/followers","following_url":"https://api.github.com/users/umts/following{/other_user}","gists_url":"https://api.github.com/users/umts/gists{/gist_id}","starred_url":"https://api.github.com/users/umts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umts/subscriptions","organizations_url":"https://api.github.com/users/umts/orgs","repos_url":"https://api.github.com/users/umts/repos","events_url":"https://api.github.com/users/umts/events{/privacy}","received_events_url":"https://api.github.com/users/umts/received_events","type":"Organization","site_admin":false},"repo":{"id":35909798,"name":"jobapps","full_name":"umts/jobapps","owner":{"login":"umts","id":398175,"avatar_url":"https://avatars.githubusercontent.com/u/398175?v=3","gravatar_id":"","url":"https://api.github.com/users/umts","html_url":"https://github.com/umts","followers_url":"https://api.github.com/users/umts/followers","following_url":"https://api.github.com/users/umts/following{/other_user}","gists_url":"https://api.github.com/users/umts/gists{/gist_id}","starred_url":"https://api.github.com/users/umts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umts/subscriptions","organizations_url":"https://api.github.com/users/umts/orgs","repos_url":"https://api.github.com/users/umts/repos","events_url":"https://api.github.com/users/umts/events{/privacy}","received_events_url":"https://api.github.com/users/umts/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/umts/jobapps","description":"Barebones Rails 4 app for job application, interview scheduling, demographic reporting, and application resource configuration.","fork":false,"url":"https://api.github.com/repos/umts/jobapps","forks_url":"https://api.github.com/repos/umts/jobapps/forks","keys_url":"https://api.github.com/repos/umts/jobapps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/umts/jobapps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/umts/jobapps/teams","hooks_url":"https://api.github.com/repos/umts/jobapps/hooks","issue_events_url":"https://api.github.com/repos/umts/jobapps/issues/events{/number}","events_url":"https://api.github.com/repos/umts/jobapps/events","assignees_url":"https://api.github.com/repos/umts/jobapps/assignees{/user}","branches_url":"https://api.github.com/repos/umts/jobapps/branches{/branch}","tags_url":"https://api.github.com/repos/umts/jobapps/tags","blobs_url":"https://api.github.com/repos/umts/jobapps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/umts/jobapps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/umts/jobapps/git/refs{/sha}","trees_url":"https://api.github.com/repos/umts/jobapps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/umts/jobapps/statuses/{sha}","languages_url":"https://api.github.com/repos/umts/jobapps/languages","stargazers_url":"https://api.github.com/repos/umts/jobapps/stargazers","contributors_url":"https://api.github.com/repos/umts/jobapps/contributors","subscribers_url":"https://api.github.com/repos/umts/jobapps/subscribers","subscription_url":"https://api.github.com/repos/umts/jobapps/subscription","commits_url":"https://api.github.com/repos/umts/jobapps/commits{/sha}","git_commits_url":"https://api.github.com/repos/umts/jobapps/git/commits{/sha}","comments_url":"https://api.github.com/repos/umts/jobapps/comments{/number}","issue_comment_url":"https://api.github.com/repos/umts/jobapps/issues/comments{/number}","contents_url":"https://api.github.com/repos/umts/jobapps/contents/{+path}","compare_url":"https://api.github.com/repos/umts/jobapps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/umts/jobapps/merges","archive_url":"https://api.github.com/repos/umts/jobapps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/umts/jobapps/downloads","issues_url":"https://api.github.com/repos/umts/jobapps/issues{/number}","pulls_url":"https://api.github.com/repos/umts/jobapps/pulls{/number}","milestones_url":"https://api.github.com/repos/umts/jobapps/milestones{/number}","notifications_url":"https://api.github.com/repos/umts/jobapps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/umts/jobapps/labels{/name}","releases_url":"https://api.github.com/repos/umts/jobapps/releases{/id}","deployments_url":"https://api.github.com/repos/umts/jobapps/deployments","created_at":"2015-05-19T21:34:57Z","updated_at":"2016-11-21T15:14:51Z","pushed_at":"2016-12-03T20:03:57Z","git_url":"git://github.com/umts/jobapps.git","ssh_url":"git@github.com:umts/jobapps.git","clone_url":"https://github.com/umts/jobapps.git","svn_url":"https://github.com/umts/jobapps","homepage":"https://transit-jobapps.admin.umass.edu","size":1819,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":7,"forks":7,"open_issues":7,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/umts/jobapps/pulls/274"},"html":{"href":"https://github.com/umts/jobapps/pull/274"},"issue":{"href":"https://api.github.com/repos/umts/jobapps/issues/274"},"comments":{"href":"https://api.github.com/repos/umts/jobapps/issues/274/comments"},"review_comments":{"href":"https://api.github.com/repos/umts/jobapps/pulls/274/comments"},"review_comment":{"href":"https://api.github.com/repos/umts/jobapps/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/umts/jobapps/pulls/274/commits"},"statuses":{"href":"https://api.github.com/repos/umts/jobapps/statuses/815fbc6f6d47887949e57d285c97b084139794b9"}}}}
{"actor":{"display_login":"dfaulken"}}