{"action":"closed","number":17,"pull_request":{"url":"https://api.github.com/repos/nickbruun/hayai/pulls/17","id":32183579,"html_url":"https://github.com/nickbruun/hayai/pull/17","diff_url":"https://github.com/nickbruun/hayai/pull/17.diff","patch_url":"https://github.com/nickbruun/hayai/pull/17.patch","issue_url":"https://api.github.com/repos/nickbruun/hayai/issues/17","number":17,"state":"closed","locked":false,"title":"FileOutputter added.","user":{"login":"ligoore","id":8387918,"avatar_url":"https://avatars.githubusercontent.com/u/8387918?v=3","gravatar_id":"","url":"https://api.github.com/users/ligoore","html_url":"https://github.com/ligoore","followers_url":"https://api.github.com/users/ligoore/followers","following_url":"https://api.github.com/users/ligoore/following{/other_user}","gists_url":"https://api.github.com/users/ligoore/gists{/gist_id}","starred_url":"https://api.github.com/users/ligoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ligoore/subscriptions","organizations_url":"https://api.github.com/users/ligoore/orgs","repos_url":"https://api.github.com/users/ligoore/repos","events_url":"https://api.github.com/users/ligoore/events{/privacy}","received_events_url":"https://api.github.com/users/ligoore/received_events","type":"User","site_admin":false},"body":"I've created a simple FileOutputter based on ConsoleOutputter. Both classes now inherit from StreamOutputter and assign a proper stream to the pointer - ofstream or cout. In case the file can't be opened FileOutputter prints to cout, so the result is not lost.\r\n\r\nI find this very useful on Windows IDE's where I don't have the convenience of '>' output redirection. I thought some people could be in the same situation so this would save them from manual typing.","created_at":"2015-03-29T15:54:45Z","updated_at":"2015-05-08T20:39:11Z","closed_at":"2015-05-08T20:39:11Z","merged_at":null,"merge_commit_sha":"934f125e45e9cd7bfe208b3907eb71de3293f432","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nickbruun/hayai/pulls/17/commits","review_comments_url":"https://api.github.com/repos/nickbruun/hayai/pulls/17/comments","review_comment_url":"https://api.github.com/repos/nickbruun/hayai/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nickbruun/hayai/issues/17/comments","statuses_url":"https://api.github.com/repos/nickbruun/hayai/statuses/194147bfe2a55a98c49de8cf7e6cdf13a6811794","head":{"label":"ligoore:master","ref":"master","sha":"194147bfe2a55a98c49de8cf7e6cdf13a6811794","user":{"login":"ligoore","id":8387918,"avatar_url":"https://avatars.githubusercontent.com/u/8387918?v=3","gravatar_id":"","url":"https://api.github.com/users/ligoore","html_url":"https://github.com/ligoore","followers_url":"https://api.github.com/users/ligoore/followers","following_url":"https://api.github.com/users/ligoore/following{/other_user}","gists_url":"https://api.github.com/users/ligoore/gists{/gist_id}","starred_url":"https://api.github.com/users/ligoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ligoore/subscriptions","organizations_url":"https://api.github.com/users/ligoore/orgs","repos_url":"https://api.github.com/users/ligoore/repos","events_url":"https://api.github.com/users/ligoore/events{/privacy}","received_events_url":"https://api.github.com/users/ligoore/received_events","type":"User","site_admin":false},"repo":{"id":33078339,"name":"hayai","full_name":"ligoore/hayai","owner":{"login":"ligoore","id":8387918,"avatar_url":"https://avatars.githubusercontent.com/u/8387918?v=3","gravatar_id":"","url":"https://api.github.com/users/ligoore","html_url":"https://github.com/ligoore","followers_url":"https://api.github.com/users/ligoore/followers","following_url":"https://api.github.com/users/ligoore/following{/other_user}","gists_url":"https://api.github.com/users/ligoore/gists{/gist_id}","starred_url":"https://api.github.com/users/ligoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ligoore/subscriptions","organizations_url":"https://api.github.com/users/ligoore/orgs","repos_url":"https://api.github.com/users/ligoore/repos","events_url":"https://api.github.com/users/ligoore/events{/privacy}","received_events_url":"https://api.github.com/users/ligoore/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ligoore/hayai","description":"C++ benchmarking framework","fork":true,"url":"https://api.github.com/repos/ligoore/hayai","forks_url":"https://api.github.com/repos/ligoore/hayai/forks","keys_url":"https://api.github.com/repos/ligoore/hayai/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ligoore/hayai/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ligoore/hayai/teams","hooks_url":"https://api.github.com/repos/ligoore/hayai/hooks","issue_events_url":"https://api.github.com/repos/ligoore/hayai/issues/events{/number}","events_url":"https://api.github.com/repos/ligoore/hayai/events","assignees_url":"https://api.github.com/repos/ligoore/hayai/assignees{/user}","branches_url":"https://api.github.com/repos/ligoore/hayai/branches{/branch}","tags_url":"https://api.github.com/repos/ligoore/hayai/tags","blobs_url":"https://api.github.com/repos/ligoore/hayai/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ligoore/hayai/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ligoore/hayai/git/refs{/sha}","trees_url":"https://api.github.com/repos/ligoore/hayai/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ligoore/hayai/statuses/{sha}","languages_url":"https://api.github.com/repos/ligoore/hayai/languages","stargazers_url":"https://api.github.com/repos/ligoore/hayai/stargazers","contributors_url":"https://api.github.com/repos/ligoore/hayai/contributors","subscribers_url":"https://api.github.com/repos/ligoore/hayai/subscribers","subscription_url":"https://api.github.com/repos/ligoore/hayai/subscription","commits_url":"https://api.github.com/repos/ligoore/hayai/commits{/sha}","git_commits_url":"https://api.github.com/repos/ligoore/hayai/git/commits{/sha}","comments_url":"https://api.github.com/repos/ligoore/hayai/comments{/number}","issue_comment_url":"https://api.github.com/repos/ligoore/hayai/issues/comments{/number}","contents_url":"https://api.github.com/repos/ligoore/hayai/contents/{+path}","compare_url":"https://api.github.com/repos/ligoore/hayai/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ligoore/hayai/merges","archive_url":"https://api.github.com/repos/ligoore/hayai/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ligoore/hayai/downloads","issues_url":"https://api.github.com/repos/ligoore/hayai/issues{/number}","pulls_url":"https://api.github.com/repos/ligoore/hayai/pulls{/number}","milestones_url":"https://api.github.com/repos/ligoore/hayai/milestones{/number}","notifications_url":"https://api.github.com/repos/ligoore/hayai/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ligoore/hayai/labels{/name}","releases_url":"https://api.github.com/repos/ligoore/hayai/releases{/id}","created_at":"2015-03-29T15:33:34Z","updated_at":"2015-03-29T15:38:47Z","pushed_at":"2015-03-29T15:38:47Z","git_url":"git://github.com/ligoore/hayai.git","ssh_url":"git@github.com:ligoore/hayai.git","clone_url":"https://github.com/ligoore/hayai.git","svn_url":"https://github.com/ligoore/hayai","homepage":"http://nickbruun.dk/2012/02/07/easy-cpp-benchmarking/","size":167,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"nickbruun:master","ref":"master","sha":"a87a14b7ee2bad0eafbabdb0c169f4f732021890","user":{"login":"nickbruun","id":336765,"avatar_url":"https://avatars.githubusercontent.com/u/336765?v=3","gravatar_id":"","url":"https://api.github.com/users/nickbruun","html_url":"https://github.com/nickbruun","followers_url":"https://api.github.com/users/nickbruun/followers","following_url":"https://api.github.com/users/nickbruun/following{/other_user}","gists_url":"https://api.github.com/users/nickbruun/gists{/gist_id}","starred_url":"https://api.github.com/users/nickbruun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickbruun/subscriptions","organizations_url":"https://api.github.com/users/nickbruun/orgs","repos_url":"https://api.github.com/users/nickbruun/repos","events_url":"https://api.github.com/users/nickbruun/events{/privacy}","received_events_url":"https://api.github.com/users/nickbruun/received_events","type":"User","site_admin":false},"repo":{"id":3379786,"name":"hayai","full_name":"nickbruun/hayai","owner":{"login":"nickbruun","id":336765,"avatar_url":"https://avatars.githubusercontent.com/u/336765?v=3","gravatar_id":"","url":"https://api.github.com/users/nickbruun","html_url":"https://github.com/nickbruun","followers_url":"https://api.github.com/users/nickbruun/followers","following_url":"https://api.github.com/users/nickbruun/following{/other_user}","gists_url":"https://api.github.com/users/nickbruun/gists{/gist_id}","starred_url":"https://api.github.com/users/nickbruun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickbruun/subscriptions","organizations_url":"https://api.github.com/users/nickbruun/orgs","repos_url":"https://api.github.com/users/nickbruun/repos","events_url":"https://api.github.com/users/nickbruun/events{/privacy}","received_events_url":"https://api.github.com/users/nickbruun/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nickbruun/hayai","description":"C++ benchmarking framework","fork":false,"url":"https://api.github.com/repos/nickbruun/hayai","forks_url":"https://api.github.com/repos/nickbruun/hayai/forks","keys_url":"https://api.github.com/repos/nickbruun/hayai/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nickbruun/hayai/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nickbruun/hayai/teams","hooks_url":"https://api.github.com/repos/nickbruun/hayai/hooks","issue_events_url":"https://api.github.com/repos/nickbruun/hayai/issues/events{/number}","events_url":"https://api.github.com/repos/nickbruun/hayai/events","assignees_url":"https://api.github.com/repos/nickbruun/hayai/assignees{/user}","branches_url":"https://api.github.com/repos/nickbruun/hayai/branches{/branch}","tags_url":"https://api.github.com/repos/nickbruun/hayai/tags","blobs_url":"https://api.github.com/repos/nickbruun/hayai/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nickbruun/hayai/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nickbruun/hayai/git/refs{/sha}","trees_url":"https://api.github.com/repos/nickbruun/hayai/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nickbruun/hayai/statuses/{sha}","languages_url":"https://api.github.com/repos/nickbruun/hayai/languages","stargazers_url":"https://api.github.com/repos/nickbruun/hayai/stargazers","contributors_url":"https://api.github.com/repos/nickbruun/hayai/contributors","subscribers_url":"https://api.github.com/repos/nickbruun/hayai/subscribers","subscription_url":"https://api.github.com/repos/nickbruun/hayai/subscription","commits_url":"https://api.github.com/repos/nickbruun/hayai/commits{/sha}","git_commits_url":"https://api.github.com/repos/nickbruun/hayai/git/commits{/sha}","comments_url":"https://api.github.com/repos/nickbruun/hayai/comments{/number}","issue_comment_url":"https://api.github.com/repos/nickbruun/hayai/issues/comments{/number}","contents_url":"https://api.github.com/repos/nickbruun/hayai/contents/{+path}","compare_url":"https://api.github.com/repos/nickbruun/hayai/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nickbruun/hayai/merges","archive_url":"https://api.github.com/repos/nickbruun/hayai/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nickbruun/hayai/downloads","issues_url":"https://api.github.com/repos/nickbruun/hayai/issues{/number}","pulls_url":"https://api.github.com/repos/nickbruun/hayai/pulls{/number}","milestones_url":"https://api.github.com/repos/nickbruun/hayai/milestones{/number}","notifications_url":"https://api.github.com/repos/nickbruun/hayai/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nickbruun/hayai/labels{/name}","releases_url":"https://api.github.com/repos/nickbruun/hayai/releases{/id}","created_at":"2012-02-07T17:49:39Z","updated_at":"2015-05-03T16:36:51Z","pushed_at":"2015-03-29T15:54:46Z","git_url":"git://github.com/nickbruun/hayai.git","ssh_url":"git@github.com:nickbruun/hayai.git","clone_url":"https://github.com/nickbruun/hayai.git","svn_url":"https://github.com/nickbruun/hayai","homepage":"http://nickbruun.dk/2012/02/07/easy-cpp-benchmarking/","size":473,"stargazers_count":75,"watchers_count":75,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":2,"forks":27,"open_issues":2,"watchers":75,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nickbruun/hayai/pulls/17"},"html":{"href":"https://github.com/nickbruun/hayai/pull/17"},"issue":{"href":"https://api.github.com/repos/nickbruun/hayai/issues/17"},"comments":{"href":"https://api.github.com/repos/nickbruun/hayai/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/nickbruun/hayai/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/nickbruun/hayai/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nickbruun/hayai/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/nickbruun/hayai/statuses/194147bfe2a55a98c49de8cf7e6cdf13a6811794"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":295,"deletions":225,"changed_files":6}}