GitHub PullRequestReviewCommentEvent at 2014-08-12 14:55:07
Repository: mpdx
Actor: twinge
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/CruGlobal/mpdx/pulls/comments/16117863","id":16117863,"diff_hunk":"@@ -50,6 +60,31 @@ def contributions\n       @sum_row[donation.date_trunc.strftime '%b %y'] += donation.tendered_amount\n     end\n \n+    @donations.each do |key, row|\n+      if not row[:pledge_frequency].nil? && row[:pledge_frequency].to_f <= 1.0","path":"app/controllers/reports_controller.rb","position":53,"original_position":53,"commit_id":"515a3c31d765fd5673aed2d497b952e88faf3035","original_commit_id":"515a3c31d765fd5673aed2d497b952e88faf3035","user":{"login":"twinge","id":23668,"avatar_url":"https://avatars.githubusercontent.com/u/23668?v=2","gravatar_id":"4e781ca772eabdd414f65c12bbec0b36","url":"https://api.github.com/users/twinge","html_url":"https://github.com/twinge","followers_url":"https://api.github.com/users/twinge/followers","following_url":"https://api.github.com/users/twinge/following{/other_user}","gists_url":"https://api.github.com/users/twinge/gists{/gist_id}","starred_url":"https://api.github.com/users/twinge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twinge/subscriptions","organizations_url":"https://api.github.com/users/twinge/orgs","repos_url":"https://api.github.com/users/twinge/repos","events_url":"https://api.github.com/users/twinge/events{/privacy}","received_events_url":"https://api.github.com/users/twinge/received_events","type":"User","site_admin":false},"body":"Use `!` instead of the `not` keyword.","created_at":"2014-08-12T14:55:07Z","updated_at":"2014-08-12T14:55:07Z","html_url":"https://github.com/CruGlobal/mpdx/pull/110#discussion_r16117863","pull_request_url":"https://api.github.com/repos/CruGlobal/mpdx/pulls/110","_links":{"self":{"href":"https://api.github.com/repos/CruGlobal/mpdx/pulls/comments/16117863"},"html":{"href":"https://github.com/CruGlobal/mpdx/pull/110#discussion_r16117863"},"pull_request":{"href":"https://api.github.com/repos/CruGlobal/mpdx/pulls/110"}}},"pull_request":{"url":"https://api.github.com/repos/CruGlobal/mpdx/pulls/110","id":19666141,"html_url":"https://github.com/CruGlobal/mpdx/pull/110","diff_url":"https://github.com/CruGlobal/mpdx/pull/110.diff","patch_url":"https://github.com/CruGlobal/mpdx/pull/110.patch","issue_url":"https://api.github.com/repos/CruGlobal/mpdx/issues/110","number":110,"state":"open","title":"Add columns to contribution report","user":{"login":"draffensperger","id":2855507,"avatar_url":"https://avatars.githubusercontent.com/u/2855507?v=2","gravatar_id":"1282a3ff2a2fffd6ecf47b73dff2aa82","url":"https://api.github.com/users/draffensperger","html_url":"https://github.com/draffensperger","followers_url":"https://api.github.com/users/draffensperger/followers","following_url":"https://api.github.com/users/draffensperger/following{/other_user}","gists_url":"https://api.github.com/users/draffensperger/gists{/gist_id}","starred_url":"https://api.github.com/users/draffensperger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/draffensperger/subscriptions","organizations_url":"https://api.github.com/users/draffensperger/orgs","repos_url":"https://api.github.com/users/draffensperger/repos","events_url":"https://api.github.com/users/draffensperger/events{/privacy}","received_events_url":"https://api.github.com/users/draffensperger/received_events","type":"User","site_admin":false},"body":"Added columns status, pledge amount, pledge frequency and average to the contribution report view.\r\n\r\nIt will be available as a CSV download as well since those report (for better or worse) just parses the HTML table to generate the CSV.","created_at":"2014-08-12T14:47:36Z","updated_at":"2014-08-12T14:55:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ef252026b79301e220413b7128bc620edddcc00d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CruGlobal/mpdx/pulls/110/commits","review_comments_url":"https://api.github.com/repos/CruGlobal/mpdx/pulls/110/comments","review_comment_url":"https://api.github.com/repos/CruGlobal/mpdx/pulls/comments/{number}","comments_url":"https://api.github.com/repos/CruGlobal/mpdx/issues/110/comments","statuses_url":"https://api.github.com/repos/CruGlobal/mpdx/statuses/515a3c31d765fd5673aed2d497b952e88faf3035","head":{"label":"CruGlobal:add-columns-to-contribution-report","ref":"add-columns-to-contribution-report","sha":"515a3c31d765fd5673aed2d497b952e88faf3035","user":{"login":"CruGlobal","id":1785912,"avatar_url":"https://avatars.githubusercontent.com/u/1785912?v=2","gravatar_id":"fff0e4838db6e8e33d895977195fa2ce","url":"https://api.github.com/users/CruGlobal","html_url":"https://github.com/CruGlobal","followers_url":"https://api.github.com/users/CruGlobal/followers","following_url":"https://api.github.com/users/CruGlobal/following{/other_user}","gists_url":"https://api.github.com/users/CruGlobal/gists{/gist_id}","starred_url":"https://api.github.com/users/CruGlobal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CruGlobal/subscriptions","organizations_url":"https://api.github.com/users/CruGlobal/orgs","repos_url":"https://api.github.com/users/CruGlobal/repos","events_url":"https://api.github.com/users/CruGlobal/events{/privacy}","received_events_url":"https://api.github.com/users/CruGlobal/received_events","type":"Organization","site_admin":false},"repo":{"id":4625882,"name":"mpdx","full_name":"CruGlobal/mpdx","owner":{"login":"CruGlobal","id":1785912,"avatar_url":"https://avatars.githubusercontent.com/u/1785912?v=2","gravatar_id":"fff0e4838db6e8e33d895977195fa2ce","url":"https://api.github.com/users/CruGlobal","html_url":"https://github.com/CruGlobal","followers_url":"https://api.github.com/users/CruGlobal/followers","following_url":"https://api.github.com/users/CruGlobal/following{/other_user}","gists_url":"https://api.github.com/users/CruGlobal/gists{/gist_id}","starred_url":"https://api.github.com/users/CruGlobal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CruGlobal/subscriptions","organizations_url":"https://api.github.com/users/CruGlobal/orgs","repos_url":"https://api.github.com/users/CruGlobal/repos","events_url":"https://api.github.com/users/CruGlobal/events{/privacy}","received_events_url":"https://api.github.com/users/CruGlobal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CruGlobal/mpdx","description":"Web based tool to help missionaries stay in touch with ministry partners","fork":false,"url":"https://api.github.com/repos/CruGlobal/mpdx","forks_url":"https://api.github.com/repos/CruGlobal/mpdx/forks","keys_url":"https://api.github.com/repos/CruGlobal/mpdx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CruGlobal/mpdx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CruGlobal/mpdx/teams","hooks_url":"https://api.github.com/repos/CruGlobal/mpdx/hooks","issue_events_url":"https://api.github.com/repos/CruGlobal/mpdx/issues/events{/number}","events_url":"https://api.github.com/repos/CruGlobal/mpdx/events","assignees_url":"https://api.github.com/repos/CruGlobal/mpdx/assignees{/user}","branches_url":"https://api.github.com/repos/CruGlobal/mpdx/branches{/branch}","tags_url":"https://api.github.com/repos/CruGlobal/mpdx/tags","blobs_url":"https://api.github.com/repos/CruGlobal/mpdx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CruGlobal/mpdx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CruGlobal/mpdx/git/refs{/sha}","trees_url":"https://api.github.com/repos/CruGlobal/mpdx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CruGlobal/mpdx/statuses/{sha}","languages_url":"https://api.github.com/repos/CruGlobal/mpdx/languages","stargazers_url":"https://api.github.com/repos/CruGlobal/mpdx/stargazers","contributors_url":"https://api.github.com/repos/CruGlobal/mpdx/contributors","subscribers_url":"https://api.github.com/repos/CruGlobal/mpdx/subscribers","subscription_url":"https://api.github.com/repos/CruGlobal/mpdx/subscription","commits_url":"https://api.github.com/repos/CruGlobal/mpdx/commits{/sha}","git_commits_url":"https://api.github.com/repos/CruGlobal/mpdx/git/commits{/sha}","comments_url":"https://api.github.com/repos/CruGlobal/mpdx/comments{/number}","issue_comment_url":"https://api.github.com/repos/CruGlobal/mpdx/issues/comments/{number}","contents_url":"https://api.github.com/repos/CruGlobal/mpdx/contents/{+path}","compare_url":"https://api.github.com/repos/CruGlobal/mpdx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CruGlobal/mpdx/merges","archive_url":"https://api.github.com/repos/CruGlobal/mpdx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CruGlobal/mpdx/downloads","issues_url":"https://api.github.com/repos/CruGlobal/mpdx/issues{/number}","pulls_url":"https://api.github.com/repos/CruGlobal/mpdx/pulls{/number}","milestones_url":"https://api.github.com/repos/CruGlobal/mpdx/milestones{/number}","notifications_url":"https://api.github.com/repos/CruGlobal/mpdx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CruGlobal/mpdx/labels{/name}","releases_url":"https://api.github.com/repos/CruGlobal/mpdx/releases{/id}","created_at":"2012-06-11T14:26:20Z","updated_at":"2014-06-26T19:32:55Z","pushed_at":"2014-08-12T14:39:04Z","git_url":"git://github.com/CruGlobal/mpdx.git","ssh_url":"git@github.com:CruGlobal/mpdx.git","clone_url":"https://github.com/CruGlobal/mpdx.git","svn_url":"https://github.com/CruGlobal/mpdx","homepage":"https://mpdx.org","size":330628,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":1,"mirror_url":null,"open_issues_count":12,"forks":1,"open_issues":12,"watchers":7,"default_branch":"master"}},"base":{"label":"CruGlobal:master","ref":"master","sha":"a7892b85fefa4a309923eed424088299ae06c073","user":{"login":"CruGlobal","id":1785912,"avatar_url":"https://avatars.githubusercontent.com/u/1785912?v=2","gravatar_id":"fff0e4838db6e8e33d895977195fa2ce","url":"https://api.github.com/users/CruGlobal","html_url":"https://github.com/CruGlobal","followers_url":"https://api.github.com/users/CruGlobal/followers","following_url":"https://api.github.com/users/CruGlobal/following{/other_user}","gists_url":"https://api.github.com/users/CruGlobal/gists{/gist_id}","starred_url":"https://api.github.com/users/CruGlobal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CruGlobal/subscriptions","organizations_url":"https://api.github.com/users/CruGlobal/orgs","repos_url":"https://api.github.com/users/CruGlobal/repos","events_url":"https://api.github.com/users/CruGlobal/events{/privacy}","received_events_url":"https://api.github.com/users/CruGlobal/received_events","type":"Organization","site_admin":false},"repo":{"id":4625882,"name":"mpdx","full_name":"CruGlobal/mpdx","owner":{"login":"CruGlobal","id":1785912,"avatar_url":"https://avatars.githubusercontent.com/u/1785912?v=2","gravatar_id":"fff0e4838db6e8e33d895977195fa2ce","url":"https://api.github.com/users/CruGlobal","html_url":"https://github.com/CruGlobal","followers_url":"https://api.github.com/users/CruGlobal/followers","following_url":"https://api.github.com/users/CruGlobal/following{/other_user}","gists_url":"https://api.github.com/users/CruGlobal/gists{/gist_id}","starred_url":"https://api.github.com/users/CruGlobal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CruGlobal/subscriptions","organizations_url":"https://api.github.com/users/CruGlobal/orgs","repos_url":"https://api.github.com/users/CruGlobal/repos","events_url":"https://api.github.com/users/CruGlobal/events{/privacy}","received_events_url":"https://api.github.com/users/CruGlobal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CruGlobal/mpdx","description":"Web based tool to help missionaries stay in touch with ministry partners","fork":false,"url":"https://api.github.com/repos/CruGlobal/mpdx","forks_url":"https://api.github.com/repos/CruGlobal/mpdx/forks","keys_url":"https://api.github.com/repos/CruGlobal/mpdx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CruGlobal/mpdx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CruGlobal/mpdx/teams","hooks_url":"https://api.github.com/repos/CruGlobal/mpdx/hooks","issue_events_url":"https://api.github.com/repos/CruGlobal/mpdx/issues/events{/number}","events_url":"https://api.github.com/repos/CruGlobal/mpdx/events","assignees_url":"https://api.github.com/repos/CruGlobal/mpdx/assignees{/user}","branches_url":"https://api.github.com/repos/CruGlobal/mpdx/branches{/branch}","tags_url":"https://api.github.com/repos/CruGlobal/mpdx/tags","blobs_url":"https://api.github.com/repos/CruGlobal/mpdx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CruGlobal/mpdx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CruGlobal/mpdx/git/refs{/sha}","trees_url":"https://api.github.com/repos/CruGlobal/mpdx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CruGlobal/mpdx/statuses/{sha}","languages_url":"https://api.github.com/repos/CruGlobal/mpdx/languages","stargazers_url":"https://api.github.com/repos/CruGlobal/mpdx/stargazers","contributors_url":"https://api.github.com/repos/CruGlobal/mpdx/contributors","subscribers_url":"https://api.github.com/repos/CruGlobal/mpdx/subscribers","subscription_url":"https://api.github.com/repos/CruGlobal/mpdx/subscription","commits_url":"https://api.github.com/repos/CruGlobal/mpdx/commits{/sha}","git_commits_url":"https://api.github.com/repos/CruGlobal/mpdx/git/commits{/sha}","comments_url":"https://api.github.com/repos/CruGlobal/mpdx/comments{/number}","issue_comment_url":"https://api.github.com/repos/CruGlobal/mpdx/issues/comments/{number}","contents_url":"https://api.github.com/repos/CruGlobal/mpdx/contents/{+path}","compare_url":"https://api.github.com/repos/CruGlobal/mpdx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CruGlobal/mpdx/merges","archive_url":"https://api.github.com/repos/CruGlobal/mpdx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CruGlobal/mpdx/downloads","issues_url":"https://api.github.com/repos/CruGlobal/mpdx/issues{/number}","pulls_url":"https://api.github.com/repos/CruGlobal/mpdx/pulls{/number}","milestones_url":"https://api.github.com/repos/CruGlobal/mpdx/milestones{/number}","notifications_url":"https://api.github.com/repos/CruGlobal/mpdx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CruGlobal/mpdx/labels{/name}","releases_url":"https://api.github.com/repos/CruGlobal/mpdx/releases{/id}","created_at":"2012-06-11T14:26:20Z","updated_at":"2014-06-26T19:32:55Z","pushed_at":"2014-08-12T14:39:04Z","git_url":"git://github.com/CruGlobal/mpdx.git","ssh_url":"git@github.com:CruGlobal/mpdx.git","clone_url":"https://github.com/CruGlobal/mpdx.git","svn_url":"https://github.com/CruGlobal/mpdx","homepage":"https://mpdx.org","size":330628,"stargazers_count":7,"watchers_count":7,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":1,"mirror_url":null,"open_issues_count":12,"forks":1,"open_issues":12,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CruGlobal/mpdx/pulls/110"},"html":{"href":"https://github.com/CruGlobal/mpdx/pull/110"},"issue":{"href":"https://api.github.com/repos/CruGlobal/mpdx/issues/110"},"comments":{"href":"https://api.github.com/repos/CruGlobal/mpdx/issues/110/comments"},"review_comments":{"href":"https://api.github.com/repos/CruGlobal/mpdx/pulls/110/comments"},"review_comment":{"href":"https://api.github.com/repos/CruGlobal/mpdx/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/CruGlobal/mpdx/pulls/110/commits"},"statuses":{"href":"https://api.github.com/repos/CruGlobal/mpdx/statuses/515a3c31d765fd5673aed2d497b952e88faf3035"}}}}