{"action":"created","issue":{"url":"https://api.github.com/repos/moneyadviceservice/frontend/issues/950","labels_url":"https://api.github.com/repos/moneyadviceservice/frontend/issues/950/labels{/name}","comments_url":"https://api.github.com/repos/moneyadviceservice/frontend/issues/950/comments","events_url":"https://api.github.com/repos/moneyadviceservice/frontend/issues/950/events","html_url":"https://github.com/moneyadviceservice/frontend/pull/950","id":62378639,"number":950,"title":"Making latest tools_<generated_asset_hash>.js available as tools.js","user":{"login":"JiggyPete","id":67151,"avatar_url":"https://avatars.githubusercontent.com/u/67151?v=3","gravatar_id":"","url":"https://api.github.com/users/JiggyPete","html_url":"https://github.com/JiggyPete","followers_url":"https://api.github.com/users/JiggyPete/followers","following_url":"https://api.github.com/users/JiggyPete/following{/other_user}","gists_url":"https://api.github.com/users/JiggyPete/gists{/gist_id}","starred_url":"https://api.github.com/users/JiggyPete/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JiggyPete/subscriptions","organizations_url":"https://api.github.com/users/JiggyPete/orgs","repos_url":"https://api.github.com/users/JiggyPete/repos","events_url":"https://api.github.com/users/JiggyPete/events{/privacy}","received_events_url":"https://api.github.com/users/JiggyPete/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-17T12:07:47Z","updated_at":"2015-03-17T14:05:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/moneyadviceservice/frontend/pulls/950","html_url":"https://github.com/moneyadviceservice/frontend/pull/950","diff_url":"https://github.com/moneyadviceservice/frontend/pull/950.diff","patch_url":"https://github.com/moneyadviceservice/frontend/pull/950.patch"},"body":"We want to stop serving tools.js from public website and move this to frontend. \r\nAll the embedded partner-tools make use of /assets/syndication/tools.js\r\nWe need to make this a seamless migration.\r\n\r\nThis PR creates \"tools.js\" with a kind of 'after' hook on assets:precompile.\r\n\r\nWe are unsure if we need to update the scripts repo as the tools.js from public_website is currently zipped up as 'static-content' and served by nginx. Ideally we want to be using the new version from frontend."},"comment":{"url":"https://api.github.com/repos/moneyadviceservice/frontend/issues/comments/82370846","html_url":"https://github.com/moneyadviceservice/frontend/pull/950#issuecomment-82370846","issue_url":"https://api.github.com/repos/moneyadviceservice/frontend/issues/950","id":82370846,"user":{"login":"neoeno","id":1007202,"avatar_url":"https://avatars.githubusercontent.com/u/1007202?v=3","gravatar_id":"","url":"https://api.github.com/users/neoeno","html_url":"https://github.com/neoeno","followers_url":"https://api.github.com/users/neoeno/followers","following_url":"https://api.github.com/users/neoeno/following{/other_user}","gists_url":"https://api.github.com/users/neoeno/gists{/gist_id}","starred_url":"https://api.github.com/users/neoeno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neoeno/subscriptions","organizations_url":"https://api.github.com/users/neoeno/orgs","repos_url":"https://api.github.com/users/neoeno/repos","events_url":"https://api.github.com/users/neoeno/events{/privacy}","received_events_url":"https://api.github.com/users/neoeno/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T14:05:38Z","updated_at":"2015-03-17T14:05:38Z","body":"It's usually generated on asset precompile and rails uses it for some reasons I learned about about six months ago but have since forgotten. \r\n\r\nIn frontend, if you run a precompile and then `ls public/a/manifest*` you should see a file there."}}