{"action":"closed","number":61,"pull_request":{"url":"https://api.github.com/repos/HubSpot/humanize/pulls/61","id":32448645,"html_url":"https://github.com/HubSpot/humanize/pull/61","diff_url":"https://github.com/HubSpot/humanize/pull/61.diff","patch_url":"https://github.com/HubSpot/humanize/pull/61.patch","issue_url":"https://api.github.com/repos/HubSpot/humanize/issues/61","number":61,"state":"closed","locked":false,"title":"Add percision parameter to fileSize","user":{"login":"nathancahill","id":1383872,"avatar_url":"https://avatars.githubusercontent.com/u/1383872?v=3","gravatar_id":"","url":"https://api.github.com/users/nathancahill","html_url":"https://github.com/nathancahill","followers_url":"https://api.github.com/users/nathancahill/followers","following_url":"https://api.github.com/users/nathancahill/following{/other_user}","gists_url":"https://api.github.com/users/nathancahill/gists{/gist_id}","starred_url":"https://api.github.com/users/nathancahill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathancahill/subscriptions","organizations_url":"https://api.github.com/users/nathancahill/orgs","repos_url":"https://api.github.com/users/nathancahill/repos","events_url":"https://api.github.com/users/nathancahill/events{/privacy}","received_events_url":"https://api.github.com/users/nathancahill/received_events","type":"User","site_admin":false},"body":"Sometimes 3 MB is more humane than 3.12 MB. This allows specifying the precision as a parameter of fileSize() instead of having it hardcoded as 2:\r\n\r\n```\r\nHumanize.fileSize(1024 * 2000, 0)\r\n// \"1 Mb\"\r\n```","created_at":"2015-04-01T18:51:30Z","updated_at":"2016-03-14T15:44:55Z","closed_at":"2016-03-14T15:44:55Z","merged_at":null,"merge_commit_sha":"ab749540f56e30ea51f02d7ed7ca1195fb39fb02","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/HubSpot/humanize/pulls/61/commits","review_comments_url":"https://api.github.com/repos/HubSpot/humanize/pulls/61/comments","review_comment_url":"https://api.github.com/repos/HubSpot/humanize/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HubSpot/humanize/issues/61/comments","statuses_url":"https://api.github.com/repos/HubSpot/humanize/statuses/5e9840f94a01d87a077b0512f05deeb06592abc7","head":{"label":"nathancahill:master","ref":"master","sha":"5e9840f94a01d87a077b0512f05deeb06592abc7","user":{"login":"nathancahill","id":1383872,"avatar_url":"https://avatars.githubusercontent.com/u/1383872?v=3","gravatar_id":"","url":"https://api.github.com/users/nathancahill","html_url":"https://github.com/nathancahill","followers_url":"https://api.github.com/users/nathancahill/followers","following_url":"https://api.github.com/users/nathancahill/following{/other_user}","gists_url":"https://api.github.com/users/nathancahill/gists{/gist_id}","starred_url":"https://api.github.com/users/nathancahill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathancahill/subscriptions","organizations_url":"https://api.github.com/users/nathancahill/orgs","repos_url":"https://api.github.com/users/nathancahill/repos","events_url":"https://api.github.com/users/nathancahill/events{/privacy}","received_events_url":"https://api.github.com/users/nathancahill/received_events","type":"User","site_admin":false},"repo":{"id":33265565,"name":"humanize","full_name":"nathancahill/humanize","owner":{"login":"nathancahill","id":1383872,"avatar_url":"https://avatars.githubusercontent.com/u/1383872?v=3","gravatar_id":"","url":"https://api.github.com/users/nathancahill","html_url":"https://github.com/nathancahill","followers_url":"https://api.github.com/users/nathancahill/followers","following_url":"https://api.github.com/users/nathancahill/following{/other_user}","gists_url":"https://api.github.com/users/nathancahill/gists{/gist_id}","starred_url":"https://api.github.com/users/nathancahill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathancahill/subscriptions","organizations_url":"https://api.github.com/users/nathancahill/orgs","repos_url":"https://api.github.com/users/nathancahill/repos","events_url":"https://api.github.com/users/nathancahill/events{/privacy}","received_events_url":"https://api.github.com/users/nathancahill/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nathancahill/humanize","description":"A simple utility library for making the web more humane. #hubspot-open-source","fork":true,"url":"https://api.github.com/repos/nathancahill/humanize","forks_url":"https://api.github.com/repos/nathancahill/humanize/forks","keys_url":"https://api.github.com/repos/nathancahill/humanize/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nathancahill/humanize/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nathancahill/humanize/teams","hooks_url":"https://api.github.com/repos/nathancahill/humanize/hooks","issue_events_url":"https://api.github.com/repos/nathancahill/humanize/issues/events{/number}","events_url":"https://api.github.com/repos/nathancahill/humanize/events","assignees_url":"https://api.github.com/repos/nathancahill/humanize/assignees{/user}","branches_url":"https://api.github.com/repos/nathancahill/humanize/branches{/branch}","tags_url":"https://api.github.com/repos/nathancahill/humanize/tags","blobs_url":"https://api.github.com/repos/nathancahill/humanize/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nathancahill/humanize/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nathancahill/humanize/git/refs{/sha}","trees_url":"https://api.github.com/repos/nathancahill/humanize/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nathancahill/humanize/statuses/{sha}","languages_url":"https://api.github.com/repos/nathancahill/humanize/languages","stargazers_url":"https://api.github.com/repos/nathancahill/humanize/stargazers","contributors_url":"https://api.github.com/repos/nathancahill/humanize/contributors","subscribers_url":"https://api.github.com/repos/nathancahill/humanize/subscribers","subscription_url":"https://api.github.com/repos/nathancahill/humanize/subscription","commits_url":"https://api.github.com/repos/nathancahill/humanize/commits{/sha}","git_commits_url":"https://api.github.com/repos/nathancahill/humanize/git/commits{/sha}","comments_url":"https://api.github.com/repos/nathancahill/humanize/comments{/number}","issue_comment_url":"https://api.github.com/repos/nathancahill/humanize/issues/comments{/number}","contents_url":"https://api.github.com/repos/nathancahill/humanize/contents/{+path}","compare_url":"https://api.github.com/repos/nathancahill/humanize/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nathancahill/humanize/merges","archive_url":"https://api.github.com/repos/nathancahill/humanize/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nathancahill/humanize/downloads","issues_url":"https://api.github.com/repos/nathancahill/humanize/issues{/number}","pulls_url":"https://api.github.com/repos/nathancahill/humanize/pulls{/number}","milestones_url":"https://api.github.com/repos/nathancahill/humanize/milestones{/number}","notifications_url":"https://api.github.com/repos/nathancahill/humanize/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nathancahill/humanize/labels{/name}","releases_url":"https://api.github.com/repos/nathancahill/humanize/releases{/id}","deployments_url":"https://api.github.com/repos/nathancahill/humanize/deployments","created_at":"2015-04-01T18:39:49Z","updated_at":"2015-04-14T20:26:18Z","pushed_at":"2016-03-14T15:42:49Z","git_url":"git://github.com/nathancahill/humanize.git","ssh_url":"git@github.com:nathancahill/humanize.git","clone_url":"https://github.com/nathancahill/humanize.git","svn_url":"https://github.com/nathancahill/humanize","homepage":"","size":645,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","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":"master"}},"base":{"label":"HubSpot:master","ref":"master","sha":"b0f15ac9eeeb1c37653754f3cc080ef2c8390101","user":{"login":"HubSpot","id":326419,"avatar_url":"https://avatars.githubusercontent.com/u/326419?v=3","gravatar_id":"","url":"https://api.github.com/users/HubSpot","html_url":"https://github.com/HubSpot","followers_url":"https://api.github.com/users/HubSpot/followers","following_url":"https://api.github.com/users/HubSpot/following{/other_user}","gists_url":"https://api.github.com/users/HubSpot/gists{/gist_id}","starred_url":"https://api.github.com/users/HubSpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HubSpot/subscriptions","organizations_url":"https://api.github.com/users/HubSpot/orgs","repos_url":"https://api.github.com/users/HubSpot/repos","events_url":"https://api.github.com/users/HubSpot/events{/privacy}","received_events_url":"https://api.github.com/users/HubSpot/received_events","type":"Organization","site_admin":false},"repo":{"id":7765964,"name":"humanize","full_name":"HubSpot/humanize","owner":{"login":"HubSpot","id":326419,"avatar_url":"https://avatars.githubusercontent.com/u/326419?v=3","gravatar_id":"","url":"https://api.github.com/users/HubSpot","html_url":"https://github.com/HubSpot","followers_url":"https://api.github.com/users/HubSpot/followers","following_url":"https://api.github.com/users/HubSpot/following{/other_user}","gists_url":"https://api.github.com/users/HubSpot/gists{/gist_id}","starred_url":"https://api.github.com/users/HubSpot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HubSpot/subscriptions","organizations_url":"https://api.github.com/users/HubSpot/orgs","repos_url":"https://api.github.com/users/HubSpot/repos","events_url":"https://api.github.com/users/HubSpot/events{/privacy}","received_events_url":"https://api.github.com/users/HubSpot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HubSpot/humanize","description":"A simple utility library for making the web more humane. #hubspot-open-source","fork":false,"url":"https://api.github.com/repos/HubSpot/humanize","forks_url":"https://api.github.com/repos/HubSpot/humanize/forks","keys_url":"https://api.github.com/repos/HubSpot/humanize/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HubSpot/humanize/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HubSpot/humanize/teams","hooks_url":"https://api.github.com/repos/HubSpot/humanize/hooks","issue_events_url":"https://api.github.com/repos/HubSpot/humanize/issues/events{/number}","events_url":"https://api.github.com/repos/HubSpot/humanize/events","assignees_url":"https://api.github.com/repos/HubSpot/humanize/assignees{/user}","branches_url":"https://api.github.com/repos/HubSpot/humanize/branches{/branch}","tags_url":"https://api.github.com/repos/HubSpot/humanize/tags","blobs_url":"https://api.github.com/repos/HubSpot/humanize/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HubSpot/humanize/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HubSpot/humanize/git/refs{/sha}","trees_url":"https://api.github.com/repos/HubSpot/humanize/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HubSpot/humanize/statuses/{sha}","languages_url":"https://api.github.com/repos/HubSpot/humanize/languages","stargazers_url":"https://api.github.com/repos/HubSpot/humanize/stargazers","contributors_url":"https://api.github.com/repos/HubSpot/humanize/contributors","subscribers_url":"https://api.github.com/repos/HubSpot/humanize/subscribers","subscription_url":"https://api.github.com/repos/HubSpot/humanize/subscription","commits_url":"https://api.github.com/repos/HubSpot/humanize/commits{/sha}","git_commits_url":"https://api.github.com/repos/HubSpot/humanize/git/commits{/sha}","comments_url":"https://api.github.com/repos/HubSpot/humanize/comments{/number}","issue_comment_url":"https://api.github.com/repos/HubSpot/humanize/issues/comments{/number}","contents_url":"https://api.github.com/repos/HubSpot/humanize/contents/{+path}","compare_url":"https://api.github.com/repos/HubSpot/humanize/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HubSpot/humanize/merges","archive_url":"https://api.github.com/repos/HubSpot/humanize/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HubSpot/humanize/downloads","issues_url":"https://api.github.com/repos/HubSpot/humanize/issues{/number}","pulls_url":"https://api.github.com/repos/HubSpot/humanize/pulls{/number}","milestones_url":"https://api.github.com/repos/HubSpot/humanize/milestones{/number}","notifications_url":"https://api.github.com/repos/HubSpot/humanize/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HubSpot/humanize/labels{/name}","releases_url":"https://api.github.com/repos/HubSpot/humanize/releases{/id}","deployments_url":"https://api.github.com/repos/HubSpot/humanize/deployments","created_at":"2013-01-23T02:09:45Z","updated_at":"2016-03-12T22:48:56Z","pushed_at":"2016-03-14T15:44:31Z","git_url":"git://github.com/HubSpot/humanize.git","ssh_url":"git@github.com:HubSpot/humanize.git","clone_url":"https://github.com/HubSpot/humanize.git","svn_url":"https://github.com/HubSpot/humanize","homepage":"","size":674,"stargazers_count":505,"watchers_count":505,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":29,"mirror_url":null,"open_issues_count":2,"forks":29,"open_issues":2,"watchers":505,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HubSpot/humanize/pulls/61"},"html":{"href":"https://github.com/HubSpot/humanize/pull/61"},"issue":{"href":"https://api.github.com/repos/HubSpot/humanize/issues/61"},"comments":{"href":"https://api.github.com/repos/HubSpot/humanize/issues/61/comments"},"review_comments":{"href":"https://api.github.com/repos/HubSpot/humanize/pulls/61/comments"},"review_comment":{"href":"https://api.github.com/repos/HubSpot/humanize/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HubSpot/humanize/pulls/61/commits"},"statuses":{"href":"https://api.github.com/repos/HubSpot/humanize/statuses/5e9840f94a01d87a077b0512f05deeb06592abc7"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":6,"review_comments":0,"commits":2,"additions":12,"deletions":6,"changed_files":4}}