GitHub PullRequestEvent at 2014-12-01 02:46:57
Repository: publicwhip
Actor: henare
Payload: {"action":"closed","number":976,"pull_request":{"url":"https://api.github.com/repos/openaustralia/publicwhip/pulls/976","id":25169316,"html_url":"https://github.com/openaustralia/publicwhip/pull/976","diff_url":"https://github.com/openaustralia/publicwhip/pull/976.diff","patch_url":"https://github.com/openaustralia/publicwhip/pull/976.patch","issue_url":"https://api.github.com/repos/openaustralia/publicwhip/issues/976","number":976,"state":"closed","locked":false,"title":"Changes user page to show 'recent contributions' rather than 'policies create by'","user":{"login":"equivalentideas","id":1239550,"avatar_url":"https://avatars.githubusercontent.com/u/1239550?v=3","gravatar_id":"","url":"https://api.github.com/users/equivalentideas","html_url":"https://github.com/equivalentideas","followers_url":"https://api.github.com/users/equivalentideas/followers","following_url":"https://api.github.com/users/equivalentideas/following{/other_user}","gists_url":"https://api.github.com/users/equivalentideas/gists{/gist_id}","starred_url":"https://api.github.com/users/equivalentideas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/equivalentideas/subscriptions","organizations_url":"https://api.github.com/users/equivalentideas/orgs","repos_url":"https://api.github.com/users/equivalentideas/repos","events_url":"https://api.github.com/users/equivalentideas/events{/privacy}","received_events_url":"https://api.github.com/users/equivalentideas/received_events","type":"User","site_admin":false},"body":"**This requires a fix before it can be merged.** The records don't sort properly, it's a problem with my query in the user controller, I think related to the difference between wikimotion and papertrail records.\r\n\r\nOtherwise, this simply swaps the copy and list of policies created by the user for a title and list of contributions. Basic first pass.\r\n\r\ncloses #968 \r\n\r\n## After\r\n![screen shot 2014-11-28 at 7 31 10 am](https://cloud.githubusercontent.com/assets/1239550/5221601/e4dacfbe-76d2-11e4-922a-3055a782f422.png)\r\n\r\n## Before\r\n![screen shot 2014-11-28 at 7 48 54 am](https://cloud.githubusercontent.com/assets/1239550/5221609/0c1a72a0-76d3-11e4-96f8-7607ab5740b3.png)\r\n","created_at":"2014-11-27T20:51:13Z","updated_at":"2014-12-01T02:46:57Z","closed_at":"2014-12-01T02:46:56Z","merged_at":"2014-12-01T02:46:56Z","merge_commit_sha":"00842a5ec5ddceb4bb0cd48b9638d99d806cb29e","assignee":{"login":"henare","id":48945,"avatar_url":"https://avatars.githubusercontent.com/u/48945?v=3","gravatar_id":"","url":"https://api.github.com/users/henare","html_url":"https://github.com/henare","followers_url":"https://api.github.com/users/henare/followers","following_url":"https://api.github.com/users/henare/following{/other_user}","gists_url":"https://api.github.com/users/henare/gists{/gist_id}","starred_url":"https://api.github.com/users/henare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henare/subscriptions","organizations_url":"https://api.github.com/users/henare/orgs","repos_url":"https://api.github.com/users/henare/repos","events_url":"https://api.github.com/users/henare/events{/privacy}","received_events_url":"https://api.github.com/users/henare/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/openaustralia/publicwhip/pulls/976/commits","review_comments_url":"https://api.github.com/repos/openaustralia/publicwhip/pulls/976/comments","review_comment_url":"https://api.github.com/repos/openaustralia/publicwhip/pulls/comments/{number}","comments_url":"https://api.github.com/repos/openaustralia/publicwhip/issues/976/comments","statuses_url":"https://api.github.com/repos/openaustralia/publicwhip/statuses/8719da6bdba66d4f41ed852d0f2a327e78a2f2ea","head":{"label":"openaustralia:recent_contributions","ref":"recent_contributions","sha":"8719da6bdba66d4f41ed852d0f2a327e78a2f2ea","user":{"login":"openaustralia","id":102012,"avatar_url":"https://avatars.githubusercontent.com/u/102012?v=3","gravatar_id":"","url":"https://api.github.com/users/openaustralia","html_url":"https://github.com/openaustralia","followers_url":"https://api.github.com/users/openaustralia/followers","following_url":"https://api.github.com/users/openaustralia/following{/other_user}","gists_url":"https://api.github.com/users/openaustralia/gists{/gist_id}","starred_url":"https://api.github.com/users/openaustralia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openaustralia/subscriptions","organizations_url":"https://api.github.com/users/openaustralia/orgs","repos_url":"https://api.github.com/users/openaustralia/repos","events_url":"https://api.github.com/users/openaustralia/events{/privacy}","received_events_url":"https://api.github.com/users/openaustralia/received_events","type":"Organization","site_admin":false},"repo":{"id":9685051,"name":"publicwhip","full_name":"openaustralia/publicwhip","owner":{"login":"openaustralia","id":102012,"avatar_url":"https://avatars.githubusercontent.com/u/102012?v=3","gravatar_id":"","url":"https://api.github.com/users/openaustralia","html_url":"https://github.com/openaustralia","followers_url":"https://api.github.com/users/openaustralia/followers","following_url":"https://api.github.com/users/openaustralia/following{/other_user}","gists_url":"https://api.github.com/users/openaustralia/gists{/gist_id}","starred_url":"https://api.github.com/users/openaustralia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openaustralia/subscriptions","organizations_url":"https://api.github.com/users/openaustralia/orgs","repos_url":"https://api.github.com/users/openaustralia/repos","events_url":"https://api.github.com/users/openaustralia/events{/privacy}","received_events_url":"https://api.github.com/users/openaustralia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openaustralia/publicwhip","description":"Helping you find out if your MP represents you by analysing their votes in Australia's parliament for you.","fork":false,"url":"https://api.github.com/repos/openaustralia/publicwhip","forks_url":"https://api.github.com/repos/openaustralia/publicwhip/forks","keys_url":"https://api.github.com/repos/openaustralia/publicwhip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openaustralia/publicwhip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openaustralia/publicwhip/teams","hooks_url":"https://api.github.com/repos/openaustralia/publicwhip/hooks","issue_events_url":"https://api.github.com/repos/openaustralia/publicwhip/issues/events{/number}","events_url":"https://api.github.com/repos/openaustralia/publicwhip/events","assignees_url":"https://api.github.com/repos/openaustralia/publicwhip/assignees{/user}","branches_url":"https://api.github.com/repos/openaustralia/publicwhip/branches{/branch}","tags_url":"https://api.github.com/repos/openaustralia/publicwhip/tags","blobs_url":"https://api.github.com/repos/openaustralia/publicwhip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openaustralia/publicwhip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openaustralia/publicwhip/git/refs{/sha}","trees_url":"https://api.github.com/repos/openaustralia/publicwhip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openaustralia/publicwhip/statuses/{sha}","languages_url":"https://api.github.com/repos/openaustralia/publicwhip/languages","stargazers_url":"https://api.github.com/repos/openaustralia/publicwhip/stargazers","contributors_url":"https://api.github.com/repos/openaustralia/publicwhip/contributors","subscribers_url":"https://api.github.com/repos/openaustralia/publicwhip/subscribers","subscription_url":"https://api.github.com/repos/openaustralia/publicwhip/subscription","commits_url":"https://api.github.com/repos/openaustralia/publicwhip/commits{/sha}","git_commits_url":"https://api.github.com/repos/openaustralia/publicwhip/git/commits{/sha}","comments_url":"https://api.github.com/repos/openaustralia/publicwhip/comments{/number}","issue_comment_url":"https://api.github.com/repos/openaustralia/publicwhip/issues/comments/{number}","contents_url":"https://api.github.com/repos/openaustralia/publicwhip/contents/{+path}","compare_url":"https://api.github.com/repos/openaustralia/publicwhip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openaustralia/publicwhip/merges","archive_url":"https://api.github.com/repos/openaustralia/publicwhip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openaustralia/publicwhip/downloads","issues_url":"https://api.github.com/repos/openaustralia/publicwhip/issues{/number}","pulls_url":"https://api.github.com/repos/openaustralia/publicwhip/pulls{/number}","milestones_url":"https://api.github.com/repos/openaustralia/publicwhip/milestones{/number}","notifications_url":"https://api.github.com/repos/openaustralia/publicwhip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openaustralia/publicwhip/labels{/name}","releases_url":"https://api.github.com/repos/openaustralia/publicwhip/releases{/id}","created_at":"2013-04-26T01:23:57Z","updated_at":"2014-12-01T01:42:32Z","pushed_at":"2014-12-01T02:46:57Z","git_url":"git://github.com/openaustralia/publicwhip.git","ssh_url":"git@github.com:openaustralia/publicwhip.git","clone_url":"https://github.com/openaustralia/publicwhip.git","svn_url":"https://github.com/openaustralia/publicwhip","homepage":"https://theyvoteforyou.org.au/","size":237019,"stargazers_count":19,"watchers_count":19,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":173,"forks":9,"open_issues":173,"watchers":19,"default_branch":"master"}},"base":{"label":"openaustralia:master","ref":"master","sha":"60064be15c67dbac9fffe30116d8485e5ae717e3","user":{"login":"openaustralia","id":102012,"avatar_url":"https://avatars.githubusercontent.com/u/102012?v=3","gravatar_id":"","url":"https://api.github.com/users/openaustralia","html_url":"https://github.com/openaustralia","followers_url":"https://api.github.com/users/openaustralia/followers","following_url":"https://api.github.com/users/openaustralia/following{/other_user}","gists_url":"https://api.github.com/users/openaustralia/gists{/gist_id}","starred_url":"https://api.github.com/users/openaustralia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openaustralia/subscriptions","organizations_url":"https://api.github.com/users/openaustralia/orgs","repos_url":"https://api.github.com/users/openaustralia/repos","events_url":"https://api.github.com/users/openaustralia/events{/privacy}","received_events_url":"https://api.github.com/users/openaustralia/received_events","type":"Organization","site_admin":false},"repo":{"id":9685051,"name":"publicwhip","full_name":"openaustralia/publicwhip","owner":{"login":"openaustralia","id":102012,"avatar_url":"https://avatars.githubusercontent.com/u/102012?v=3","gravatar_id":"","url":"https://api.github.com/users/openaustralia","html_url":"https://github.com/openaustralia","followers_url":"https://api.github.com/users/openaustralia/followers","following_url":"https://api.github.com/users/openaustralia/following{/other_user}","gists_url":"https://api.github.com/users/openaustralia/gists{/gist_id}","starred_url":"https://api.github.com/users/openaustralia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openaustralia/subscriptions","organizations_url":"https://api.github.com/users/openaustralia/orgs","repos_url":"https://api.github.com/users/openaustralia/repos","events_url":"https://api.github.com/users/openaustralia/events{/privacy}","received_events_url":"https://api.github.com/users/openaustralia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openaustralia/publicwhip","description":"Helping you find out if your MP represents you by analysing their votes in Australia's parliament for you.","fork":false,"url":"https://api.github.com/repos/openaustralia/publicwhip","forks_url":"https://api.github.com/repos/openaustralia/publicwhip/forks","keys_url":"https://api.github.com/repos/openaustralia/publicwhip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openaustralia/publicwhip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openaustralia/publicwhip/teams","hooks_url":"https://api.github.com/repos/openaustralia/publicwhip/hooks","issue_events_url":"https://api.github.com/repos/openaustralia/publicwhip/issues/events{/number}","events_url":"https://api.github.com/repos/openaustralia/publicwhip/events","assignees_url":"https://api.github.com/repos/openaustralia/publicwhip/assignees{/user}","branches_url":"https://api.github.com/repos/openaustralia/publicwhip/branches{/branch}","tags_url":"https://api.github.com/repos/openaustralia/publicwhip/tags","blobs_url":"https://api.github.com/repos/openaustralia/publicwhip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openaustralia/publicwhip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openaustralia/publicwhip/git/refs{/sha}","trees_url":"https://api.github.com/repos/openaustralia/publicwhip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openaustralia/publicwhip/statuses/{sha}","languages_url":"https://api.github.com/repos/openaustralia/publicwhip/languages","stargazers_url":"https://api.github.com/repos/openaustralia/publicwhip/stargazers","contributors_url":"https://api.github.com/repos/openaustralia/publicwhip/contributors","subscribers_url":"https://api.github.com/repos/openaustralia/publicwhip/subscribers","subscription_url":"https://api.github.com/repos/openaustralia/publicwhip/subscription","commits_url":"https://api.github.com/repos/openaustralia/publicwhip/commits{/sha}","git_commits_url":"https://api.github.com/repos/openaustralia/publicwhip/git/commits{/sha}","comments_url":"https://api.github.com/repos/openaustralia/publicwhip/comments{/number}","issue_comment_url":"https://api.github.com/repos/openaustralia/publicwhip/issues/comments/{number}","contents_url":"https://api.github.com/repos/openaustralia/publicwhip/contents/{+path}","compare_url":"https://api.github.com/repos/openaustralia/publicwhip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openaustralia/publicwhip/merges","archive_url":"https://api.github.com/repos/openaustralia/publicwhip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openaustralia/publicwhip/downloads","issues_url":"https://api.github.com/repos/openaustralia/publicwhip/issues{/number}","pulls_url":"https://api.github.com/repos/openaustralia/publicwhip/pulls{/number}","milestones_url":"https://api.github.com/repos/openaustralia/publicwhip/milestones{/number}","notifications_url":"https://api.github.com/repos/openaustralia/publicwhip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openaustralia/publicwhip/labels{/name}","releases_url":"https://api.github.com/repos/openaustralia/publicwhip/releases{/id}","created_at":"2013-04-26T01:23:57Z","updated_at":"2014-12-01T01:42:32Z","pushed_at":"2014-12-01T02:46:57Z","git_url":"git://github.com/openaustralia/publicwhip.git","ssh_url":"git@github.com:openaustralia/publicwhip.git","clone_url":"https://github.com/openaustralia/publicwhip.git","svn_url":"https://github.com/openaustralia/publicwhip","homepage":"https://theyvoteforyou.org.au/","size":237019,"stargazers_count":19,"watchers_count":19,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":173,"forks":9,"open_issues":173,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openaustralia/publicwhip/pulls/976"},"html":{"href":"https://github.com/openaustralia/publicwhip/pull/976"},"issue":{"href":"https://api.github.com/repos/openaustralia/publicwhip/issues/976"},"comments":{"href":"https://api.github.com/repos/openaustralia/publicwhip/issues/976/comments"},"review_comments":{"href":"https://api.github.com/repos/openaustralia/publicwhip/pulls/976/comments"},"review_comment":{"href":"https://api.github.com/repos/openaustralia/publicwhip/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/openaustralia/publicwhip/pulls/976/commits"},"statuses":{"href":"https://api.github.com/repos/openaustralia/publicwhip/statuses/8719da6bdba66d4f41ed852d0f2a327e78a2f2ea"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"henare","id":48945,"avatar_url":"https://avatars.githubusercontent.com/u/48945?v=3","gravatar_id":"","url":"https://api.github.com/users/henare","html_url":"https://github.com/henare","followers_url":"https://api.github.com/users/henare/followers","following_url":"https://api.github.com/users/henare/following{/other_user}","gists_url":"https://api.github.com/users/henare/gists{/gist_id}","starred_url":"https://api.github.com/users/henare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henare/subscriptions","organizations_url":"https://api.github.com/users/henare/orgs","repos_url":"https://api.github.com/users/henare/repos","events_url":"https://api.github.com/users/henare/events{/privacy}","received_events_url":"https://api.github.com/users/henare/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":8,"additions":36,"deletions":32,"changed_files":4}}