{"action":"closed","number":865,"pull_request":{"url":"https://api.github.com/repos/Growstuff/growstuff/pulls/865","id":65928340,"html_url":"https://github.com/Growstuff/growstuff/pull/865","diff_url":"https://github.com/Growstuff/growstuff/pull/865.diff","patch_url":"https://github.com/Growstuff/growstuff/pull/865.patch","issue_url":"https://api.github.com/repos/Growstuff/growstuff/issues/865","number":865,"state":"closed","locked":false,"title":"Fix progress calculations","user":{"login":"CloCkWeRX","id":365751,"avatar_url":"https://avatars.githubusercontent.com/u/365751?v=3","gravatar_id":"","url":"https://api.github.com/users/CloCkWeRX","html_url":"https://github.com/CloCkWeRX","followers_url":"https://api.github.com/users/CloCkWeRX/followers","following_url":"https://api.github.com/users/CloCkWeRX/following{/other_user}","gists_url":"https://api.github.com/users/CloCkWeRX/gists{/gist_id}","starred_url":"https://api.github.com/users/CloCkWeRX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CloCkWeRX/subscriptions","organizations_url":"https://api.github.com/users/CloCkWeRX/orgs","repos_url":"https://api.github.com/users/CloCkWeRX/repos","events_url":"https://api.github.com/users/CloCkWeRX/events{/privacy}","received_events_url":"https://api.github.com/users/CloCkWeRX/received_events","type":"User","site_admin":false},"body":"Fixes #850 #849 \r\n\r\n * Prevents negative %\r\n * Prevents showing 100% growth, progress bar when growth isn't known\r\n * Adds test coverage and fixes previously wrong test coverage\r\n","created_at":"2016-04-11T00:15:51Z","updated_at":"2016-04-21T07:02:37Z","closed_at":"2016-04-21T07:02:37Z","merged_at":"2016-04-21T07:02:37Z","merge_commit_sha":"260b16da11cfebbd05fdcebe10262d40f022f69b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Growstuff/growstuff/pulls/865/commits","review_comments_url":"https://api.github.com/repos/Growstuff/growstuff/pulls/865/comments","review_comment_url":"https://api.github.com/repos/Growstuff/growstuff/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Growstuff/growstuff/issues/865/comments","statuses_url":"https://api.github.com/repos/Growstuff/growstuff/statuses/cf0a6466996e3dd9ee04d37cf3f56f869228cecd","head":{"label":"CloCkWeRX:fix_progress","ref":"fix_progress","sha":"cf0a6466996e3dd9ee04d37cf3f56f869228cecd","user":{"login":"CloCkWeRX","id":365751,"avatar_url":"https://avatars.githubusercontent.com/u/365751?v=3","gravatar_id":"","url":"https://api.github.com/users/CloCkWeRX","html_url":"https://github.com/CloCkWeRX","followers_url":"https://api.github.com/users/CloCkWeRX/followers","following_url":"https://api.github.com/users/CloCkWeRX/following{/other_user}","gists_url":"https://api.github.com/users/CloCkWeRX/gists{/gist_id}","starred_url":"https://api.github.com/users/CloCkWeRX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CloCkWeRX/subscriptions","organizations_url":"https://api.github.com/users/CloCkWeRX/orgs","repos_url":"https://api.github.com/users/CloCkWeRX/repos","events_url":"https://api.github.com/users/CloCkWeRX/events{/privacy}","received_events_url":"https://api.github.com/users/CloCkWeRX/received_events","type":"User","site_admin":false},"repo":{"id":40466921,"name":"growstuff","full_name":"CloCkWeRX/growstuff","owner":{"login":"CloCkWeRX","id":365751,"avatar_url":"https://avatars.githubusercontent.com/u/365751?v=3","gravatar_id":"","url":"https://api.github.com/users/CloCkWeRX","html_url":"https://github.com/CloCkWeRX","followers_url":"https://api.github.com/users/CloCkWeRX/followers","following_url":"https://api.github.com/users/CloCkWeRX/following{/other_user}","gists_url":"https://api.github.com/users/CloCkWeRX/gists{/gist_id}","starred_url":"https://api.github.com/users/CloCkWeRX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CloCkWeRX/subscriptions","organizations_url":"https://api.github.com/users/CloCkWeRX/orgs","repos_url":"https://api.github.com/users/CloCkWeRX/repos","events_url":"https://api.github.com/users/CloCkWeRX/events{/privacy}","received_events_url":"https://api.github.com/users/CloCkWeRX/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/CloCkWeRX/growstuff","description":"Open data project for small-scale food growers","fork":true,"url":"https://api.github.com/repos/CloCkWeRX/growstuff","forks_url":"https://api.github.com/repos/CloCkWeRX/growstuff/forks","keys_url":"https://api.github.com/repos/CloCkWeRX/growstuff/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CloCkWeRX/growstuff/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CloCkWeRX/growstuff/teams","hooks_url":"https://api.github.com/repos/CloCkWeRX/growstuff/hooks","issue_events_url":"https://api.github.com/repos/CloCkWeRX/growstuff/issues/events{/number}","events_url":"https://api.github.com/repos/CloCkWeRX/growstuff/events","assignees_url":"https://api.github.com/repos/CloCkWeRX/growstuff/assignees{/user}","branches_url":"https://api.github.com/repos/CloCkWeRX/growstuff/branches{/branch}","tags_url":"https://api.github.com/repos/CloCkWeRX/growstuff/tags","blobs_url":"https://api.github.com/repos/CloCkWeRX/growstuff/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CloCkWeRX/growstuff/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CloCkWeRX/growstuff/git/refs{/sha}","trees_url":"https://api.github.com/repos/CloCkWeRX/growstuff/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CloCkWeRX/growstuff/statuses/{sha}","languages_url":"https://api.github.com/repos/CloCkWeRX/growstuff/languages","stargazers_url":"https://api.github.com/repos/CloCkWeRX/growstuff/stargazers","contributors_url":"https://api.github.com/repos/CloCkWeRX/growstuff/contributors","subscribers_url":"https://api.github.com/repos/CloCkWeRX/growstuff/subscribers","subscription_url":"https://api.github.com/repos/CloCkWeRX/growstuff/subscription","commits_url":"https://api.github.com/repos/CloCkWeRX/growstuff/commits{/sha}","git_commits_url":"https://api.github.com/repos/CloCkWeRX/growstuff/git/commits{/sha}","comments_url":"https://api.github.com/repos/CloCkWeRX/growstuff/comments{/number}","issue_comment_url":"https://api.github.com/repos/CloCkWeRX/growstuff/issues/comments{/number}","contents_url":"https://api.github.com/repos/CloCkWeRX/growstuff/contents/{+path}","compare_url":"https://api.github.com/repos/CloCkWeRX/growstuff/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CloCkWeRX/growstuff/merges","archive_url":"https://api.github.com/repos/CloCkWeRX/growstuff/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CloCkWeRX/growstuff/downloads","issues_url":"https://api.github.com/repos/CloCkWeRX/growstuff/issues{/number}","pulls_url":"https://api.github.com/repos/CloCkWeRX/growstuff/pulls{/number}","milestones_url":"https://api.github.com/repos/CloCkWeRX/growstuff/milestones{/number}","notifications_url":"https://api.github.com/repos/CloCkWeRX/growstuff/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CloCkWeRX/growstuff/labels{/name}","releases_url":"https://api.github.com/repos/CloCkWeRX/growstuff/releases{/id}","deployments_url":"https://api.github.com/repos/CloCkWeRX/growstuff/deployments","created_at":"2015-08-10T06:32:22Z","updated_at":"2016-03-28T23:33:31Z","pushed_at":"2016-04-16T01:25:20Z","git_url":"git://github.com/CloCkWeRX/growstuff.git","ssh_url":"git@github.com:CloCkWeRX/growstuff.git","clone_url":"https://github.com/CloCkWeRX/growstuff.git","svn_url":"https://github.com/CloCkWeRX/growstuff","homepage":"http://growstuff.org/","size":6202,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"dev"}},"base":{"label":"Growstuff:dev","ref":"dev","sha":"01b9e7681455ec55fe6c817b8c913e3c754f9875","user":{"login":"Growstuff","id":2066469,"avatar_url":"https://avatars.githubusercontent.com/u/2066469?v=3","gravatar_id":"","url":"https://api.github.com/users/Growstuff","html_url":"https://github.com/Growstuff","followers_url":"https://api.github.com/users/Growstuff/followers","following_url":"https://api.github.com/users/Growstuff/following{/other_user}","gists_url":"https://api.github.com/users/Growstuff/gists{/gist_id}","starred_url":"https://api.github.com/users/Growstuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Growstuff/subscriptions","organizations_url":"https://api.github.com/users/Growstuff/orgs","repos_url":"https://api.github.com/users/Growstuff/repos","events_url":"https://api.github.com/users/Growstuff/events{/privacy}","received_events_url":"https://api.github.com/users/Growstuff/received_events","type":"Organization","site_admin":false},"repo":{"id":5337437,"name":"growstuff","full_name":"Growstuff/growstuff","owner":{"login":"Growstuff","id":2066469,"avatar_url":"https://avatars.githubusercontent.com/u/2066469?v=3","gravatar_id":"","url":"https://api.github.com/users/Growstuff","html_url":"https://github.com/Growstuff","followers_url":"https://api.github.com/users/Growstuff/followers","following_url":"https://api.github.com/users/Growstuff/following{/other_user}","gists_url":"https://api.github.com/users/Growstuff/gists{/gist_id}","starred_url":"https://api.github.com/users/Growstuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Growstuff/subscriptions","organizations_url":"https://api.github.com/users/Growstuff/orgs","repos_url":"https://api.github.com/users/Growstuff/repos","events_url":"https://api.github.com/users/Growstuff/events{/privacy}","received_events_url":"https://api.github.com/users/Growstuff/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Growstuff/growstuff","description":"Open data project for small-scale food growers","fork":false,"url":"https://api.github.com/repos/Growstuff/growstuff","forks_url":"https://api.github.com/repos/Growstuff/growstuff/forks","keys_url":"https://api.github.com/repos/Growstuff/growstuff/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Growstuff/growstuff/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Growstuff/growstuff/teams","hooks_url":"https://api.github.com/repos/Growstuff/growstuff/hooks","issue_events_url":"https://api.github.com/repos/Growstuff/growstuff/issues/events{/number}","events_url":"https://api.github.com/repos/Growstuff/growstuff/events","assignees_url":"https://api.github.com/repos/Growstuff/growstuff/assignees{/user}","branches_url":"https://api.github.com/repos/Growstuff/growstuff/branches{/branch}","tags_url":"https://api.github.com/repos/Growstuff/growstuff/tags","blobs_url":"https://api.github.com/repos/Growstuff/growstuff/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Growstuff/growstuff/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Growstuff/growstuff/git/refs{/sha}","trees_url":"https://api.github.com/repos/Growstuff/growstuff/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Growstuff/growstuff/statuses/{sha}","languages_url":"https://api.github.com/repos/Growstuff/growstuff/languages","stargazers_url":"https://api.github.com/repos/Growstuff/growstuff/stargazers","contributors_url":"https://api.github.com/repos/Growstuff/growstuff/contributors","subscribers_url":"https://api.github.com/repos/Growstuff/growstuff/subscribers","subscription_url":"https://api.github.com/repos/Growstuff/growstuff/subscription","commits_url":"https://api.github.com/repos/Growstuff/growstuff/commits{/sha}","git_commits_url":"https://api.github.com/repos/Growstuff/growstuff/git/commits{/sha}","comments_url":"https://api.github.com/repos/Growstuff/growstuff/comments{/number}","issue_comment_url":"https://api.github.com/repos/Growstuff/growstuff/issues/comments{/number}","contents_url":"https://api.github.com/repos/Growstuff/growstuff/contents/{+path}","compare_url":"https://api.github.com/repos/Growstuff/growstuff/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Growstuff/growstuff/merges","archive_url":"https://api.github.com/repos/Growstuff/growstuff/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Growstuff/growstuff/downloads","issues_url":"https://api.github.com/repos/Growstuff/growstuff/issues{/number}","pulls_url":"https://api.github.com/repos/Growstuff/growstuff/pulls{/number}","milestones_url":"https://api.github.com/repos/Growstuff/growstuff/milestones{/number}","notifications_url":"https://api.github.com/repos/Growstuff/growstuff/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Growstuff/growstuff/labels{/name}","releases_url":"https://api.github.com/repos/Growstuff/growstuff/releases{/id}","deployments_url":"https://api.github.com/repos/Growstuff/growstuff/deployments","created_at":"2012-08-08T05:13:37Z","updated_at":"2016-04-03T10:15:01Z","pushed_at":"2016-04-21T07:02:37Z","git_url":"git://github.com/Growstuff/growstuff.git","ssh_url":"git@github.com:Growstuff/growstuff.git","clone_url":"https://github.com/Growstuff/growstuff.git","svn_url":"https://github.com/Growstuff/growstuff","homepage":"http://growstuff.org/","size":6877,"stargazers_count":188,"watchers_count":188,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":130,"mirror_url":null,"open_issues_count":166,"forks":130,"open_issues":166,"watchers":188,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Growstuff/growstuff/pulls/865"},"html":{"href":"https://github.com/Growstuff/growstuff/pull/865"},"issue":{"href":"https://api.github.com/repos/Growstuff/growstuff/issues/865"},"comments":{"href":"https://api.github.com/repos/Growstuff/growstuff/issues/865/comments"},"review_comments":{"href":"https://api.github.com/repos/Growstuff/growstuff/pulls/865/comments"},"review_comment":{"href":"https://api.github.com/repos/Growstuff/growstuff/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Growstuff/growstuff/pulls/865/commits"},"statuses":{"href":"https://api.github.com/repos/Growstuff/growstuff/statuses/cf0a6466996e3dd9ee04d37cf3f56f869228cecd"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"cesy","id":570999,"avatar_url":"https://avatars.githubusercontent.com/u/570999?v=3","gravatar_id":"","url":"https://api.github.com/users/cesy","html_url":"https://github.com/cesy","followers_url":"https://api.github.com/users/cesy/followers","following_url":"https://api.github.com/users/cesy/following{/other_user}","gists_url":"https://api.github.com/users/cesy/gists{/gist_id}","starred_url":"https://api.github.com/users/cesy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cesy/subscriptions","organizations_url":"https://api.github.com/users/cesy/orgs","repos_url":"https://api.github.com/users/cesy/repos","events_url":"https://api.github.com/users/cesy/events{/privacy}","received_events_url":"https://api.github.com/users/cesy/received_events","type":"User","site_admin":false},"comments":5,"review_comments":3,"commits":7,"additions":89,"deletions":26,"changed_files":5}}