{"action":"opened","number":41,"pull_request":{"url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/pulls/41","id":67616326,"html_url":"https://github.com/IntrepidPursuits/swift-wisdom/pull/41","diff_url":"https://github.com/IntrepidPursuits/swift-wisdom/pull/41.diff","patch_url":"https://github.com/IntrepidPursuits/swift-wisdom/pull/41.patch","issue_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/issues/41","number":41,"state":"open","locked":false,"title":"Added ip_toMagnitudeString method to Int+Extensions","user":{"login":"wingchi","id":6873267,"avatar_url":"https://avatars.githubusercontent.com/u/6873267?v=3","gravatar_id":"","url":"https://api.github.com/users/wingchi","html_url":"https://github.com/wingchi","followers_url":"https://api.github.com/users/wingchi/followers","following_url":"https://api.github.com/users/wingchi/following{/other_user}","gists_url":"https://api.github.com/users/wingchi/gists{/gist_id}","starred_url":"https://api.github.com/users/wingchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wingchi/subscriptions","organizations_url":"https://api.github.com/users/wingchi/orgs","repos_url":"https://api.github.com/users/wingchi/repos","events_url":"https://api.github.com/users/wingchi/events{/privacy}","received_events_url":"https://api.github.com/users/wingchi/received_events","type":"User","site_admin":false},"body":"`ip_toMagnitudeString` converts an Integer Type to a String with a rounded value and a magnitude suffix.\r\n\r\ne.g. - for one decimal place 1234 becomes \"1.2K\", 5678000 becomes \"5.7M\", etc.\r\n\r\nOne decimal place is the default.\r\n\r\nThis method is useful for formatting a number when it needs to be displayed in a small space and the exact value isn't necessary, such as the number likes on a Facebook post.","created_at":"2016-04-23T19:38:49Z","updated_at":"2016-04-23T19:38:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/pulls/41/commits","review_comments_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/pulls/41/comments","review_comment_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/issues/41/comments","statuses_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/statuses/f0e0a0b3d035bf6a9c8af73ead63ccdbfa338a0c","head":{"label":"IntrepidPursuits:wingchi/number-formatting","ref":"wingchi/number-formatting","sha":"f0e0a0b3d035bf6a9c8af73ead63ccdbfa338a0c","user":{"login":"IntrepidPursuits","id":2151424,"avatar_url":"https://avatars.githubusercontent.com/u/2151424?v=3","gravatar_id":"","url":"https://api.github.com/users/IntrepidPursuits","html_url":"https://github.com/IntrepidPursuits","followers_url":"https://api.github.com/users/IntrepidPursuits/followers","following_url":"https://api.github.com/users/IntrepidPursuits/following{/other_user}","gists_url":"https://api.github.com/users/IntrepidPursuits/gists{/gist_id}","starred_url":"https://api.github.com/users/IntrepidPursuits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IntrepidPursuits/subscriptions","organizations_url":"https://api.github.com/users/IntrepidPursuits/orgs","repos_url":"https://api.github.com/users/IntrepidPursuits/repos","events_url":"https://api.github.com/users/IntrepidPursuits/events{/privacy}","received_events_url":"https://api.github.com/users/IntrepidPursuits/received_events","type":"Organization","site_admin":false},"repo":{"id":39978693,"name":"swift-wisdom","full_name":"IntrepidPursuits/swift-wisdom","owner":{"login":"IntrepidPursuits","id":2151424,"avatar_url":"https://avatars.githubusercontent.com/u/2151424?v=3","gravatar_id":"","url":"https://api.github.com/users/IntrepidPursuits","html_url":"https://github.com/IntrepidPursuits","followers_url":"https://api.github.com/users/IntrepidPursuits/followers","following_url":"https://api.github.com/users/IntrepidPursuits/following{/other_user}","gists_url":"https://api.github.com/users/IntrepidPursuits/gists{/gist_id}","starred_url":"https://api.github.com/users/IntrepidPursuits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IntrepidPursuits/subscriptions","organizations_url":"https://api.github.com/users/IntrepidPursuits/orgs","repos_url":"https://api.github.com/users/IntrepidPursuits/repos","events_url":"https://api.github.com/users/IntrepidPursuits/events{/privacy}","received_events_url":"https://api.github.com/users/IntrepidPursuits/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IntrepidPursuits/swift-wisdom","description":"A collection of additions to the Swift Standard Library created by Intrepid Pursuits Developers","fork":false,"url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom","forks_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/forks","keys_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/teams","hooks_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/hooks","issue_events_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/issues/events{/number}","events_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/events","assignees_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/assignees{/user}","branches_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/branches{/branch}","tags_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/tags","blobs_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/git/refs{/sha}","trees_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/statuses/{sha}","languages_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/languages","stargazers_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/stargazers","contributors_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/contributors","subscribers_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/subscribers","subscription_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/subscription","commits_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/commits{/sha}","git_commits_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/git/commits{/sha}","comments_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/comments{/number}","issue_comment_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/issues/comments{/number}","contents_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/contents/{+path}","compare_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/merges","archive_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/downloads","issues_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/issues{/number}","pulls_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/pulls{/number}","milestones_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/milestones{/number}","notifications_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/labels{/name}","releases_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/releases{/id}","deployments_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/deployments","created_at":"2015-07-31T00:36:59Z","updated_at":"2016-02-24T22:31:05Z","pushed_at":"2016-04-23T19:32:40Z","git_url":"git://github.com/IntrepidPursuits/swift-wisdom.git","ssh_url":"git@github.com:IntrepidPursuits/swift-wisdom.git","clone_url":"https://github.com/IntrepidPursuits/swift-wisdom.git","svn_url":"https://github.com/IntrepidPursuits/swift-wisdom","homepage":null,"size":204,"stargazers_count":13,"watchers_count":13,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":13,"default_branch":"master"}},"base":{"label":"IntrepidPursuits:master","ref":"master","sha":"7a5fe2e1ab889b1a4b90a95a9dad73824f33c45b","user":{"login":"IntrepidPursuits","id":2151424,"avatar_url":"https://avatars.githubusercontent.com/u/2151424?v=3","gravatar_id":"","url":"https://api.github.com/users/IntrepidPursuits","html_url":"https://github.com/IntrepidPursuits","followers_url":"https://api.github.com/users/IntrepidPursuits/followers","following_url":"https://api.github.com/users/IntrepidPursuits/following{/other_user}","gists_url":"https://api.github.com/users/IntrepidPursuits/gists{/gist_id}","starred_url":"https://api.github.com/users/IntrepidPursuits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IntrepidPursuits/subscriptions","organizations_url":"https://api.github.com/users/IntrepidPursuits/orgs","repos_url":"https://api.github.com/users/IntrepidPursuits/repos","events_url":"https://api.github.com/users/IntrepidPursuits/events{/privacy}","received_events_url":"https://api.github.com/users/IntrepidPursuits/received_events","type":"Organization","site_admin":false},"repo":{"id":39978693,"name":"swift-wisdom","full_name":"IntrepidPursuits/swift-wisdom","owner":{"login":"IntrepidPursuits","id":2151424,"avatar_url":"https://avatars.githubusercontent.com/u/2151424?v=3","gravatar_id":"","url":"https://api.github.com/users/IntrepidPursuits","html_url":"https://github.com/IntrepidPursuits","followers_url":"https://api.github.com/users/IntrepidPursuits/followers","following_url":"https://api.github.com/users/IntrepidPursuits/following{/other_user}","gists_url":"https://api.github.com/users/IntrepidPursuits/gists{/gist_id}","starred_url":"https://api.github.com/users/IntrepidPursuits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IntrepidPursuits/subscriptions","organizations_url":"https://api.github.com/users/IntrepidPursuits/orgs","repos_url":"https://api.github.com/users/IntrepidPursuits/repos","events_url":"https://api.github.com/users/IntrepidPursuits/events{/privacy}","received_events_url":"https://api.github.com/users/IntrepidPursuits/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IntrepidPursuits/swift-wisdom","description":"A collection of additions to the Swift Standard Library created by Intrepid Pursuits Developers","fork":false,"url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom","forks_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/forks","keys_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/teams","hooks_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/hooks","issue_events_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/issues/events{/number}","events_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/events","assignees_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/assignees{/user}","branches_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/branches{/branch}","tags_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/tags","blobs_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/git/refs{/sha}","trees_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/statuses/{sha}","languages_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/languages","stargazers_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/stargazers","contributors_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/contributors","subscribers_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/subscribers","subscription_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/subscription","commits_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/commits{/sha}","git_commits_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/git/commits{/sha}","comments_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/comments{/number}","issue_comment_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/issues/comments{/number}","contents_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/contents/{+path}","compare_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/merges","archive_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/downloads","issues_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/issues{/number}","pulls_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/pulls{/number}","milestones_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/milestones{/number}","notifications_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/labels{/name}","releases_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/releases{/id}","deployments_url":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/deployments","created_at":"2015-07-31T00:36:59Z","updated_at":"2016-02-24T22:31:05Z","pushed_at":"2016-04-23T19:32:40Z","git_url":"git://github.com/IntrepidPursuits/swift-wisdom.git","ssh_url":"git@github.com:IntrepidPursuits/swift-wisdom.git","clone_url":"https://github.com/IntrepidPursuits/swift-wisdom.git","svn_url":"https://github.com/IntrepidPursuits/swift-wisdom","homepage":null,"size":204,"stargazers_count":13,"watchers_count":13,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/pulls/41"},"html":{"href":"https://github.com/IntrepidPursuits/swift-wisdom/pull/41"},"issue":{"href":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/issues/41"},"comments":{"href":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/IntrepidPursuits/swift-wisdom/statuses/f0e0a0b3d035bf6a9c8af73ead63ccdbfa338a0c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":54,"deletions":0,"changed_files":2}}