{"action":"closed","number":64,"pull_request":{"url":"https://api.github.com/repos/everypolitician/rebuilder/pulls/64","id":105248011,"html_url":"https://github.com/everypolitician/rebuilder/pull/64","diff_url":"https://github.com/everypolitician/rebuilder/pull/64.diff","patch_url":"https://github.com/everypolitician/rebuilder/pull/64.patch","issue_url":"https://api.github.com/repos/everypolitician/rebuilder/issues/64","number":64,"state":"closed","locked":false,"title":"Extract class for cleaning output","user":{"login":"chrismytton","id":22996,"avatar_url":"https://avatars.githubusercontent.com/u/22996?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismytton","html_url":"https://github.com/chrismytton","followers_url":"https://api.github.com/users/chrismytton/followers","following_url":"https://api.github.com/users/chrismytton/following{/other_user}","gists_url":"https://api.github.com/users/chrismytton/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismytton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismytton/subscriptions","organizations_url":"https://api.github.com/users/chrismytton/orgs","repos_url":"https://api.github.com/users/chrismytton/repos","events_url":"https://api.github.com/users/chrismytton/events{/privacy}","received_events_url":"https://api.github.com/users/chrismytton/received_events","type":"User","site_admin":false},"body":"This is a subset of https://github.com/everypolitician/rebuilder/pull/63 which just introduces a cleaned up version of the `CleanedOutput` class. Hopefully doing this as a separate change will make things a bit simpler to review in smaller steps.\r\n\r\nFixes #43 \r\nPart of #62 ","created_at":"2017-02-08T16:06:45Z","updated_at":"2017-02-08T17:27:51Z","closed_at":"2017-02-08T17:27:51Z","merged_at":"2017-02-08T17:27:51Z","merge_commit_sha":"022613e3b3df983223c04e77ce22dd5bad1ae543","assignee":{"login":"tmtmtmtm","id":57483,"avatar_url":"https://avatars.githubusercontent.com/u/57483?v=3","gravatar_id":"","url":"https://api.github.com/users/tmtmtmtm","html_url":"https://github.com/tmtmtmtm","followers_url":"https://api.github.com/users/tmtmtmtm/followers","following_url":"https://api.github.com/users/tmtmtmtm/following{/other_user}","gists_url":"https://api.github.com/users/tmtmtmtm/gists{/gist_id}","starred_url":"https://api.github.com/users/tmtmtmtm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmtmtmtm/subscriptions","organizations_url":"https://api.github.com/users/tmtmtmtm/orgs","repos_url":"https://api.github.com/users/tmtmtmtm/repos","events_url":"https://api.github.com/users/tmtmtmtm/events{/privacy}","received_events_url":"https://api.github.com/users/tmtmtmtm/received_events","type":"User","site_admin":false},"assignees":[{"login":"tmtmtmtm","id":57483,"avatar_url":"https://avatars.githubusercontent.com/u/57483?v=3","gravatar_id":"","url":"https://api.github.com/users/tmtmtmtm","html_url":"https://github.com/tmtmtmtm","followers_url":"https://api.github.com/users/tmtmtmtm/followers","following_url":"https://api.github.com/users/tmtmtmtm/following{/other_user}","gists_url":"https://api.github.com/users/tmtmtmtm/gists{/gist_id}","starred_url":"https://api.github.com/users/tmtmtmtm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmtmtmtm/subscriptions","organizations_url":"https://api.github.com/users/tmtmtmtm/orgs","repos_url":"https://api.github.com/users/tmtmtmtm/repos","events_url":"https://api.github.com/users/tmtmtmtm/events{/privacy}","received_events_url":"https://api.github.com/users/tmtmtmtm/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/everypolitician/rebuilder/pulls/64/commits","review_comments_url":"https://api.github.com/repos/everypolitician/rebuilder/pulls/64/comments","review_comment_url":"https://api.github.com/repos/everypolitician/rebuilder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/everypolitician/rebuilder/issues/64/comments","statuses_url":"https://api.github.com/repos/everypolitician/rebuilder/statuses/6abd6074a6aeee88c330da3a30caac2011af38b7","head":{"label":"everypolitician:43-extract-output-generation","ref":"43-extract-output-generation","sha":"6abd6074a6aeee88c330da3a30caac2011af38b7","user":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars.githubusercontent.com/u/12497298?v=3","gravatar_id":"","url":"https://api.github.com/users/everypolitician","html_url":"https://github.com/everypolitician","followers_url":"https://api.github.com/users/everypolitician/followers","following_url":"https://api.github.com/users/everypolitician/following{/other_user}","gists_url":"https://api.github.com/users/everypolitician/gists{/gist_id}","starred_url":"https://api.github.com/users/everypolitician/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everypolitician/subscriptions","organizations_url":"https://api.github.com/users/everypolitician/orgs","repos_url":"https://api.github.com/users/everypolitician/repos","events_url":"https://api.github.com/users/everypolitician/events{/privacy}","received_events_url":"https://api.github.com/users/everypolitician/received_events","type":"Organization","site_admin":false},"repo":{"id":44189994,"name":"rebuilder","full_name":"everypolitician/rebuilder","owner":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars.githubusercontent.com/u/12497298?v=3","gravatar_id":"","url":"https://api.github.com/users/everypolitician","html_url":"https://github.com/everypolitician","followers_url":"https://api.github.com/users/everypolitician/followers","following_url":"https://api.github.com/users/everypolitician/following{/other_user}","gists_url":"https://api.github.com/users/everypolitician/gists{/gist_id}","starred_url":"https://api.github.com/users/everypolitician/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everypolitician/subscriptions","organizations_url":"https://api.github.com/users/everypolitician/orgs","repos_url":"https://api.github.com/users/everypolitician/repos","events_url":"https://api.github.com/users/everypolitician/events{/privacy}","received_events_url":"https://api.github.com/users/everypolitician/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/everypolitician/rebuilder","description":"Generate pull requests in everypolitician-data by rebuilding a specific legislature's data from source","fork":false,"url":"https://api.github.com/repos/everypolitician/rebuilder","forks_url":"https://api.github.com/repos/everypolitician/rebuilder/forks","keys_url":"https://api.github.com/repos/everypolitician/rebuilder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/everypolitician/rebuilder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/everypolitician/rebuilder/teams","hooks_url":"https://api.github.com/repos/everypolitician/rebuilder/hooks","issue_events_url":"https://api.github.com/repos/everypolitician/rebuilder/issues/events{/number}","events_url":"https://api.github.com/repos/everypolitician/rebuilder/events","assignees_url":"https://api.github.com/repos/everypolitician/rebuilder/assignees{/user}","branches_url":"https://api.github.com/repos/everypolitician/rebuilder/branches{/branch}","tags_url":"https://api.github.com/repos/everypolitician/rebuilder/tags","blobs_url":"https://api.github.com/repos/everypolitician/rebuilder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/everypolitician/rebuilder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/everypolitician/rebuilder/git/refs{/sha}","trees_url":"https://api.github.com/repos/everypolitician/rebuilder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/everypolitician/rebuilder/statuses/{sha}","languages_url":"https://api.github.com/repos/everypolitician/rebuilder/languages","stargazers_url":"https://api.github.com/repos/everypolitician/rebuilder/stargazers","contributors_url":"https://api.github.com/repos/everypolitician/rebuilder/contributors","subscribers_url":"https://api.github.com/repos/everypolitician/rebuilder/subscribers","subscription_url":"https://api.github.com/repos/everypolitician/rebuilder/subscription","commits_url":"https://api.github.com/repos/everypolitician/rebuilder/commits{/sha}","git_commits_url":"https://api.github.com/repos/everypolitician/rebuilder/git/commits{/sha}","comments_url":"https://api.github.com/repos/everypolitician/rebuilder/comments{/number}","issue_comment_url":"https://api.github.com/repos/everypolitician/rebuilder/issues/comments{/number}","contents_url":"https://api.github.com/repos/everypolitician/rebuilder/contents/{+path}","compare_url":"https://api.github.com/repos/everypolitician/rebuilder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/everypolitician/rebuilder/merges","archive_url":"https://api.github.com/repos/everypolitician/rebuilder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/everypolitician/rebuilder/downloads","issues_url":"https://api.github.com/repos/everypolitician/rebuilder/issues{/number}","pulls_url":"https://api.github.com/repos/everypolitician/rebuilder/pulls{/number}","milestones_url":"https://api.github.com/repos/everypolitician/rebuilder/milestones{/number}","notifications_url":"https://api.github.com/repos/everypolitician/rebuilder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/everypolitician/rebuilder/labels{/name}","releases_url":"https://api.github.com/repos/everypolitician/rebuilder/releases{/id}","deployments_url":"https://api.github.com/repos/everypolitician/rebuilder/deployments","created_at":"2015-10-13T16:31:58Z","updated_at":"2016-11-01T09:40:22Z","pushed_at":"2017-02-08T17:27:51Z","git_url":"git://github.com/everypolitician/rebuilder.git","ssh_url":"git@github.com:everypolitician/rebuilder.git","clone_url":"https://github.com/everypolitician/rebuilder.git","svn_url":"https://github.com/everypolitician/rebuilder","homepage":"","size":130,"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":16,"forks":1,"open_issues":16,"watchers":0,"default_branch":"master"}},"base":{"label":"everypolitician:master","ref":"master","sha":"161dc4ae002bace27bbc97370235c6bcca5e6106","user":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars.githubusercontent.com/u/12497298?v=3","gravatar_id":"","url":"https://api.github.com/users/everypolitician","html_url":"https://github.com/everypolitician","followers_url":"https://api.github.com/users/everypolitician/followers","following_url":"https://api.github.com/users/everypolitician/following{/other_user}","gists_url":"https://api.github.com/users/everypolitician/gists{/gist_id}","starred_url":"https://api.github.com/users/everypolitician/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everypolitician/subscriptions","organizations_url":"https://api.github.com/users/everypolitician/orgs","repos_url":"https://api.github.com/users/everypolitician/repos","events_url":"https://api.github.com/users/everypolitician/events{/privacy}","received_events_url":"https://api.github.com/users/everypolitician/received_events","type":"Organization","site_admin":false},"repo":{"id":44189994,"name":"rebuilder","full_name":"everypolitician/rebuilder","owner":{"login":"everypolitician","id":12497298,"avatar_url":"https://avatars.githubusercontent.com/u/12497298?v=3","gravatar_id":"","url":"https://api.github.com/users/everypolitician","html_url":"https://github.com/everypolitician","followers_url":"https://api.github.com/users/everypolitician/followers","following_url":"https://api.github.com/users/everypolitician/following{/other_user}","gists_url":"https://api.github.com/users/everypolitician/gists{/gist_id}","starred_url":"https://api.github.com/users/everypolitician/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everypolitician/subscriptions","organizations_url":"https://api.github.com/users/everypolitician/orgs","repos_url":"https://api.github.com/users/everypolitician/repos","events_url":"https://api.github.com/users/everypolitician/events{/privacy}","received_events_url":"https://api.github.com/users/everypolitician/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/everypolitician/rebuilder","description":"Generate pull requests in everypolitician-data by rebuilding a specific legislature's data from source","fork":false,"url":"https://api.github.com/repos/everypolitician/rebuilder","forks_url":"https://api.github.com/repos/everypolitician/rebuilder/forks","keys_url":"https://api.github.com/repos/everypolitician/rebuilder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/everypolitician/rebuilder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/everypolitician/rebuilder/teams","hooks_url":"https://api.github.com/repos/everypolitician/rebuilder/hooks","issue_events_url":"https://api.github.com/repos/everypolitician/rebuilder/issues/events{/number}","events_url":"https://api.github.com/repos/everypolitician/rebuilder/events","assignees_url":"https://api.github.com/repos/everypolitician/rebuilder/assignees{/user}","branches_url":"https://api.github.com/repos/everypolitician/rebuilder/branches{/branch}","tags_url":"https://api.github.com/repos/everypolitician/rebuilder/tags","blobs_url":"https://api.github.com/repos/everypolitician/rebuilder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/everypolitician/rebuilder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/everypolitician/rebuilder/git/refs{/sha}","trees_url":"https://api.github.com/repos/everypolitician/rebuilder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/everypolitician/rebuilder/statuses/{sha}","languages_url":"https://api.github.com/repos/everypolitician/rebuilder/languages","stargazers_url":"https://api.github.com/repos/everypolitician/rebuilder/stargazers","contributors_url":"https://api.github.com/repos/everypolitician/rebuilder/contributors","subscribers_url":"https://api.github.com/repos/everypolitician/rebuilder/subscribers","subscription_url":"https://api.github.com/repos/everypolitician/rebuilder/subscription","commits_url":"https://api.github.com/repos/everypolitician/rebuilder/commits{/sha}","git_commits_url":"https://api.github.com/repos/everypolitician/rebuilder/git/commits{/sha}","comments_url":"https://api.github.com/repos/everypolitician/rebuilder/comments{/number}","issue_comment_url":"https://api.github.com/repos/everypolitician/rebuilder/issues/comments{/number}","contents_url":"https://api.github.com/repos/everypolitician/rebuilder/contents/{+path}","compare_url":"https://api.github.com/repos/everypolitician/rebuilder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/everypolitician/rebuilder/merges","archive_url":"https://api.github.com/repos/everypolitician/rebuilder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/everypolitician/rebuilder/downloads","issues_url":"https://api.github.com/repos/everypolitician/rebuilder/issues{/number}","pulls_url":"https://api.github.com/repos/everypolitician/rebuilder/pulls{/number}","milestones_url":"https://api.github.com/repos/everypolitician/rebuilder/milestones{/number}","notifications_url":"https://api.github.com/repos/everypolitician/rebuilder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/everypolitician/rebuilder/labels{/name}","releases_url":"https://api.github.com/repos/everypolitician/rebuilder/releases{/id}","deployments_url":"https://api.github.com/repos/everypolitician/rebuilder/deployments","created_at":"2015-10-13T16:31:58Z","updated_at":"2016-11-01T09:40:22Z","pushed_at":"2017-02-08T17:27:51Z","git_url":"git://github.com/everypolitician/rebuilder.git","ssh_url":"git@github.com:everypolitician/rebuilder.git","clone_url":"https://github.com/everypolitician/rebuilder.git","svn_url":"https://github.com/everypolitician/rebuilder","homepage":"","size":130,"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":16,"forks":1,"open_issues":16,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everypolitician/rebuilder/pulls/64"},"html":{"href":"https://github.com/everypolitician/rebuilder/pull/64"},"issue":{"href":"https://api.github.com/repos/everypolitician/rebuilder/issues/64"},"comments":{"href":"https://api.github.com/repos/everypolitician/rebuilder/issues/64/comments"},"review_comments":{"href":"https://api.github.com/repos/everypolitician/rebuilder/pulls/64/comments"},"review_comment":{"href":"https://api.github.com/repos/everypolitician/rebuilder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/everypolitician/rebuilder/pulls/64/commits"},"statuses":{"href":"https://api.github.com/repos/everypolitician/rebuilder/statuses/6abd6074a6aeee88c330da3a30caac2011af38b7"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"tmtmtmtm","id":57483,"avatar_url":"https://avatars.githubusercontent.com/u/57483?v=3","gravatar_id":"","url":"https://api.github.com/users/tmtmtmtm","html_url":"https://github.com/tmtmtmtm","followers_url":"https://api.github.com/users/tmtmtmtm/followers","following_url":"https://api.github.com/users/tmtmtmtm/following{/other_user}","gists_url":"https://api.github.com/users/tmtmtmtm/gists{/gist_id}","starred_url":"https://api.github.com/users/tmtmtmtm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmtmtmtm/subscriptions","organizations_url":"https://api.github.com/users/tmtmtmtm/orgs","repos_url":"https://api.github.com/users/tmtmtmtm/repos","events_url":"https://api.github.com/users/tmtmtmtm/events{/privacy}","received_events_url":"https://api.github.com/users/tmtmtmtm/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"maintainer_can_modify":false,"commits":10,"additions":147,"deletions":8,"changed_files":4}}
{"actor":{"display_login":"tmtmtmtm"}}