{"action":"closed","number":13,"pull_request":{"url":"https://api.github.com/repos/ferlores/mochify-istanbul/pulls/13","id":36212940,"html_url":"https://github.com/ferlores/mochify-istanbul/pull/13","diff_url":"https://github.com/ferlores/mochify-istanbul/pull/13.diff","patch_url":"https://github.com/ferlores/mochify-istanbul/pull/13.patch","issue_url":"https://api.github.com/repos/ferlores/mochify-istanbul/issues/13","number":13,"state":"closed","locked":false,"title":"[minor] only add after hook once to allow correct processing of mulitple files","user":{"login":"Swaagie","id":670951,"avatar_url":"https://avatars.githubusercontent.com/u/670951?v=3","gravatar_id":"","url":"https://api.github.com/users/Swaagie","html_url":"https://github.com/Swaagie","followers_url":"https://api.github.com/users/Swaagie/followers","following_url":"https://api.github.com/users/Swaagie/following{/other_user}","gists_url":"https://api.github.com/users/Swaagie/gists{/gist_id}","starred_url":"https://api.github.com/users/Swaagie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Swaagie/subscriptions","organizations_url":"https://api.github.com/users/Swaagie/orgs","repos_url":"https://api.github.com/users/Swaagie/repos","events_url":"https://api.github.com/users/Swaagie/events{/privacy}","received_events_url":"https://api.github.com/users/Swaagie/received_events","type":"User","site_admin":false},"body":"Allows processing of multiple files, it seems that the transform instrumenter would add multiple after hooks. Where only the first hook would output the correct coverage information, all others lacked coverage from subsequent files.\r\n\r\nCouldn't find a neat stream to hook into, e.g. `end` event or similar, so just opted for a flag.","created_at":"2015-05-26T15:14:28Z","updated_at":"2015-05-27T05:19:55Z","closed_at":"2015-05-27T05:19:55Z","merged_at":"2015-05-27T05:19:55Z","merge_commit_sha":"84b18248a07809ace5b996ad89adf64ed0edbe91","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ferlores/mochify-istanbul/pulls/13/commits","review_comments_url":"https://api.github.com/repos/ferlores/mochify-istanbul/pulls/13/comments","review_comment_url":"https://api.github.com/repos/ferlores/mochify-istanbul/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ferlores/mochify-istanbul/issues/13/comments","statuses_url":"https://api.github.com/repos/ferlores/mochify-istanbul/statuses/4def6c68fa8abbd3c78b61eaf495a81ae59aaf02","head":{"label":"Swaagie:master","ref":"master","sha":"4def6c68fa8abbd3c78b61eaf495a81ae59aaf02","user":{"login":"Swaagie","id":670951,"avatar_url":"https://avatars.githubusercontent.com/u/670951?v=3","gravatar_id":"","url":"https://api.github.com/users/Swaagie","html_url":"https://github.com/Swaagie","followers_url":"https://api.github.com/users/Swaagie/followers","following_url":"https://api.github.com/users/Swaagie/following{/other_user}","gists_url":"https://api.github.com/users/Swaagie/gists{/gist_id}","starred_url":"https://api.github.com/users/Swaagie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Swaagie/subscriptions","organizations_url":"https://api.github.com/users/Swaagie/orgs","repos_url":"https://api.github.com/users/Swaagie/repos","events_url":"https://api.github.com/users/Swaagie/events{/privacy}","received_events_url":"https://api.github.com/users/Swaagie/received_events","type":"User","site_admin":false},"repo":{"id":36301314,"name":"mochify-istanbul","full_name":"Swaagie/mochify-istanbul","owner":{"login":"Swaagie","id":670951,"avatar_url":"https://avatars.githubusercontent.com/u/670951?v=3","gravatar_id":"","url":"https://api.github.com/users/Swaagie","html_url":"https://github.com/Swaagie","followers_url":"https://api.github.com/users/Swaagie/followers","following_url":"https://api.github.com/users/Swaagie/following{/other_user}","gists_url":"https://api.github.com/users/Swaagie/gists{/gist_id}","starred_url":"https://api.github.com/users/Swaagie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Swaagie/subscriptions","organizations_url":"https://api.github.com/users/Swaagie/orgs","repos_url":"https://api.github.com/users/Swaagie/repos","events_url":"https://api.github.com/users/Swaagie/events{/privacy}","received_events_url":"https://api.github.com/users/Swaagie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Swaagie/mochify-istanbul","description":"Instrument + create reports using istanbul with the mochify stream","fork":true,"url":"https://api.github.com/repos/Swaagie/mochify-istanbul","forks_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/forks","keys_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/teams","hooks_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/hooks","issue_events_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/issues/events{/number}","events_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/events","assignees_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/assignees{/user}","branches_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/branches{/branch}","tags_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/tags","blobs_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/git/refs{/sha}","trees_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/statuses/{sha}","languages_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/languages","stargazers_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/stargazers","contributors_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/contributors","subscribers_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/subscribers","subscription_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/subscription","commits_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/commits{/sha}","git_commits_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/git/commits{/sha}","comments_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/comments{/number}","issue_comment_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/issues/comments{/number}","contents_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/contents/{+path}","compare_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/merges","archive_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/downloads","issues_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/issues{/number}","pulls_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/pulls{/number}","milestones_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/milestones{/number}","notifications_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/labels{/name}","releases_url":"https://api.github.com/repos/Swaagie/mochify-istanbul/releases{/id}","created_at":"2015-05-26T14:27:33Z","updated_at":"2015-05-26T14:27:33Z","pushed_at":"2015-05-26T15:08:00Z","git_url":"git://github.com/Swaagie/mochify-istanbul.git","ssh_url":"git@github.com:Swaagie/mochify-istanbul.git","clone_url":"https://github.com/Swaagie/mochify-istanbul.git","svn_url":"https://github.com/Swaagie/mochify-istanbul","homepage":"","size":327,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"ferlores:master","ref":"master","sha":"29ae2bc238f7f7eb1f08d4083ad0454334a17cbe","user":{"login":"ferlores","id":972699,"avatar_url":"https://avatars.githubusercontent.com/u/972699?v=3","gravatar_id":"","url":"https://api.github.com/users/ferlores","html_url":"https://github.com/ferlores","followers_url":"https://api.github.com/users/ferlores/followers","following_url":"https://api.github.com/users/ferlores/following{/other_user}","gists_url":"https://api.github.com/users/ferlores/gists{/gist_id}","starred_url":"https://api.github.com/users/ferlores/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferlores/subscriptions","organizations_url":"https://api.github.com/users/ferlores/orgs","repos_url":"https://api.github.com/users/ferlores/repos","events_url":"https://api.github.com/users/ferlores/events{/privacy}","received_events_url":"https://api.github.com/users/ferlores/received_events","type":"User","site_admin":false},"repo":{"id":26877319,"name":"mochify-istanbul","full_name":"ferlores/mochify-istanbul","owner":{"login":"ferlores","id":972699,"avatar_url":"https://avatars.githubusercontent.com/u/972699?v=3","gravatar_id":"","url":"https://api.github.com/users/ferlores","html_url":"https://github.com/ferlores","followers_url":"https://api.github.com/users/ferlores/followers","following_url":"https://api.github.com/users/ferlores/following{/other_user}","gists_url":"https://api.github.com/users/ferlores/gists{/gist_id}","starred_url":"https://api.github.com/users/ferlores/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferlores/subscriptions","organizations_url":"https://api.github.com/users/ferlores/orgs","repos_url":"https://api.github.com/users/ferlores/repos","events_url":"https://api.github.com/users/ferlores/events{/privacy}","received_events_url":"https://api.github.com/users/ferlores/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ferlores/mochify-istanbul","description":"Instrument + create reports using istanbul with the mochify stream","fork":false,"url":"https://api.github.com/repos/ferlores/mochify-istanbul","forks_url":"https://api.github.com/repos/ferlores/mochify-istanbul/forks","keys_url":"https://api.github.com/repos/ferlores/mochify-istanbul/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ferlores/mochify-istanbul/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ferlores/mochify-istanbul/teams","hooks_url":"https://api.github.com/repos/ferlores/mochify-istanbul/hooks","issue_events_url":"https://api.github.com/repos/ferlores/mochify-istanbul/issues/events{/number}","events_url":"https://api.github.com/repos/ferlores/mochify-istanbul/events","assignees_url":"https://api.github.com/repos/ferlores/mochify-istanbul/assignees{/user}","branches_url":"https://api.github.com/repos/ferlores/mochify-istanbul/branches{/branch}","tags_url":"https://api.github.com/repos/ferlores/mochify-istanbul/tags","blobs_url":"https://api.github.com/repos/ferlores/mochify-istanbul/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ferlores/mochify-istanbul/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ferlores/mochify-istanbul/git/refs{/sha}","trees_url":"https://api.github.com/repos/ferlores/mochify-istanbul/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ferlores/mochify-istanbul/statuses/{sha}","languages_url":"https://api.github.com/repos/ferlores/mochify-istanbul/languages","stargazers_url":"https://api.github.com/repos/ferlores/mochify-istanbul/stargazers","contributors_url":"https://api.github.com/repos/ferlores/mochify-istanbul/contributors","subscribers_url":"https://api.github.com/repos/ferlores/mochify-istanbul/subscribers","subscription_url":"https://api.github.com/repos/ferlores/mochify-istanbul/subscription","commits_url":"https://api.github.com/repos/ferlores/mochify-istanbul/commits{/sha}","git_commits_url":"https://api.github.com/repos/ferlores/mochify-istanbul/git/commits{/sha}","comments_url":"https://api.github.com/repos/ferlores/mochify-istanbul/comments{/number}","issue_comment_url":"https://api.github.com/repos/ferlores/mochify-istanbul/issues/comments{/number}","contents_url":"https://api.github.com/repos/ferlores/mochify-istanbul/contents/{+path}","compare_url":"https://api.github.com/repos/ferlores/mochify-istanbul/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ferlores/mochify-istanbul/merges","archive_url":"https://api.github.com/repos/ferlores/mochify-istanbul/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ferlores/mochify-istanbul/downloads","issues_url":"https://api.github.com/repos/ferlores/mochify-istanbul/issues{/number}","pulls_url":"https://api.github.com/repos/ferlores/mochify-istanbul/pulls{/number}","milestones_url":"https://api.github.com/repos/ferlores/mochify-istanbul/milestones{/number}","notifications_url":"https://api.github.com/repos/ferlores/mochify-istanbul/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ferlores/mochify-istanbul/labels{/name}","releases_url":"https://api.github.com/repos/ferlores/mochify-istanbul/releases{/id}","created_at":"2014-11-19T19:19:12Z","updated_at":"2015-05-03T22:58:12Z","pushed_at":"2015-05-27T05:19:55Z","git_url":"git://github.com/ferlores/mochify-istanbul.git","ssh_url":"git@github.com:ferlores/mochify-istanbul.git","clone_url":"https://github.com/ferlores/mochify-istanbul.git","svn_url":"https://github.com/ferlores/mochify-istanbul","homepage":"","size":327,"stargazers_count":12,"watchers_count":12,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ferlores/mochify-istanbul/pulls/13"},"html":{"href":"https://github.com/ferlores/mochify-istanbul/pull/13"},"issue":{"href":"https://api.github.com/repos/ferlores/mochify-istanbul/issues/13"},"comments":{"href":"https://api.github.com/repos/ferlores/mochify-istanbul/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/ferlores/mochify-istanbul/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/ferlores/mochify-istanbul/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ferlores/mochify-istanbul/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/ferlores/mochify-istanbul/statuses/4def6c68fa8abbd3c78b61eaf495a81ae59aaf02"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ferlores","id":972699,"avatar_url":"https://avatars.githubusercontent.com/u/972699?v=3","gravatar_id":"","url":"https://api.github.com/users/ferlores","html_url":"https://github.com/ferlores","followers_url":"https://api.github.com/users/ferlores/followers","following_url":"https://api.github.com/users/ferlores/following{/other_user}","gists_url":"https://api.github.com/users/ferlores/gists{/gist_id}","starred_url":"https://api.github.com/users/ferlores/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferlores/subscriptions","organizations_url":"https://api.github.com/users/ferlores/orgs","repos_url":"https://api.github.com/users/ferlores/repos","events_url":"https://api.github.com/users/ferlores/events{/privacy}","received_events_url":"https://api.github.com/users/ferlores/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":30,"deletions":6,"changed_files":2}}