{"action":"created","issue":{"url":"https://api.github.com/repos/acifani/soccer-go/issues/30","repository_url":"https://api.github.com/repos/acifani/soccer-go","labels_url":"https://api.github.com/repos/acifani/soccer-go/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/acifani/soccer-go/issues/30/comments","events_url":"https://api.github.com/repos/acifani/soccer-go/issues/30/events","html_url":"https://github.com/acifani/soccer-go/pull/30","id":334206694,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2MjM5NzQx","number":30,"title":"Fixed cache location","user":{"login":"matt-block","id":1713151,"node_id":"MDQ6VXNlcjE3MTMxNTE=","avatar_url":"https://avatars1.githubusercontent.com/u/1713151?v=4","gravatar_id":"","url":"https://api.github.com/users/matt-block","html_url":"https://github.com/matt-block","followers_url":"https://api.github.com/users/matt-block/followers","following_url":"https://api.github.com/users/matt-block/following{/other_user}","gists_url":"https://api.github.com/users/matt-block/gists{/gist_id}","starred_url":"https://api.github.com/users/matt-block/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matt-block/subscriptions","organizations_url":"https://api.github.com/users/matt-block/orgs","repos_url":"https://api.github.com/users/matt-block/repos","events_url":"https://api.github.com/users/matt-block/events{/privacy}","received_events_url":"https://api.github.com/users/matt-block/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-20T18:53:31Z","updated_at":"2018-06-20T18:55:23Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/acifani/soccer-go/pulls/30","html_url":"https://github.com/acifani/soccer-go/pull/30","diff_url":"https://github.com/acifani/soccer-go/pull/30.diff","patch_url":"https://github.com/acifani/soccer-go/pull/30.patch"},"body":"Until now, the cache file was created in the current working directory, which had some undesired behaviours:\r\n- For the caching strategy to work, the user had to invoke the application always from the same directory.\r\n- A cache file would have been created in each directory from which the app was initiated.\r\n- The application would have crashed if it was called from a directory where the user didn't have write permissions (inability to create the cache file).\r\n\r\nThis PR fixes the above-described issues by using [`__dirname`](https://nodejs.org/docs/latest/api/modules.html#modules_dirname) as the base directory for the cache file. By doing so the cache is consistently created in the `Cache` module directory."},"comment":{"url":"https://api.github.com/repos/acifani/soccer-go/issues/comments/398858932","html_url":"https://github.com/acifani/soccer-go/pull/30#issuecomment-398858932","issue_url":"https://api.github.com/repos/acifani/soccer-go/issues/30","id":398858932,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODg1ODkzMg==","user":{"login":"coveralls","id":2354108,"node_id":"MDQ6VXNlcjIzNTQxMDg=","avatar_url":"https://avatars1.githubusercontent.com/u/2354108?v=4","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2018-06-20T18:55:23Z","updated_at":"2018-06-20T18:55:23Z","author_association":"NONE","body":"## Pull Request Test Coverage Report for [Build 134](https://coveralls.io/builds/17597590)\n\n* **0** of **0**   changed or added relevant lines in **0** files are covered.\n* No unchanged relevant lines lost coverage.\n* Overall coverage remained the same at **88.571%**\n\n---\n\n\n\n|  Totals | [![Coverage Status](https://coveralls.io/builds/17597590/badge)](https://coveralls.io/builds/17597590) |\n| :-- | --: |\n| Change from base [Build 133](https://coveralls.io/builds/17590483): |  0.0% |\n| Covered Lines: | 27 |\n| Relevant Lines: | 29 |\n\n---\n##### 💛  - [Coveralls](https://coveralls.io)\n"}}
{"actor":{"display_login":"coveralls"}}