{"action":"created","comment":{"url":"https://api.github.com/repos/developer-portal/tools/pulls/comments/187726384","pull_request_review_id":119572045,"id":187726384,"diff_hunk":"@@ -53,6 +48,17 @@ def test_markdown_center\n     assert_match %Q|{:center: style=\"text-align: center\"}\\n#{text}\\n{:center}|, Markdown.center(text)\n   end\n \n+  def test_git_log\n+    method_output = Git.log File.join(@subdir, 'README.md')\n+    assert_equal \"Your Name;you@example.com\", \"#{method_output}\"","path":"test/get_authors_test.rb","position":18,"original_position":18,"commit_id":"c1d1b1ace2130bc9054cd8e916a6050a519e386f","original_commit_id":"0c6cc5f4a93a2a4874cf5f48f4bb372515f5ddd6","user":{"login":"pvalena","id":15652483,"avatar_url":"https://avatars2.githubusercontent.com/u/15652483?v=4","gravatar_id":"","url":"https://api.github.com/users/pvalena","html_url":"https://github.com/pvalena","followers_url":"https://api.github.com/users/pvalena/followers","following_url":"https://api.github.com/users/pvalena/following{/other_user}","gists_url":"https://api.github.com/users/pvalena/gists{/gist_id}","starred_url":"https://api.github.com/users/pvalena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pvalena/subscriptions","organizations_url":"https://api.github.com/users/pvalena/orgs","repos_url":"https://api.github.com/users/pvalena/repos","events_url":"https://api.github.com/users/pvalena/events{/privacy}","received_events_url":"https://api.github.com/users/pvalena/received_events","type":"User","site_admin":false},"body":"Well, since it's just a test suite, I do not mind. But it's a quite strange behavior from an object.","created_at":"2018-05-11T20:36:13Z","updated_at":"2018-05-11T20:36:13Z","html_url":"https://github.com/developer-portal/tools/pull/10#discussion_r187726384","pull_request_url":"https://api.github.com/repos/developer-portal/tools/pulls/10","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/developer-portal/tools/pulls/comments/187726384"},"html":{"href":"https://github.com/developer-portal/tools/pull/10#discussion_r187726384"},"pull_request":{"href":"https://api.github.com/repos/developer-portal/tools/pulls/10"}},"in_reply_to_id":187104069},"pull_request":{"url":"https://api.github.com/repos/developer-portal/tools/pulls/10","id":186972625,"html_url":"https://github.com/developer-portal/tools/pull/10","diff_url":"https://github.com/developer-portal/tools/pull/10.diff","patch_url":"https://github.com/developer-portal/tools/pull/10.patch","issue_url":"https://api.github.com/repos/developer-portal/tools/issues/10","number":10,"state":"open","locked":false,"title":"Refactor Array#to-h","user":{"login":"jackorp","id":33065078,"avatar_url":"https://avatars2.githubusercontent.com/u/33065078?v=4","gravatar_id":"","url":"https://api.github.com/users/jackorp","html_url":"https://github.com/jackorp","followers_url":"https://api.github.com/users/jackorp/followers","following_url":"https://api.github.com/users/jackorp/following{/other_user}","gists_url":"https://api.github.com/users/jackorp/gists{/gist_id}","starred_url":"https://api.github.com/users/jackorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackorp/subscriptions","organizations_url":"https://api.github.com/users/jackorp/orgs","repos_url":"https://api.github.com/users/jackorp/repos","events_url":"https://api.github.com/users/jackorp/events{/privacy}","received_events_url":"https://api.github.com/users/jackorp/received_events","type":"User","site_admin":false},"body":"Create Git#log to gather author and email from file.\r\nCreate Log#author_email to process log output into hash.\r\n *Use method to_s to transform output to a string.\r\n\r\n@voxik ","created_at":"2018-05-09T16:20:33Z","updated_at":"2018-05-11T20:36:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1dea4e97579d98d052df06b805a1783d8eceab52","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/developer-portal/tools/pulls/10/commits","review_comments_url":"https://api.github.com/repos/developer-portal/tools/pulls/10/comments","review_comment_url":"https://api.github.com/repos/developer-portal/tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/developer-portal/tools/issues/10/comments","statuses_url":"https://api.github.com/repos/developer-portal/tools/statuses/c1d1b1ace2130bc9054cd8e916a6050a519e386f","head":{"label":"jackorp:refactor-to-h-2","ref":"refactor-to-h-2","sha":"c1d1b1ace2130bc9054cd8e916a6050a519e386f","user":{"login":"jackorp","id":33065078,"avatar_url":"https://avatars2.githubusercontent.com/u/33065078?v=4","gravatar_id":"","url":"https://api.github.com/users/jackorp","html_url":"https://github.com/jackorp","followers_url":"https://api.github.com/users/jackorp/followers","following_url":"https://api.github.com/users/jackorp/following{/other_user}","gists_url":"https://api.github.com/users/jackorp/gists{/gist_id}","starred_url":"https://api.github.com/users/jackorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackorp/subscriptions","organizations_url":"https://api.github.com/users/jackorp/orgs","repos_url":"https://api.github.com/users/jackorp/repos","events_url":"https://api.github.com/users/jackorp/events{/privacy}","received_events_url":"https://api.github.com/users/jackorp/received_events","type":"User","site_admin":false},"repo":{"id":125653906,"name":"tools","full_name":"jackorp/tools","owner":{"login":"jackorp","id":33065078,"avatar_url":"https://avatars2.githubusercontent.com/u/33065078?v=4","gravatar_id":"","url":"https://api.github.com/users/jackorp","html_url":"https://github.com/jackorp","followers_url":"https://api.github.com/users/jackorp/followers","following_url":"https://api.github.com/users/jackorp/following{/other_user}","gists_url":"https://api.github.com/users/jackorp/gists{/gist_id}","starred_url":"https://api.github.com/users/jackorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackorp/subscriptions","organizations_url":"https://api.github.com/users/jackorp/orgs","repos_url":"https://api.github.com/users/jackorp/repos","events_url":"https://api.github.com/users/jackorp/events{/privacy}","received_events_url":"https://api.github.com/users/jackorp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jackorp/tools","description":"Tools and scripts for Fedora Developer Portal.","fork":true,"url":"https://api.github.com/repos/jackorp/tools","forks_url":"https://api.github.com/repos/jackorp/tools/forks","keys_url":"https://api.github.com/repos/jackorp/tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jackorp/tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jackorp/tools/teams","hooks_url":"https://api.github.com/repos/jackorp/tools/hooks","issue_events_url":"https://api.github.com/repos/jackorp/tools/issues/events{/number}","events_url":"https://api.github.com/repos/jackorp/tools/events","assignees_url":"https://api.github.com/repos/jackorp/tools/assignees{/user}","branches_url":"https://api.github.com/repos/jackorp/tools/branches{/branch}","tags_url":"https://api.github.com/repos/jackorp/tools/tags","blobs_url":"https://api.github.com/repos/jackorp/tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jackorp/tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jackorp/tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/jackorp/tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jackorp/tools/statuses/{sha}","languages_url":"https://api.github.com/repos/jackorp/tools/languages","stargazers_url":"https://api.github.com/repos/jackorp/tools/stargazers","contributors_url":"https://api.github.com/repos/jackorp/tools/contributors","subscribers_url":"https://api.github.com/repos/jackorp/tools/subscribers","subscription_url":"https://api.github.com/repos/jackorp/tools/subscription","commits_url":"https://api.github.com/repos/jackorp/tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/jackorp/tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/jackorp/tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/jackorp/tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/jackorp/tools/contents/{+path}","compare_url":"https://api.github.com/repos/jackorp/tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jackorp/tools/merges","archive_url":"https://api.github.com/repos/jackorp/tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jackorp/tools/downloads","issues_url":"https://api.github.com/repos/jackorp/tools/issues{/number}","pulls_url":"https://api.github.com/repos/jackorp/tools/pulls{/number}","milestones_url":"https://api.github.com/repos/jackorp/tools/milestones{/number}","notifications_url":"https://api.github.com/repos/jackorp/tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jackorp/tools/labels{/name}","releases_url":"https://api.github.com/repos/jackorp/tools/releases{/id}","deployments_url":"https://api.github.com/repos/jackorp/tools/deployments","created_at":"2018-03-17T17:36:58Z","updated_at":"2018-04-12T14:14:28Z","pushed_at":"2018-05-11T14:38:14Z","git_url":"git://github.com/jackorp/tools.git","ssh_url":"git@github.com:jackorp/tools.git","clone_url":"https://github.com/jackorp/tools.git","svn_url":"https://github.com/jackorp/tools","homepage":null,"size":28,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"developer-portal:master","ref":"master","sha":"c8415d852c6e26722718c9ec0e7233a10e1a2604","user":{"login":"developer-portal","id":12882779,"avatar_url":"https://avatars0.githubusercontent.com/u/12882779?v=4","gravatar_id":"","url":"https://api.github.com/users/developer-portal","html_url":"https://github.com/developer-portal","followers_url":"https://api.github.com/users/developer-portal/followers","following_url":"https://api.github.com/users/developer-portal/following{/other_user}","gists_url":"https://api.github.com/users/developer-portal/gists{/gist_id}","starred_url":"https://api.github.com/users/developer-portal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/developer-portal/subscriptions","organizations_url":"https://api.github.com/users/developer-portal/orgs","repos_url":"https://api.github.com/users/developer-portal/repos","events_url":"https://api.github.com/users/developer-portal/events{/privacy}","received_events_url":"https://api.github.com/users/developer-portal/received_events","type":"Organization","site_admin":false},"repo":{"id":85089355,"name":"tools","full_name":"developer-portal/tools","owner":{"login":"developer-portal","id":12882779,"avatar_url":"https://avatars0.githubusercontent.com/u/12882779?v=4","gravatar_id":"","url":"https://api.github.com/users/developer-portal","html_url":"https://github.com/developer-portal","followers_url":"https://api.github.com/users/developer-portal/followers","following_url":"https://api.github.com/users/developer-portal/following{/other_user}","gists_url":"https://api.github.com/users/developer-portal/gists{/gist_id}","starred_url":"https://api.github.com/users/developer-portal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/developer-portal/subscriptions","organizations_url":"https://api.github.com/users/developer-portal/orgs","repos_url":"https://api.github.com/users/developer-portal/repos","events_url":"https://api.github.com/users/developer-portal/events{/privacy}","received_events_url":"https://api.github.com/users/developer-portal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/developer-portal/tools","description":"Tools and scripts for Fedora Developer Portal.","fork":false,"url":"https://api.github.com/repos/developer-portal/tools","forks_url":"https://api.github.com/repos/developer-portal/tools/forks","keys_url":"https://api.github.com/repos/developer-portal/tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/developer-portal/tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/developer-portal/tools/teams","hooks_url":"https://api.github.com/repos/developer-portal/tools/hooks","issue_events_url":"https://api.github.com/repos/developer-portal/tools/issues/events{/number}","events_url":"https://api.github.com/repos/developer-portal/tools/events","assignees_url":"https://api.github.com/repos/developer-portal/tools/assignees{/user}","branches_url":"https://api.github.com/repos/developer-portal/tools/branches{/branch}","tags_url":"https://api.github.com/repos/developer-portal/tools/tags","blobs_url":"https://api.github.com/repos/developer-portal/tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/developer-portal/tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/developer-portal/tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/developer-portal/tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/developer-portal/tools/statuses/{sha}","languages_url":"https://api.github.com/repos/developer-portal/tools/languages","stargazers_url":"https://api.github.com/repos/developer-portal/tools/stargazers","contributors_url":"https://api.github.com/repos/developer-portal/tools/contributors","subscribers_url":"https://api.github.com/repos/developer-portal/tools/subscribers","subscription_url":"https://api.github.com/repos/developer-portal/tools/subscription","commits_url":"https://api.github.com/repos/developer-portal/tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/developer-portal/tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/developer-portal/tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/developer-portal/tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/developer-portal/tools/contents/{+path}","compare_url":"https://api.github.com/repos/developer-portal/tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/developer-portal/tools/merges","archive_url":"https://api.github.com/repos/developer-portal/tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/developer-portal/tools/downloads","issues_url":"https://api.github.com/repos/developer-portal/tools/issues{/number}","pulls_url":"https://api.github.com/repos/developer-portal/tools/pulls{/number}","milestones_url":"https://api.github.com/repos/developer-portal/tools/milestones{/number}","notifications_url":"https://api.github.com/repos/developer-portal/tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/developer-portal/tools/labels{/name}","releases_url":"https://api.github.com/repos/developer-portal/tools/releases{/id}","deployments_url":"https://api.github.com/repos/developer-portal/tools/deployments","created_at":"2017-03-15T15:29:39Z","updated_at":"2018-05-09T12:00:45Z","pushed_at":"2018-05-11T14:38:15Z","git_url":"git://github.com/developer-portal/tools.git","ssh_url":"git@github.com:developer-portal/tools.git","clone_url":"https://github.com/developer-portal/tools.git","svn_url":"https://github.com/developer-portal/tools","homepage":null,"size":22,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":2,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/developer-portal/tools/pulls/10"},"html":{"href":"https://github.com/developer-portal/tools/pull/10"},"issue":{"href":"https://api.github.com/repos/developer-portal/tools/issues/10"},"comments":{"href":"https://api.github.com/repos/developer-portal/tools/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/developer-portal/tools/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/developer-portal/tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/developer-portal/tools/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/developer-portal/tools/statuses/c1d1b1ace2130bc9054cd8e916a6050a519e386f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"pvalena"}}