{"action":"created","comment":{"url":"https://api.github.com/repos/alphagov/multipage-frontend/pulls/comments/88623448","pull_request_review_id":9191561,"id":88623448,"diff_hunk":"@@ -1,8 +1,10 @@\n if ENV['ERRBIT_API_KEY'].present?\n+  errbit_uri = Plek.find('errbit')\n+\n   Airbrake.configure do |config|\n-    config.api_key = ENV['ERRBIT_API_KEY']\n-    config.host = \"errbit.#{ENV['GOVUK_APP_DOMAIN']}\"\n-    config.secure = true\n-    config.environment_name = ENV['ERRBIT_ENVIRONMENT_NAME']\n+    config.project_key = ENV['ERRBIT_API_KEY']\n+    config.project_id = 1 # dummy, not used in Errbit\n+    config.host = errbit_uri","path":"config/initializers/airbrake.rb","position":11,"original_position":11,"commit_id":"84a04748ffb4f68fb5b7a4162c33b748b461f9d8","original_commit_id":"84a04748ffb4f68fb5b7a4162c33b748b461f9d8","user":{"login":"danielroseman","id":131395,"avatar_url":"https://avatars.githubusercontent.com/u/131395?v=3","gravatar_id":"","url":"https://api.github.com/users/danielroseman","html_url":"https://github.com/danielroseman","followers_url":"https://api.github.com/users/danielroseman/followers","following_url":"https://api.github.com/users/danielroseman/following{/other_user}","gists_url":"https://api.github.com/users/danielroseman/gists{/gist_id}","starred_url":"https://api.github.com/users/danielroseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielroseman/subscriptions","organizations_url":"https://api.github.com/users/danielroseman/orgs","repos_url":"https://api.github.com/users/danielroseman/repos","events_url":"https://api.github.com/users/danielroseman/events{/privacy}","received_events_url":"https://api.github.com/users/danielroseman/received_events","type":"User","site_admin":false},"body":"This is the same code that we've used for all the various Rails 5 upgrades, eg https://github.com/alphagov/publishing-api/blob/master/config/initializers/airbrake.rb, so I'm confident it works.","created_at":"2016-11-18T09:28:26Z","updated_at":"2016-11-18T09:28:26Z","html_url":"https://github.com/alphagov/multipage-frontend/pull/45#discussion_r88623448","pull_request_url":"https://api.github.com/repos/alphagov/multipage-frontend/pulls/45","_links":{"self":{"href":"https://api.github.com/repos/alphagov/multipage-frontend/pulls/comments/88623448"},"html":{"href":"https://github.com/alphagov/multipage-frontend/pull/45#discussion_r88623448"},"pull_request":{"href":"https://api.github.com/repos/alphagov/multipage-frontend/pulls/45"}}},"pull_request":{"url":"https://api.github.com/repos/alphagov/multipage-frontend/pulls/45","id":91624328,"html_url":"https://github.com/alphagov/multipage-frontend/pull/45","diff_url":"https://github.com/alphagov/multipage-frontend/pull/45.diff","patch_url":"https://github.com/alphagov/multipage-frontend/pull/45.patch","issue_url":"https://api.github.com/repos/alphagov/multipage-frontend/issues/45","number":45,"state":"open","locked":false,"title":"Upgrade to Rails 5","user":{"login":"danielroseman","id":131395,"avatar_url":"https://avatars.githubusercontent.com/u/131395?v=3","gravatar_id":"","url":"https://api.github.com/users/danielroseman","html_url":"https://github.com/danielroseman","followers_url":"https://api.github.com/users/danielroseman/followers","following_url":"https://api.github.com/users/danielroseman/following{/other_user}","gists_url":"https://api.github.com/users/danielroseman/gists{/gist_id}","starred_url":"https://api.github.com/users/danielroseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielroseman/subscriptions","organizations_url":"https://api.github.com/users/danielroseman/orgs","repos_url":"https://api.github.com/users/danielroseman/repos","events_url":"https://api.github.com/users/danielroseman/events{/privacy}","received_events_url":"https://api.github.com/users/danielroseman/received_events","type":"User","site_admin":false},"body":"Mainly configuration changes and fixes for deprecations.","created_at":"2016-10-31T14:59:11Z","updated_at":"2016-11-18T09:28:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e3d5b2f381433f59ee1b46e53ae78e75accf190f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/multipage-frontend/pulls/45/commits","review_comments_url":"https://api.github.com/repos/alphagov/multipage-frontend/pulls/45/comments","review_comment_url":"https://api.github.com/repos/alphagov/multipage-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/multipage-frontend/issues/45/comments","statuses_url":"https://api.github.com/repos/alphagov/multipage-frontend/statuses/84a04748ffb4f68fb5b7a4162c33b748b461f9d8","head":{"label":"alphagov:rails-5","ref":"rails-5","sha":"84a04748ffb4f68fb5b7a4162c33b748b461f9d8","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":48992304,"name":"multipage-frontend","full_name":"alphagov/multipage-frontend","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/multipage-frontend","description":"A frontend application for rendering content across multiple pages","fork":false,"url":"https://api.github.com/repos/alphagov/multipage-frontend","forks_url":"https://api.github.com/repos/alphagov/multipage-frontend/forks","keys_url":"https://api.github.com/repos/alphagov/multipage-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/multipage-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/multipage-frontend/teams","hooks_url":"https://api.github.com/repos/alphagov/multipage-frontend/hooks","issue_events_url":"https://api.github.com/repos/alphagov/multipage-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/multipage-frontend/events","assignees_url":"https://api.github.com/repos/alphagov/multipage-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/multipage-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/multipage-frontend/tags","blobs_url":"https://api.github.com/repos/alphagov/multipage-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/multipage-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/multipage-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/multipage-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/multipage-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/multipage-frontend/languages","stargazers_url":"https://api.github.com/repos/alphagov/multipage-frontend/stargazers","contributors_url":"https://api.github.com/repos/alphagov/multipage-frontend/contributors","subscribers_url":"https://api.github.com/repos/alphagov/multipage-frontend/subscribers","subscription_url":"https://api.github.com/repos/alphagov/multipage-frontend/subscription","commits_url":"https://api.github.com/repos/alphagov/multipage-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/multipage-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/multipage-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/multipage-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/multipage-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/multipage-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/multipage-frontend/merges","archive_url":"https://api.github.com/repos/alphagov/multipage-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/multipage-frontend/downloads","issues_url":"https://api.github.com/repos/alphagov/multipage-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/multipage-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/multipage-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/multipage-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/multipage-frontend/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/multipage-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/multipage-frontend/deployments","created_at":"2016-01-04T11:13:18Z","updated_at":"2016-04-29T09:50:21Z","pushed_at":"2016-10-31T14:59:11Z","git_url":"git://github.com/alphagov/multipage-frontend.git","ssh_url":"git@github.com:alphagov/multipage-frontend.git","clone_url":"https://github.com/alphagov/multipage-frontend.git","svn_url":"https://github.com/alphagov/multipage-frontend","homepage":"","size":242,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"4bcfa99526be326888c04eaf12598785a6920e00","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":48992304,"name":"multipage-frontend","full_name":"alphagov/multipage-frontend","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/multipage-frontend","description":"A frontend application for rendering content across multiple pages","fork":false,"url":"https://api.github.com/repos/alphagov/multipage-frontend","forks_url":"https://api.github.com/repos/alphagov/multipage-frontend/forks","keys_url":"https://api.github.com/repos/alphagov/multipage-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/multipage-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/multipage-frontend/teams","hooks_url":"https://api.github.com/repos/alphagov/multipage-frontend/hooks","issue_events_url":"https://api.github.com/repos/alphagov/multipage-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/multipage-frontend/events","assignees_url":"https://api.github.com/repos/alphagov/multipage-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/multipage-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/multipage-frontend/tags","blobs_url":"https://api.github.com/repos/alphagov/multipage-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/multipage-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/multipage-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/multipage-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/multipage-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/multipage-frontend/languages","stargazers_url":"https://api.github.com/repos/alphagov/multipage-frontend/stargazers","contributors_url":"https://api.github.com/repos/alphagov/multipage-frontend/contributors","subscribers_url":"https://api.github.com/repos/alphagov/multipage-frontend/subscribers","subscription_url":"https://api.github.com/repos/alphagov/multipage-frontend/subscription","commits_url":"https://api.github.com/repos/alphagov/multipage-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/multipage-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/multipage-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/multipage-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/multipage-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/multipage-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/multipage-frontend/merges","archive_url":"https://api.github.com/repos/alphagov/multipage-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/multipage-frontend/downloads","issues_url":"https://api.github.com/repos/alphagov/multipage-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/multipage-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/multipage-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/multipage-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/multipage-frontend/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/multipage-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/multipage-frontend/deployments","created_at":"2016-01-04T11:13:18Z","updated_at":"2016-04-29T09:50:21Z","pushed_at":"2016-10-31T14:59:11Z","git_url":"git://github.com/alphagov/multipage-frontend.git","ssh_url":"git@github.com:alphagov/multipage-frontend.git","clone_url":"https://github.com/alphagov/multipage-frontend.git","svn_url":"https://github.com/alphagov/multipage-frontend","homepage":"","size":242,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/multipage-frontend/pulls/45"},"html":{"href":"https://github.com/alphagov/multipage-frontend/pull/45"},"issue":{"href":"https://api.github.com/repos/alphagov/multipage-frontend/issues/45"},"comments":{"href":"https://api.github.com/repos/alphagov/multipage-frontend/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/multipage-frontend/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/multipage-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/multipage-frontend/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/multipage-frontend/statuses/84a04748ffb4f68fb5b7a4162c33b748b461f9d8"}}}}
{"actor":{"display_login":"danielroseman"}}