{"action":"created","comment":{"url":"https://api.github.com/repos/betagouv/tps/pulls/comments/169936238","pull_request_review_id":98541376,"id":169936238,"diff_hunk":"@@ -7,7 +7,7 @@ def perform(*args)\n       Gestionnaire.all\n         .map { |gestionnaire| [gestionnaire, gestionnaire.last_week_overview] }\n         .reject { |_, overview| overview.nil? }\n-        .each { |gestionnaire, overview| GestionnaireMailer.last_week_overview(gestionnaire, overview).deliver_now }\n+        .each { |gestionnaire, _| GestionnaireMailer.last_week_overview(gestionnaire).deliver_later }","path":"app/jobs/weekly_overview_job.rb","position":5,"original_position":5,"commit_id":"1bc93b7235e76910ec2ac5f54e738bbebbfd24ed","original_commit_id":"0c6aa42f558d07c4acf3f36147323e6120911adc","user":{"login":"gregoirenovel","id":1333173,"avatar_url":"https://avatars2.githubusercontent.com/u/1333173?v=4","gravatar_id":"","url":"https://api.github.com/users/gregoirenovel","html_url":"https://github.com/gregoirenovel","followers_url":"https://api.github.com/users/gregoirenovel/followers","following_url":"https://api.github.com/users/gregoirenovel/following{/other_user}","gists_url":"https://api.github.com/users/gregoirenovel/gists{/gist_id}","starred_url":"https://api.github.com/users/gregoirenovel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregoirenovel/subscriptions","organizations_url":"https://api.github.com/users/gregoirenovel/orgs","repos_url":"https://api.github.com/users/gregoirenovel/repos","events_url":"https://api.github.com/users/gregoirenovel/events{/privacy}","received_events_url":"https://api.github.com/users/gregoirenovel/received_events","type":"User","site_admin":false},"body":"Ça ça enqueue un job d'envoi, c'est ça ?","created_at":"2018-02-22T12:07:14Z","updated_at":"2018-02-22T12:07:19Z","html_url":"https://github.com/betagouv/tps/pull/1462#discussion_r169936238","pull_request_url":"https://api.github.com/repos/betagouv/tps/pulls/1462","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/betagouv/tps/pulls/comments/169936238"},"html":{"href":"https://github.com/betagouv/tps/pull/1462#discussion_r169936238"},"pull_request":{"href":"https://api.github.com/repos/betagouv/tps/pulls/1462"}}},"pull_request":{"url":"https://api.github.com/repos/betagouv/tps/pulls/1462","id":170537313,"html_url":"https://github.com/betagouv/tps/pull/1462","diff_url":"https://github.com/betagouv/tps/pull/1462.diff","patch_url":"https://github.com/betagouv/tps/pull/1462.patch","issue_url":"https://api.github.com/repos/betagouv/tps/issues/1462","number":1462,"state":"open","locked":false,"title":"[Fix #1454] Send weekly overview emails async, overview param is not …","user":{"login":"mmagn","id":847942,"avatar_url":"https://avatars3.githubusercontent.com/u/847942?v=4","gravatar_id":"","url":"https://api.github.com/users/mmagn","html_url":"https://github.com/mmagn","followers_url":"https://api.github.com/users/mmagn/followers","following_url":"https://api.github.com/users/mmagn/following{/other_user}","gists_url":"https://api.github.com/users/mmagn/gists{/gist_id}","starred_url":"https://api.github.com/users/mmagn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmagn/subscriptions","organizations_url":"https://api.github.com/users/mmagn/orgs","repos_url":"https://api.github.com/users/mmagn/repos","events_url":"https://api.github.com/users/mmagn/events{/privacy}","received_events_url":"https://api.github.com/users/mmagn/received_events","type":"User","site_admin":false},"body":"…correctly serialized by activejob so it is computed again when email is send","created_at":"2018-02-21T17:27:34Z","updated_at":"2018-02-22T12:07:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a76e3fdc960e5d01392c3bd317503e347b3df72f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/betagouv/tps/pulls/1462/commits","review_comments_url":"https://api.github.com/repos/betagouv/tps/pulls/1462/comments","review_comment_url":"https://api.github.com/repos/betagouv/tps/pulls/comments{/number}","comments_url":"https://api.github.com/repos/betagouv/tps/issues/1462/comments","statuses_url":"https://api.github.com/repos/betagouv/tps/statuses/1bc93b7235e76910ec2ac5f54e738bbebbfd24ed","head":{"label":"betagouv:fix-1454","ref":"fix-1454","sha":"1bc93b7235e76910ec2ac5f54e738bbebbfd24ed","user":{"login":"betagouv","id":7874148,"avatar_url":"https://avatars0.githubusercontent.com/u/7874148?v=4","gravatar_id":"","url":"https://api.github.com/users/betagouv","html_url":"https://github.com/betagouv","followers_url":"https://api.github.com/users/betagouv/followers","following_url":"https://api.github.com/users/betagouv/following{/other_user}","gists_url":"https://api.github.com/users/betagouv/gists{/gist_id}","starred_url":"https://api.github.com/users/betagouv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betagouv/subscriptions","organizations_url":"https://api.github.com/users/betagouv/orgs","repos_url":"https://api.github.com/users/betagouv/repos","events_url":"https://api.github.com/users/betagouv/events{/privacy}","received_events_url":"https://api.github.com/users/betagouv/received_events","type":"Organization","site_admin":false},"repo":{"id":44167674,"name":"tps","full_name":"betagouv/tps","owner":{"login":"betagouv","id":7874148,"avatar_url":"https://avatars0.githubusercontent.com/u/7874148?v=4","gravatar_id":"","url":"https://api.github.com/users/betagouv","html_url":"https://github.com/betagouv","followers_url":"https://api.github.com/users/betagouv/followers","following_url":"https://api.github.com/users/betagouv/following{/other_user}","gists_url":"https://api.github.com/users/betagouv/gists{/gist_id}","starred_url":"https://api.github.com/users/betagouv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betagouv/subscriptions","organizations_url":"https://api.github.com/users/betagouv/orgs","repos_url":"https://api.github.com/users/betagouv/repos","events_url":"https://api.github.com/users/betagouv/events{/privacy}","received_events_url":"https://api.github.com/users/betagouv/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/betagouv/tps","description":"Téléprocédures Simplifiées","fork":false,"url":"https://api.github.com/repos/betagouv/tps","forks_url":"https://api.github.com/repos/betagouv/tps/forks","keys_url":"https://api.github.com/repos/betagouv/tps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/betagouv/tps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/betagouv/tps/teams","hooks_url":"https://api.github.com/repos/betagouv/tps/hooks","issue_events_url":"https://api.github.com/repos/betagouv/tps/issues/events{/number}","events_url":"https://api.github.com/repos/betagouv/tps/events","assignees_url":"https://api.github.com/repos/betagouv/tps/assignees{/user}","branches_url":"https://api.github.com/repos/betagouv/tps/branches{/branch}","tags_url":"https://api.github.com/repos/betagouv/tps/tags","blobs_url":"https://api.github.com/repos/betagouv/tps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/betagouv/tps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/betagouv/tps/git/refs{/sha}","trees_url":"https://api.github.com/repos/betagouv/tps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/betagouv/tps/statuses/{sha}","languages_url":"https://api.github.com/repos/betagouv/tps/languages","stargazers_url":"https://api.github.com/repos/betagouv/tps/stargazers","contributors_url":"https://api.github.com/repos/betagouv/tps/contributors","subscribers_url":"https://api.github.com/repos/betagouv/tps/subscribers","subscription_url":"https://api.github.com/repos/betagouv/tps/subscription","commits_url":"https://api.github.com/repos/betagouv/tps/commits{/sha}","git_commits_url":"https://api.github.com/repos/betagouv/tps/git/commits{/sha}","comments_url":"https://api.github.com/repos/betagouv/tps/comments{/number}","issue_comment_url":"https://api.github.com/repos/betagouv/tps/issues/comments{/number}","contents_url":"https://api.github.com/repos/betagouv/tps/contents/{+path}","compare_url":"https://api.github.com/repos/betagouv/tps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/betagouv/tps/merges","archive_url":"https://api.github.com/repos/betagouv/tps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/betagouv/tps/downloads","issues_url":"https://api.github.com/repos/betagouv/tps/issues{/number}","pulls_url":"https://api.github.com/repos/betagouv/tps/pulls{/number}","milestones_url":"https://api.github.com/repos/betagouv/tps/milestones{/number}","notifications_url":"https://api.github.com/repos/betagouv/tps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/betagouv/tps/labels{/name}","releases_url":"https://api.github.com/repos/betagouv/tps/releases{/id}","deployments_url":"https://api.github.com/repos/betagouv/tps/deployments","created_at":"2015-10-13T10:01:34Z","updated_at":"2018-02-21T20:55:44Z","pushed_at":"2018-02-22T11:01:18Z","git_url":"git://github.com/betagouv/tps.git","ssh_url":"git@github.com:betagouv/tps.git","clone_url":"https://github.com/betagouv/tps.git","svn_url":"https://github.com/betagouv/tps","homepage":"https://tps.apientreprise.fr","size":19474,"stargazers_count":23,"watchers_count":23,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":416,"license":null,"forks":7,"open_issues":416,"watchers":23,"default_branch":"dev"}},"base":{"label":"betagouv:dev","ref":"dev","sha":"adffe1cd055fc259e39b08ba76b8f5d30c178a7b","user":{"login":"betagouv","id":7874148,"avatar_url":"https://avatars0.githubusercontent.com/u/7874148?v=4","gravatar_id":"","url":"https://api.github.com/users/betagouv","html_url":"https://github.com/betagouv","followers_url":"https://api.github.com/users/betagouv/followers","following_url":"https://api.github.com/users/betagouv/following{/other_user}","gists_url":"https://api.github.com/users/betagouv/gists{/gist_id}","starred_url":"https://api.github.com/users/betagouv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betagouv/subscriptions","organizations_url":"https://api.github.com/users/betagouv/orgs","repos_url":"https://api.github.com/users/betagouv/repos","events_url":"https://api.github.com/users/betagouv/events{/privacy}","received_events_url":"https://api.github.com/users/betagouv/received_events","type":"Organization","site_admin":false},"repo":{"id":44167674,"name":"tps","full_name":"betagouv/tps","owner":{"login":"betagouv","id":7874148,"avatar_url":"https://avatars0.githubusercontent.com/u/7874148?v=4","gravatar_id":"","url":"https://api.github.com/users/betagouv","html_url":"https://github.com/betagouv","followers_url":"https://api.github.com/users/betagouv/followers","following_url":"https://api.github.com/users/betagouv/following{/other_user}","gists_url":"https://api.github.com/users/betagouv/gists{/gist_id}","starred_url":"https://api.github.com/users/betagouv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betagouv/subscriptions","organizations_url":"https://api.github.com/users/betagouv/orgs","repos_url":"https://api.github.com/users/betagouv/repos","events_url":"https://api.github.com/users/betagouv/events{/privacy}","received_events_url":"https://api.github.com/users/betagouv/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/betagouv/tps","description":"Téléprocédures Simplifiées","fork":false,"url":"https://api.github.com/repos/betagouv/tps","forks_url":"https://api.github.com/repos/betagouv/tps/forks","keys_url":"https://api.github.com/repos/betagouv/tps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/betagouv/tps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/betagouv/tps/teams","hooks_url":"https://api.github.com/repos/betagouv/tps/hooks","issue_events_url":"https://api.github.com/repos/betagouv/tps/issues/events{/number}","events_url":"https://api.github.com/repos/betagouv/tps/events","assignees_url":"https://api.github.com/repos/betagouv/tps/assignees{/user}","branches_url":"https://api.github.com/repos/betagouv/tps/branches{/branch}","tags_url":"https://api.github.com/repos/betagouv/tps/tags","blobs_url":"https://api.github.com/repos/betagouv/tps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/betagouv/tps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/betagouv/tps/git/refs{/sha}","trees_url":"https://api.github.com/repos/betagouv/tps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/betagouv/tps/statuses/{sha}","languages_url":"https://api.github.com/repos/betagouv/tps/languages","stargazers_url":"https://api.github.com/repos/betagouv/tps/stargazers","contributors_url":"https://api.github.com/repos/betagouv/tps/contributors","subscribers_url":"https://api.github.com/repos/betagouv/tps/subscribers","subscription_url":"https://api.github.com/repos/betagouv/tps/subscription","commits_url":"https://api.github.com/repos/betagouv/tps/commits{/sha}","git_commits_url":"https://api.github.com/repos/betagouv/tps/git/commits{/sha}","comments_url":"https://api.github.com/repos/betagouv/tps/comments{/number}","issue_comment_url":"https://api.github.com/repos/betagouv/tps/issues/comments{/number}","contents_url":"https://api.github.com/repos/betagouv/tps/contents/{+path}","compare_url":"https://api.github.com/repos/betagouv/tps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/betagouv/tps/merges","archive_url":"https://api.github.com/repos/betagouv/tps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/betagouv/tps/downloads","issues_url":"https://api.github.com/repos/betagouv/tps/issues{/number}","pulls_url":"https://api.github.com/repos/betagouv/tps/pulls{/number}","milestones_url":"https://api.github.com/repos/betagouv/tps/milestones{/number}","notifications_url":"https://api.github.com/repos/betagouv/tps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/betagouv/tps/labels{/name}","releases_url":"https://api.github.com/repos/betagouv/tps/releases{/id}","deployments_url":"https://api.github.com/repos/betagouv/tps/deployments","created_at":"2015-10-13T10:01:34Z","updated_at":"2018-02-21T20:55:44Z","pushed_at":"2018-02-22T11:01:18Z","git_url":"git://github.com/betagouv/tps.git","ssh_url":"git@github.com:betagouv/tps.git","clone_url":"https://github.com/betagouv/tps.git","svn_url":"https://github.com/betagouv/tps","homepage":"https://tps.apientreprise.fr","size":19474,"stargazers_count":23,"watchers_count":23,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":416,"license":null,"forks":7,"open_issues":416,"watchers":23,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/betagouv/tps/pulls/1462"},"html":{"href":"https://github.com/betagouv/tps/pull/1462"},"issue":{"href":"https://api.github.com/repos/betagouv/tps/issues/1462"},"comments":{"href":"https://api.github.com/repos/betagouv/tps/issues/1462/comments"},"review_comments":{"href":"https://api.github.com/repos/betagouv/tps/pulls/1462/comments"},"review_comment":{"href":"https://api.github.com/repos/betagouv/tps/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/betagouv/tps/pulls/1462/commits"},"statuses":{"href":"https://api.github.com/repos/betagouv/tps/statuses/1bc93b7235e76910ec2ac5f54e738bbebbfd24ed"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"gregoirenovel"}}