{"action":"opened","number":13,"pull_request":{"url":"https://api.github.com/repos/patrickkettner/filesize-parser/pulls/13","id":71164543,"html_url":"https://github.com/patrickkettner/filesize-parser/pull/13","diff_url":"https://github.com/patrickkettner/filesize-parser/pull/13.diff","patch_url":"https://github.com/patrickkettner/filesize-parser/pull/13.patch","issue_url":"https://api.github.com/repos/patrickkettner/filesize-parser/issues/13","number":13,"state":"open","locked":false,"title":"Return value is now ceiled","user":{"login":"Emeraude","id":2932895,"avatar_url":"https://avatars.githubusercontent.com/u/2932895?v=3","gravatar_id":"","url":"https://api.github.com/users/Emeraude","html_url":"https://github.com/Emeraude","followers_url":"https://api.github.com/users/Emeraude/followers","following_url":"https://api.github.com/users/Emeraude/following{/other_user}","gists_url":"https://api.github.com/users/Emeraude/gists{/gist_id}","starred_url":"https://api.github.com/users/Emeraude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emeraude/subscriptions","organizations_url":"https://api.github.com/users/Emeraude/orgs","repos_url":"https://api.github.com/users/Emeraude/repos","events_url":"https://api.github.com/users/Emeraude/events{/privacy}","received_events_url":"https://api.github.com/users/Emeraude/received_events","type":"User","site_admin":false},"body":"The module does not returns floating numbers anymore. Floating numbers have been ceiled to avoid it.\r\nI added 3 tests to verify it.\r\n\r\n```js\r\nvar filesizeParser = require('filesize-parser');\r\nfilesizeParser('2.1GiB'); // now returns 2254857831 instead of 2254857830.4\r\nfilesizeParser('2.156KiB'); // now returns 2208 instead of 2207.744\r\nfilesizeParser(100.1); // now returns 101 instead of 100.1\r\n```\r\n\r\nThis fix issue #12.","created_at":"2016-05-24T06:36:10Z","updated_at":"2016-05-24T06:36:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/patrickkettner/filesize-parser/pulls/13/commits","review_comments_url":"https://api.github.com/repos/patrickkettner/filesize-parser/pulls/13/comments","review_comment_url":"https://api.github.com/repos/patrickkettner/filesize-parser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/patrickkettner/filesize-parser/issues/13/comments","statuses_url":"https://api.github.com/repos/patrickkettner/filesize-parser/statuses/b16a210d6b0ddad9795b841d9539894d6b49efa5","head":{"label":"Emeraude:ceil-result","ref":"ceil-result","sha":"b16a210d6b0ddad9795b841d9539894d6b49efa5","user":{"login":"Emeraude","id":2932895,"avatar_url":"https://avatars.githubusercontent.com/u/2932895?v=3","gravatar_id":"","url":"https://api.github.com/users/Emeraude","html_url":"https://github.com/Emeraude","followers_url":"https://api.github.com/users/Emeraude/followers","following_url":"https://api.github.com/users/Emeraude/following{/other_user}","gists_url":"https://api.github.com/users/Emeraude/gists{/gist_id}","starred_url":"https://api.github.com/users/Emeraude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emeraude/subscriptions","organizations_url":"https://api.github.com/users/Emeraude/orgs","repos_url":"https://api.github.com/users/Emeraude/repos","events_url":"https://api.github.com/users/Emeraude/events{/privacy}","received_events_url":"https://api.github.com/users/Emeraude/received_events","type":"User","site_admin":false},"repo":{"id":59278417,"name":"filesize-parser","full_name":"Emeraude/filesize-parser","owner":{"login":"Emeraude","id":2932895,"avatar_url":"https://avatars.githubusercontent.com/u/2932895?v=3","gravatar_id":"","url":"https://api.github.com/users/Emeraude","html_url":"https://github.com/Emeraude","followers_url":"https://api.github.com/users/Emeraude/followers","following_url":"https://api.github.com/users/Emeraude/following{/other_user}","gists_url":"https://api.github.com/users/Emeraude/gists{/gist_id}","starred_url":"https://api.github.com/users/Emeraude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emeraude/subscriptions","organizations_url":"https://api.github.com/users/Emeraude/orgs","repos_url":"https://api.github.com/users/Emeraude/repos","events_url":"https://api.github.com/users/Emeraude/events{/privacy}","received_events_url":"https://api.github.com/users/Emeraude/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Emeraude/filesize-parser","description":"convert human readable filesizes to their byte equivalent ","fork":true,"url":"https://api.github.com/repos/Emeraude/filesize-parser","forks_url":"https://api.github.com/repos/Emeraude/filesize-parser/forks","keys_url":"https://api.github.com/repos/Emeraude/filesize-parser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Emeraude/filesize-parser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Emeraude/filesize-parser/teams","hooks_url":"https://api.github.com/repos/Emeraude/filesize-parser/hooks","issue_events_url":"https://api.github.com/repos/Emeraude/filesize-parser/issues/events{/number}","events_url":"https://api.github.com/repos/Emeraude/filesize-parser/events","assignees_url":"https://api.github.com/repos/Emeraude/filesize-parser/assignees{/user}","branches_url":"https://api.github.com/repos/Emeraude/filesize-parser/branches{/branch}","tags_url":"https://api.github.com/repos/Emeraude/filesize-parser/tags","blobs_url":"https://api.github.com/repos/Emeraude/filesize-parser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Emeraude/filesize-parser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Emeraude/filesize-parser/git/refs{/sha}","trees_url":"https://api.github.com/repos/Emeraude/filesize-parser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Emeraude/filesize-parser/statuses/{sha}","languages_url":"https://api.github.com/repos/Emeraude/filesize-parser/languages","stargazers_url":"https://api.github.com/repos/Emeraude/filesize-parser/stargazers","contributors_url":"https://api.github.com/repos/Emeraude/filesize-parser/contributors","subscribers_url":"https://api.github.com/repos/Emeraude/filesize-parser/subscribers","subscription_url":"https://api.github.com/repos/Emeraude/filesize-parser/subscription","commits_url":"https://api.github.com/repos/Emeraude/filesize-parser/commits{/sha}","git_commits_url":"https://api.github.com/repos/Emeraude/filesize-parser/git/commits{/sha}","comments_url":"https://api.github.com/repos/Emeraude/filesize-parser/comments{/number}","issue_comment_url":"https://api.github.com/repos/Emeraude/filesize-parser/issues/comments{/number}","contents_url":"https://api.github.com/repos/Emeraude/filesize-parser/contents/{+path}","compare_url":"https://api.github.com/repos/Emeraude/filesize-parser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Emeraude/filesize-parser/merges","archive_url":"https://api.github.com/repos/Emeraude/filesize-parser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Emeraude/filesize-parser/downloads","issues_url":"https://api.github.com/repos/Emeraude/filesize-parser/issues{/number}","pulls_url":"https://api.github.com/repos/Emeraude/filesize-parser/pulls{/number}","milestones_url":"https://api.github.com/repos/Emeraude/filesize-parser/milestones{/number}","notifications_url":"https://api.github.com/repos/Emeraude/filesize-parser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Emeraude/filesize-parser/labels{/name}","releases_url":"https://api.github.com/repos/Emeraude/filesize-parser/releases{/id}","deployments_url":"https://api.github.com/repos/Emeraude/filesize-parser/deployments","created_at":"2016-05-20T08:34:53Z","updated_at":"2016-05-20T08:34:54Z","pushed_at":"2016-05-24T06:31:33Z","git_url":"git://github.com/Emeraude/filesize-parser.git","ssh_url":"git@github.com:Emeraude/filesize-parser.git","clone_url":"https://github.com/Emeraude/filesize-parser.git","svn_url":"https://github.com/Emeraude/filesize-parser","homepage":"","size":12,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"patrickkettner:master","ref":"master","sha":"477b03b291accf07642392070a378ed84924869c","user":{"login":"patrickkettner","id":465414,"avatar_url":"https://avatars.githubusercontent.com/u/465414?v=3","gravatar_id":"","url":"https://api.github.com/users/patrickkettner","html_url":"https://github.com/patrickkettner","followers_url":"https://api.github.com/users/patrickkettner/followers","following_url":"https://api.github.com/users/patrickkettner/following{/other_user}","gists_url":"https://api.github.com/users/patrickkettner/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickkettner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickkettner/subscriptions","organizations_url":"https://api.github.com/users/patrickkettner/orgs","repos_url":"https://api.github.com/users/patrickkettner/repos","events_url":"https://api.github.com/users/patrickkettner/events{/privacy}","received_events_url":"https://api.github.com/users/patrickkettner/received_events","type":"User","site_admin":false},"repo":{"id":11056151,"name":"filesize-parser","full_name":"patrickkettner/filesize-parser","owner":{"login":"patrickkettner","id":465414,"avatar_url":"https://avatars.githubusercontent.com/u/465414?v=3","gravatar_id":"","url":"https://api.github.com/users/patrickkettner","html_url":"https://github.com/patrickkettner","followers_url":"https://api.github.com/users/patrickkettner/followers","following_url":"https://api.github.com/users/patrickkettner/following{/other_user}","gists_url":"https://api.github.com/users/patrickkettner/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickkettner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickkettner/subscriptions","organizations_url":"https://api.github.com/users/patrickkettner/orgs","repos_url":"https://api.github.com/users/patrickkettner/repos","events_url":"https://api.github.com/users/patrickkettner/events{/privacy}","received_events_url":"https://api.github.com/users/patrickkettner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/patrickkettner/filesize-parser","description":"convert human readable filesizes to their byte equivalent ","fork":false,"url":"https://api.github.com/repos/patrickkettner/filesize-parser","forks_url":"https://api.github.com/repos/patrickkettner/filesize-parser/forks","keys_url":"https://api.github.com/repos/patrickkettner/filesize-parser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/patrickkettner/filesize-parser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/patrickkettner/filesize-parser/teams","hooks_url":"https://api.github.com/repos/patrickkettner/filesize-parser/hooks","issue_events_url":"https://api.github.com/repos/patrickkettner/filesize-parser/issues/events{/number}","events_url":"https://api.github.com/repos/patrickkettner/filesize-parser/events","assignees_url":"https://api.github.com/repos/patrickkettner/filesize-parser/assignees{/user}","branches_url":"https://api.github.com/repos/patrickkettner/filesize-parser/branches{/branch}","tags_url":"https://api.github.com/repos/patrickkettner/filesize-parser/tags","blobs_url":"https://api.github.com/repos/patrickkettner/filesize-parser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/patrickkettner/filesize-parser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/patrickkettner/filesize-parser/git/refs{/sha}","trees_url":"https://api.github.com/repos/patrickkettner/filesize-parser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/patrickkettner/filesize-parser/statuses/{sha}","languages_url":"https://api.github.com/repos/patrickkettner/filesize-parser/languages","stargazers_url":"https://api.github.com/repos/patrickkettner/filesize-parser/stargazers","contributors_url":"https://api.github.com/repos/patrickkettner/filesize-parser/contributors","subscribers_url":"https://api.github.com/repos/patrickkettner/filesize-parser/subscribers","subscription_url":"https://api.github.com/repos/patrickkettner/filesize-parser/subscription","commits_url":"https://api.github.com/repos/patrickkettner/filesize-parser/commits{/sha}","git_commits_url":"https://api.github.com/repos/patrickkettner/filesize-parser/git/commits{/sha}","comments_url":"https://api.github.com/repos/patrickkettner/filesize-parser/comments{/number}","issue_comment_url":"https://api.github.com/repos/patrickkettner/filesize-parser/issues/comments{/number}","contents_url":"https://api.github.com/repos/patrickkettner/filesize-parser/contents/{+path}","compare_url":"https://api.github.com/repos/patrickkettner/filesize-parser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/patrickkettner/filesize-parser/merges","archive_url":"https://api.github.com/repos/patrickkettner/filesize-parser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/patrickkettner/filesize-parser/downloads","issues_url":"https://api.github.com/repos/patrickkettner/filesize-parser/issues{/number}","pulls_url":"https://api.github.com/repos/patrickkettner/filesize-parser/pulls{/number}","milestones_url":"https://api.github.com/repos/patrickkettner/filesize-parser/milestones{/number}","notifications_url":"https://api.github.com/repos/patrickkettner/filesize-parser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/patrickkettner/filesize-parser/labels{/name}","releases_url":"https://api.github.com/repos/patrickkettner/filesize-parser/releases{/id}","deployments_url":"https://api.github.com/repos/patrickkettner/filesize-parser/deployments","created_at":"2013-06-29T17:04:57Z","updated_at":"2016-02-11T07:56:50Z","pushed_at":"2016-05-20T09:17:29Z","git_url":"git://github.com/patrickkettner/filesize-parser.git","ssh_url":"git@github.com:patrickkettner/filesize-parser.git","clone_url":"https://github.com/patrickkettner/filesize-parser.git","svn_url":"https://github.com/patrickkettner/filesize-parser","homepage":"","size":13,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/patrickkettner/filesize-parser/pulls/13"},"html":{"href":"https://github.com/patrickkettner/filesize-parser/pull/13"},"issue":{"href":"https://api.github.com/repos/patrickkettner/filesize-parser/issues/13"},"comments":{"href":"https://api.github.com/repos/patrickkettner/filesize-parser/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/patrickkettner/filesize-parser/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/patrickkettner/filesize-parser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/patrickkettner/filesize-parser/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/patrickkettner/filesize-parser/statuses/b16a210d6b0ddad9795b841d9539894d6b49efa5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":9,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"Emeraude"}}