{"action":"opened","number":61,"pull_request":{"url":"https://api.github.com/repos/theodi/metrics-api/pulls/61","id":61738826,"html_url":"https://github.com/theodi/metrics-api/pull/61","diff_url":"https://github.com/theodi/metrics-api/pull/61.diff","patch_url":"https://github.com/theodi/metrics-api/pull/61.patch","issue_url":"https://api.github.com/repos/theodi/metrics-api/issues/61","number":61,"state":"open","locked":false,"title":"Refactor numbers view with tests","user":{"login":"pezholio","id":109774,"avatar_url":"https://avatars.githubusercontent.com/u/109774?v=3","gravatar_id":"","url":"https://api.github.com/users/pezholio","html_url":"https://github.com/pezholio","followers_url":"https://api.github.com/users/pezholio/followers","following_url":"https://api.github.com/users/pezholio/following{/other_user}","gists_url":"https://api.github.com/users/pezholio/gists{/gist_id}","starred_url":"https://api.github.com/users/pezholio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pezholio/subscriptions","organizations_url":"https://api.github.com/users/pezholio/orgs","repos_url":"https://api.github.com/users/pezholio/repos","events_url":"https://api.github.com/users/pezholio/events{/privacy}","received_events_url":"https://api.github.com/users/pezholio/received_events","type":"User","site_admin":false},"body":"Moved the numbers logic to a seperate js file and added tests. We should probably do this with all the views TBH","created_at":"2016-03-04T16:51:27Z","updated_at":"2016-03-04T16:51:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"985e4f354ba1ad32615b752c462123793b6c176f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/theodi/metrics-api/pulls/61/commits","review_comments_url":"https://api.github.com/repos/theodi/metrics-api/pulls/61/comments","review_comment_url":"https://api.github.com/repos/theodi/metrics-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theodi/metrics-api/issues/61/comments","statuses_url":"https://api.github.com/repos/theodi/metrics-api/statuses/cebb6debd4996bb11cf2c4c6e51cb80fac2576ce","head":{"label":"theodi:feature-refactor-numbers","ref":"feature-refactor-numbers","sha":"cebb6debd4996bb11cf2c4c6e51cb80fac2576ce","user":{"login":"theodi","id":2492770,"avatar_url":"https://avatars.githubusercontent.com/u/2492770?v=3","gravatar_id":"","url":"https://api.github.com/users/theodi","html_url":"https://github.com/theodi","followers_url":"https://api.github.com/users/theodi/followers","following_url":"https://api.github.com/users/theodi/following{/other_user}","gists_url":"https://api.github.com/users/theodi/gists{/gist_id}","starred_url":"https://api.github.com/users/theodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theodi/subscriptions","organizations_url":"https://api.github.com/users/theodi/orgs","repos_url":"https://api.github.com/users/theodi/repos","events_url":"https://api.github.com/users/theodi/events{/privacy}","received_events_url":"https://api.github.com/users/theodi/received_events","type":"Organization","site_admin":false},"repo":{"id":14894856,"name":"metrics-api","full_name":"theodi/metrics-api","owner":{"login":"theodi","id":2492770,"avatar_url":"https://avatars.githubusercontent.com/u/2492770?v=3","gravatar_id":"","url":"https://api.github.com/users/theodi","html_url":"https://github.com/theodi","followers_url":"https://api.github.com/users/theodi/followers","following_url":"https://api.github.com/users/theodi/following{/other_user}","gists_url":"https://api.github.com/users/theodi/gists{/gist_id}","starred_url":"https://api.github.com/users/theodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theodi/subscriptions","organizations_url":"https://api.github.com/users/theodi/orgs","repos_url":"https://api.github.com/users/theodi/repos","events_url":"https://api.github.com/users/theodi/events{/privacy}","received_events_url":"https://api.github.com/users/theodi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theodi/metrics-api","description":"Simple wrapper around MongoDB to allow storage and retrieval of metrics","fork":false,"url":"https://api.github.com/repos/theodi/metrics-api","forks_url":"https://api.github.com/repos/theodi/metrics-api/forks","keys_url":"https://api.github.com/repos/theodi/metrics-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theodi/metrics-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theodi/metrics-api/teams","hooks_url":"https://api.github.com/repos/theodi/metrics-api/hooks","issue_events_url":"https://api.github.com/repos/theodi/metrics-api/issues/events{/number}","events_url":"https://api.github.com/repos/theodi/metrics-api/events","assignees_url":"https://api.github.com/repos/theodi/metrics-api/assignees{/user}","branches_url":"https://api.github.com/repos/theodi/metrics-api/branches{/branch}","tags_url":"https://api.github.com/repos/theodi/metrics-api/tags","blobs_url":"https://api.github.com/repos/theodi/metrics-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theodi/metrics-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theodi/metrics-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/theodi/metrics-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theodi/metrics-api/statuses/{sha}","languages_url":"https://api.github.com/repos/theodi/metrics-api/languages","stargazers_url":"https://api.github.com/repos/theodi/metrics-api/stargazers","contributors_url":"https://api.github.com/repos/theodi/metrics-api/contributors","subscribers_url":"https://api.github.com/repos/theodi/metrics-api/subscribers","subscription_url":"https://api.github.com/repos/theodi/metrics-api/subscription","commits_url":"https://api.github.com/repos/theodi/metrics-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/theodi/metrics-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/theodi/metrics-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/theodi/metrics-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/theodi/metrics-api/contents/{+path}","compare_url":"https://api.github.com/repos/theodi/metrics-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theodi/metrics-api/merges","archive_url":"https://api.github.com/repos/theodi/metrics-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theodi/metrics-api/downloads","issues_url":"https://api.github.com/repos/theodi/metrics-api/issues{/number}","pulls_url":"https://api.github.com/repos/theodi/metrics-api/pulls{/number}","milestones_url":"https://api.github.com/repos/theodi/metrics-api/milestones{/number}","notifications_url":"https://api.github.com/repos/theodi/metrics-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theodi/metrics-api/labels{/name}","releases_url":"https://api.github.com/repos/theodi/metrics-api/releases{/id}","deployments_url":"https://api.github.com/repos/theodi/metrics-api/deployments","created_at":"2013-12-03T13:45:45Z","updated_at":"2016-03-01T16:53:29Z","pushed_at":"2016-03-04T16:51:28Z","git_url":"git://github.com/theodi/metrics-api.git","ssh_url":"git@github.com:theodi/metrics-api.git","clone_url":"https://github.com/theodi/metrics-api.git","svn_url":"https://github.com/theodi/metrics-api","homepage":"https://metrics.theodi.org","size":305,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":5,"forks":4,"open_issues":5,"watchers":1,"default_branch":"master"}},"base":{"label":"theodi:master","ref":"master","sha":"7173c76cf868e4117094329e51f2d179f1067607","user":{"login":"theodi","id":2492770,"avatar_url":"https://avatars.githubusercontent.com/u/2492770?v=3","gravatar_id":"","url":"https://api.github.com/users/theodi","html_url":"https://github.com/theodi","followers_url":"https://api.github.com/users/theodi/followers","following_url":"https://api.github.com/users/theodi/following{/other_user}","gists_url":"https://api.github.com/users/theodi/gists{/gist_id}","starred_url":"https://api.github.com/users/theodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theodi/subscriptions","organizations_url":"https://api.github.com/users/theodi/orgs","repos_url":"https://api.github.com/users/theodi/repos","events_url":"https://api.github.com/users/theodi/events{/privacy}","received_events_url":"https://api.github.com/users/theodi/received_events","type":"Organization","site_admin":false},"repo":{"id":14894856,"name":"metrics-api","full_name":"theodi/metrics-api","owner":{"login":"theodi","id":2492770,"avatar_url":"https://avatars.githubusercontent.com/u/2492770?v=3","gravatar_id":"","url":"https://api.github.com/users/theodi","html_url":"https://github.com/theodi","followers_url":"https://api.github.com/users/theodi/followers","following_url":"https://api.github.com/users/theodi/following{/other_user}","gists_url":"https://api.github.com/users/theodi/gists{/gist_id}","starred_url":"https://api.github.com/users/theodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theodi/subscriptions","organizations_url":"https://api.github.com/users/theodi/orgs","repos_url":"https://api.github.com/users/theodi/repos","events_url":"https://api.github.com/users/theodi/events{/privacy}","received_events_url":"https://api.github.com/users/theodi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theodi/metrics-api","description":"Simple wrapper around MongoDB to allow storage and retrieval of metrics","fork":false,"url":"https://api.github.com/repos/theodi/metrics-api","forks_url":"https://api.github.com/repos/theodi/metrics-api/forks","keys_url":"https://api.github.com/repos/theodi/metrics-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theodi/metrics-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theodi/metrics-api/teams","hooks_url":"https://api.github.com/repos/theodi/metrics-api/hooks","issue_events_url":"https://api.github.com/repos/theodi/metrics-api/issues/events{/number}","events_url":"https://api.github.com/repos/theodi/metrics-api/events","assignees_url":"https://api.github.com/repos/theodi/metrics-api/assignees{/user}","branches_url":"https://api.github.com/repos/theodi/metrics-api/branches{/branch}","tags_url":"https://api.github.com/repos/theodi/metrics-api/tags","blobs_url":"https://api.github.com/repos/theodi/metrics-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theodi/metrics-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theodi/metrics-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/theodi/metrics-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theodi/metrics-api/statuses/{sha}","languages_url":"https://api.github.com/repos/theodi/metrics-api/languages","stargazers_url":"https://api.github.com/repos/theodi/metrics-api/stargazers","contributors_url":"https://api.github.com/repos/theodi/metrics-api/contributors","subscribers_url":"https://api.github.com/repos/theodi/metrics-api/subscribers","subscription_url":"https://api.github.com/repos/theodi/metrics-api/subscription","commits_url":"https://api.github.com/repos/theodi/metrics-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/theodi/metrics-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/theodi/metrics-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/theodi/metrics-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/theodi/metrics-api/contents/{+path}","compare_url":"https://api.github.com/repos/theodi/metrics-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theodi/metrics-api/merges","archive_url":"https://api.github.com/repos/theodi/metrics-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theodi/metrics-api/downloads","issues_url":"https://api.github.com/repos/theodi/metrics-api/issues{/number}","pulls_url":"https://api.github.com/repos/theodi/metrics-api/pulls{/number}","milestones_url":"https://api.github.com/repos/theodi/metrics-api/milestones{/number}","notifications_url":"https://api.github.com/repos/theodi/metrics-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theodi/metrics-api/labels{/name}","releases_url":"https://api.github.com/repos/theodi/metrics-api/releases{/id}","deployments_url":"https://api.github.com/repos/theodi/metrics-api/deployments","created_at":"2013-12-03T13:45:45Z","updated_at":"2016-03-01T16:53:29Z","pushed_at":"2016-03-04T16:51:28Z","git_url":"git://github.com/theodi/metrics-api.git","ssh_url":"git@github.com:theodi/metrics-api.git","clone_url":"https://github.com/theodi/metrics-api.git","svn_url":"https://github.com/theodi/metrics-api","homepage":"https://metrics.theodi.org","size":305,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":5,"forks":4,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/theodi/metrics-api/pulls/61"},"html":{"href":"https://github.com/theodi/metrics-api/pull/61"},"issue":{"href":"https://api.github.com/repos/theodi/metrics-api/issues/61"},"comments":{"href":"https://api.github.com/repos/theodi/metrics-api/issues/61/comments"},"review_comments":{"href":"https://api.github.com/repos/theodi/metrics-api/pulls/61/comments"},"review_comment":{"href":"https://api.github.com/repos/theodi/metrics-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theodi/metrics-api/pulls/61/commits"},"statuses":{"href":"https://api.github.com/repos/theodi/metrics-api/statuses/cebb6debd4996bb11cf2c4c6e51cb80fac2576ce"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":100,"deletions":22,"changed_files":4}}