{"action":"created","comment":{"url":"https://api.github.com/repos/pglbutt/noodles/pulls/comments/33413356","id":33413356,"diff_hunk":"@@ -0,0 +1,163 @@\n+use std::io::prelude::*;\n+use std::path::Path;\n+use std::str::from_utf8;\n+use std::collections::HashMap;","path":"src/spag/history.rs","position":4,"original_position":4,"commit_id":"8eb9f73f0c1fdb614f90962e27169af784e1eb96","original_commit_id":"8eb9f73f0c1fdb614f90962e27169af784e1eb96","user":{"login":"Squab","id":1680069,"avatar_url":"https://avatars.githubusercontent.com/u/1680069?v=3","gravatar_id":"","url":"https://api.github.com/users/Squab","html_url":"https://github.com/Squab","followers_url":"https://api.github.com/users/Squab/followers","following_url":"https://api.github.com/users/Squab/following{/other_user}","gists_url":"https://api.github.com/users/Squab/gists{/gist_id}","starred_url":"https://api.github.com/users/Squab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Squab/subscriptions","organizations_url":"https://api.github.com/users/Squab/orgs","repos_url":"https://api.github.com/users/Squab/repos","events_url":"https://api.github.com/users/Squab/events{/privacy}","received_events_url":"https://api.github.com/users/Squab/received_events","type":"User","site_admin":false},"body":"Not to self for next patch: unnecessary import.","created_at":"2015-06-27T15:27:22Z","updated_at":"2015-06-27T15:27:22Z","html_url":"https://github.com/pglbutt/noodles/pull/59#discussion_r33413356","pull_request_url":"https://api.github.com/repos/pglbutt/noodles/pulls/59","_links":{"self":{"href":"https://api.github.com/repos/pglbutt/noodles/pulls/comments/33413356"},"html":{"href":"https://github.com/pglbutt/noodles/pull/59#discussion_r33413356"},"pull_request":{"href":"https://api.github.com/repos/pglbutt/noodles/pulls/59"}}},"pull_request":{"url":"https://api.github.com/repos/pglbutt/noodles/pulls/59","id":38711003,"html_url":"https://github.com/pglbutt/noodles/pull/59","diff_url":"https://github.com/pglbutt/noodles/pull/59.diff","patch_url":"https://github.com/pglbutt/noodles/pull/59.patch","issue_url":"https://api.github.com/repos/pglbutt/noodles/issues/59","number":59,"state":"open","locked":false,"title":"Spag rs history","user":{"login":"Squab","id":1680069,"avatar_url":"https://avatars.githubusercontent.com/u/1680069?v=3","gravatar_id":"","url":"https://api.github.com/users/Squab","html_url":"https://github.com/Squab","followers_url":"https://api.github.com/users/Squab/followers","following_url":"https://api.github.com/users/Squab/following{/other_user}","gists_url":"https://api.github.com/users/Squab/gists{/gist_id}","starred_url":"https://api.github.com/users/Squab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Squab/subscriptions","organizations_url":"https://api.github.com/users/Squab/orgs","repos_url":"https://api.github.com/users/Squab/repos","events_url":"https://api.github.com/users/Squab/events{/privacy}","received_events_url":"https://api.github.com/users/Squab/received_events","type":"User","site_admin":false},"body":"* [X] `spag history`\r\n* [X] `spag history show #`\r\n* [X] Updated tests","created_at":"2015-06-27T15:24:05Z","updated_at":"2015-06-27T15:27:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0201c8bf07a7fb681c47493dab9f2410112455f4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pglbutt/noodles/pulls/59/commits","review_comments_url":"https://api.github.com/repos/pglbutt/noodles/pulls/59/comments","review_comment_url":"https://api.github.com/repos/pglbutt/noodles/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pglbutt/noodles/issues/59/comments","statuses_url":"https://api.github.com/repos/pglbutt/noodles/statuses/8eb9f73f0c1fdb614f90962e27169af784e1eb96","head":{"label":"Squab:spag-rs-history","ref":"spag-rs-history","sha":"8eb9f73f0c1fdb614f90962e27169af784e1eb96","user":{"login":"Squab","id":1680069,"avatar_url":"https://avatars.githubusercontent.com/u/1680069?v=3","gravatar_id":"","url":"https://api.github.com/users/Squab","html_url":"https://github.com/Squab","followers_url":"https://api.github.com/users/Squab/followers","following_url":"https://api.github.com/users/Squab/following{/other_user}","gists_url":"https://api.github.com/users/Squab/gists{/gist_id}","starred_url":"https://api.github.com/users/Squab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Squab/subscriptions","organizations_url":"https://api.github.com/users/Squab/orgs","repos_url":"https://api.github.com/users/Squab/repos","events_url":"https://api.github.com/users/Squab/events{/privacy}","received_events_url":"https://api.github.com/users/Squab/received_events","type":"User","site_admin":false},"repo":{"id":34554287,"name":"noodles","full_name":"Squab/noodles","owner":{"login":"Squab","id":1680069,"avatar_url":"https://avatars.githubusercontent.com/u/1680069?v=3","gravatar_id":"","url":"https://api.github.com/users/Squab","html_url":"https://github.com/Squab","followers_url":"https://api.github.com/users/Squab/followers","following_url":"https://api.github.com/users/Squab/following{/other_user}","gists_url":"https://api.github.com/users/Squab/gists{/gist_id}","starred_url":"https://api.github.com/users/Squab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Squab/subscriptions","organizations_url":"https://api.github.com/users/Squab/orgs","repos_url":"https://api.github.com/users/Squab/repos","events_url":"https://api.github.com/users/Squab/events{/privacy}","received_events_url":"https://api.github.com/users/Squab/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Squab/noodles","description":"","fork":true,"url":"https://api.github.com/repos/Squab/noodles","forks_url":"https://api.github.com/repos/Squab/noodles/forks","keys_url":"https://api.github.com/repos/Squab/noodles/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Squab/noodles/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Squab/noodles/teams","hooks_url":"https://api.github.com/repos/Squab/noodles/hooks","issue_events_url":"https://api.github.com/repos/Squab/noodles/issues/events{/number}","events_url":"https://api.github.com/repos/Squab/noodles/events","assignees_url":"https://api.github.com/repos/Squab/noodles/assignees{/user}","branches_url":"https://api.github.com/repos/Squab/noodles/branches{/branch}","tags_url":"https://api.github.com/repos/Squab/noodles/tags","blobs_url":"https://api.github.com/repos/Squab/noodles/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Squab/noodles/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Squab/noodles/git/refs{/sha}","trees_url":"https://api.github.com/repos/Squab/noodles/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Squab/noodles/statuses/{sha}","languages_url":"https://api.github.com/repos/Squab/noodles/languages","stargazers_url":"https://api.github.com/repos/Squab/noodles/stargazers","contributors_url":"https://api.github.com/repos/Squab/noodles/contributors","subscribers_url":"https://api.github.com/repos/Squab/noodles/subscribers","subscription_url":"https://api.github.com/repos/Squab/noodles/subscription","commits_url":"https://api.github.com/repos/Squab/noodles/commits{/sha}","git_commits_url":"https://api.github.com/repos/Squab/noodles/git/commits{/sha}","comments_url":"https://api.github.com/repos/Squab/noodles/comments{/number}","issue_comment_url":"https://api.github.com/repos/Squab/noodles/issues/comments{/number}","contents_url":"https://api.github.com/repos/Squab/noodles/contents/{+path}","compare_url":"https://api.github.com/repos/Squab/noodles/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Squab/noodles/merges","archive_url":"https://api.github.com/repos/Squab/noodles/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Squab/noodles/downloads","issues_url":"https://api.github.com/repos/Squab/noodles/issues{/number}","pulls_url":"https://api.github.com/repos/Squab/noodles/pulls{/number}","milestones_url":"https://api.github.com/repos/Squab/noodles/milestones{/number}","notifications_url":"https://api.github.com/repos/Squab/noodles/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Squab/noodles/labels{/name}","releases_url":"https://api.github.com/repos/Squab/noodles/releases{/id}","created_at":"2015-04-25T03:52:18Z","updated_at":"2015-04-25T23:43:42Z","pushed_at":"2015-06-27T15:23:03Z","git_url":"git://github.com/Squab/noodles.git","ssh_url":"git@github.com:Squab/noodles.git","clone_url":"https://github.com/Squab/noodles.git","svn_url":"https://github.com/Squab/noodles","homepage":null,"size":322,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"pglbutt:spag-rs","ref":"spag-rs","sha":"f120d69d739212d9c642a26511f5be839c757abf","user":{"login":"pglbutt","id":12104631,"avatar_url":"https://avatars.githubusercontent.com/u/12104631?v=3","gravatar_id":"","url":"https://api.github.com/users/pglbutt","html_url":"https://github.com/pglbutt","followers_url":"https://api.github.com/users/pglbutt/followers","following_url":"https://api.github.com/users/pglbutt/following{/other_user}","gists_url":"https://api.github.com/users/pglbutt/gists{/gist_id}","starred_url":"https://api.github.com/users/pglbutt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pglbutt/subscriptions","organizations_url":"https://api.github.com/users/pglbutt/orgs","repos_url":"https://api.github.com/users/pglbutt/repos","events_url":"https://api.github.com/users/pglbutt/events{/privacy}","received_events_url":"https://api.github.com/users/pglbutt/received_events","type":"Organization","site_admin":false},"repo":{"id":34539739,"name":"noodles","full_name":"pglbutt/noodles","owner":{"login":"pglbutt","id":12104631,"avatar_url":"https://avatars.githubusercontent.com/u/12104631?v=3","gravatar_id":"","url":"https://api.github.com/users/pglbutt","html_url":"https://github.com/pglbutt","followers_url":"https://api.github.com/users/pglbutt/followers","following_url":"https://api.github.com/users/pglbutt/following{/other_user}","gists_url":"https://api.github.com/users/pglbutt/gists{/gist_id}","starred_url":"https://api.github.com/users/pglbutt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pglbutt/subscriptions","organizations_url":"https://api.github.com/users/pglbutt/orgs","repos_url":"https://api.github.com/users/pglbutt/repos","events_url":"https://api.github.com/users/pglbutt/events{/privacy}","received_events_url":"https://api.github.com/users/pglbutt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pglbutt/noodles","description":"","fork":false,"url":"https://api.github.com/repos/pglbutt/noodles","forks_url":"https://api.github.com/repos/pglbutt/noodles/forks","keys_url":"https://api.github.com/repos/pglbutt/noodles/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pglbutt/noodles/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pglbutt/noodles/teams","hooks_url":"https://api.github.com/repos/pglbutt/noodles/hooks","issue_events_url":"https://api.github.com/repos/pglbutt/noodles/issues/events{/number}","events_url":"https://api.github.com/repos/pglbutt/noodles/events","assignees_url":"https://api.github.com/repos/pglbutt/noodles/assignees{/user}","branches_url":"https://api.github.com/repos/pglbutt/noodles/branches{/branch}","tags_url":"https://api.github.com/repos/pglbutt/noodles/tags","blobs_url":"https://api.github.com/repos/pglbutt/noodles/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pglbutt/noodles/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pglbutt/noodles/git/refs{/sha}","trees_url":"https://api.github.com/repos/pglbutt/noodles/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pglbutt/noodles/statuses/{sha}","languages_url":"https://api.github.com/repos/pglbutt/noodles/languages","stargazers_url":"https://api.github.com/repos/pglbutt/noodles/stargazers","contributors_url":"https://api.github.com/repos/pglbutt/noodles/contributors","subscribers_url":"https://api.github.com/repos/pglbutt/noodles/subscribers","subscription_url":"https://api.github.com/repos/pglbutt/noodles/subscription","commits_url":"https://api.github.com/repos/pglbutt/noodles/commits{/sha}","git_commits_url":"https://api.github.com/repos/pglbutt/noodles/git/commits{/sha}","comments_url":"https://api.github.com/repos/pglbutt/noodles/comments{/number}","issue_comment_url":"https://api.github.com/repos/pglbutt/noodles/issues/comments{/number}","contents_url":"https://api.github.com/repos/pglbutt/noodles/contents/{+path}","compare_url":"https://api.github.com/repos/pglbutt/noodles/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pglbutt/noodles/merges","archive_url":"https://api.github.com/repos/pglbutt/noodles/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pglbutt/noodles/downloads","issues_url":"https://api.github.com/repos/pglbutt/noodles/issues{/number}","pulls_url":"https://api.github.com/repos/pglbutt/noodles/pulls{/number}","milestones_url":"https://api.github.com/repos/pglbutt/noodles/milestones{/number}","notifications_url":"https://api.github.com/repos/pglbutt/noodles/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pglbutt/noodles/labels{/name}","releases_url":"https://api.github.com/repos/pglbutt/noodles/releases{/id}","created_at":"2015-04-24T20:18:35Z","updated_at":"2015-05-16T01:59:17Z","pushed_at":"2015-06-27T15:24:05Z","git_url":"git://github.com/pglbutt/noodles.git","ssh_url":"git@github.com:pglbutt/noodles.git","clone_url":"https://github.com/pglbutt/noodles.git","svn_url":"https://github.com/pglbutt/noodles","homepage":null,"size":591,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":10,"forks":2,"open_issues":10,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pglbutt/noodles/pulls/59"},"html":{"href":"https://github.com/pglbutt/noodles/pull/59"},"issue":{"href":"https://api.github.com/repos/pglbutt/noodles/issues/59"},"comments":{"href":"https://api.github.com/repos/pglbutt/noodles/issues/59/comments"},"review_comments":{"href":"https://api.github.com/repos/pglbutt/noodles/pulls/59/comments"},"review_comment":{"href":"https://api.github.com/repos/pglbutt/noodles/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pglbutt/noodles/pulls/59/commits"},"statuses":{"href":"https://api.github.com/repos/pglbutt/noodles/statuses/8eb9f73f0c1fdb614f90962e27169af784e1eb96"}}}}