{"action":"closed","number":161,"pull_request":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/pulls/161","id":166590716,"html_url":"https://github.com/mapbox/mapbox-gl-directions/pull/161","diff_url":"https://github.com/mapbox/mapbox-gl-directions/pull/161.diff","patch_url":"https://github.com/mapbox/mapbox-gl-directions/pull/161.patch","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/issues/161","number":161,"state":"closed","locked":false,"title":"Round input floats to original precision if < 5","user":{"login":"lbud","id":3170312,"avatar_url":"https://avatars1.githubusercontent.com/u/3170312?v=4","gravatar_id":"","url":"https://api.github.com/users/lbud","html_url":"https://github.com/lbud","followers_url":"https://api.github.com/users/lbud/followers","following_url":"https://api.github.com/users/lbud/following{/other_user}","gists_url":"https://api.github.com/users/lbud/gists{/gist_id}","starred_url":"https://api.github.com/users/lbud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbud/subscriptions","organizations_url":"https://api.github.com/users/lbud/orgs","repos_url":"https://api.github.com/users/lbud/repos","events_url":"https://api.github.com/users/lbud/events{/privacy}","received_events_url":"https://api.github.com/users/lbud/received_events","type":"User","site_admin":false},"body":"Follow-up to https://github.com/mapbox/mapbox-gl-directions/pull/154, but preserves original decimal length if it's less than 5.\r\n\r\nAlso adds a `utils` test file to test a new method, but it needs more 🍔! Our test suite is 😱 \r\n\r\nFixes https://github.com/mapbox/mapbox-gl-directions/issues/156.","created_at":"2018-02-01T16:44:18Z","updated_at":"2018-02-02T04:21:35Z","closed_at":"2018-02-02T04:21:35Z","merged_at":"2018-02-02T04:21:34Z","merge_commit_sha":"8e2f9319b1f63750ad3681febd3e59b4a1bd8b3f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/pulls/161/commits","review_comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/pulls/161/comments","review_comment_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/issues/161/comments","statuses_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/statuses/86f42c142ce1f7c7cfcffb3bee079cc005fe4d3b","head":{"label":"mapbox:round-with-original-precision","ref":"round-with-original-precision","sha":"86f42c142ce1f7c7cfcffb3bee079cc005fe4d3b","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars1.githubusercontent.com/u/600935?v=4","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":41343262,"name":"mapbox-gl-directions","full_name":"mapbox/mapbox-gl-directions","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars1.githubusercontent.com/u/600935?v=4","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/mapbox-gl-directions","description":"Directions plugin for mapbox-gl-js using Mapbox Directions API.","fork":false,"url":"https://api.github.com/repos/mapbox/mapbox-gl-directions","forks_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/forks","keys_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/teams","hooks_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/hooks","issue_events_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/events","assignees_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/tags","blobs_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/languages","stargazers_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/stargazers","contributors_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/contributors","subscribers_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/subscribers","subscription_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/subscription","commits_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/merges","archive_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/downloads","issues_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/releases{/id}","deployments_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/deployments","created_at":"2015-08-25T04:39:46Z","updated_at":"2018-02-01T16:58:23Z","pushed_at":"2018-02-02T04:21:34Z","git_url":"git://github.com/mapbox/mapbox-gl-directions.git","ssh_url":"git@github.com:mapbox/mapbox-gl-directions.git","clone_url":"https://github.com/mapbox/mapbox-gl-directions.git","svn_url":"https://github.com/mapbox/mapbox-gl-directions","homepage":"https://mapbox.com/mapbox-gl-js/example/mapbox-gl-directions/","size":1329,"stargazers_count":43,"watchers_count":43,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"archived":false,"open_issues_count":31,"license":{"key":"isc","name":"ISC License","spdx_id":"ISC","url":"https://api.github.com/licenses/isc"},"forks":23,"open_issues":31,"watchers":43,"default_branch":"master"}},"base":{"label":"mapbox:master","ref":"master","sha":"af3265f18f951a74eb23e7e6a7c2218455724fdd","user":{"login":"mapbox","id":600935,"avatar_url":"https://avatars1.githubusercontent.com/u/600935?v=4","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"repo":{"id":41343262,"name":"mapbox-gl-directions","full_name":"mapbox/mapbox-gl-directions","owner":{"login":"mapbox","id":600935,"avatar_url":"https://avatars1.githubusercontent.com/u/600935?v=4","gravatar_id":"","url":"https://api.github.com/users/mapbox","html_url":"https://github.com/mapbox","followers_url":"https://api.github.com/users/mapbox/followers","following_url":"https://api.github.com/users/mapbox/following{/other_user}","gists_url":"https://api.github.com/users/mapbox/gists{/gist_id}","starred_url":"https://api.github.com/users/mapbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapbox/subscriptions","organizations_url":"https://api.github.com/users/mapbox/orgs","repos_url":"https://api.github.com/users/mapbox/repos","events_url":"https://api.github.com/users/mapbox/events{/privacy}","received_events_url":"https://api.github.com/users/mapbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mapbox/mapbox-gl-directions","description":"Directions plugin for mapbox-gl-js using Mapbox Directions API.","fork":false,"url":"https://api.github.com/repos/mapbox/mapbox-gl-directions","forks_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/forks","keys_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/teams","hooks_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/hooks","issue_events_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/issues/events{/number}","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/events","assignees_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/assignees{/user}","branches_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/branches{/branch}","tags_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/tags","blobs_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/git/refs{/sha}","trees_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/statuses/{sha}","languages_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/languages","stargazers_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/stargazers","contributors_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/contributors","subscribers_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/subscribers","subscription_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/subscription","commits_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/commits{/sha}","git_commits_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/git/commits{/sha}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/comments{/number}","issue_comment_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/issues/comments{/number}","contents_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/contents/{+path}","compare_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/merges","archive_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/downloads","issues_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/issues{/number}","pulls_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/pulls{/number}","milestones_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/milestones{/number}","notifications_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/labels{/name}","releases_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/releases{/id}","deployments_url":"https://api.github.com/repos/mapbox/mapbox-gl-directions/deployments","created_at":"2015-08-25T04:39:46Z","updated_at":"2018-02-01T16:58:23Z","pushed_at":"2018-02-02T04:21:34Z","git_url":"git://github.com/mapbox/mapbox-gl-directions.git","ssh_url":"git@github.com:mapbox/mapbox-gl-directions.git","clone_url":"https://github.com/mapbox/mapbox-gl-directions.git","svn_url":"https://github.com/mapbox/mapbox-gl-directions","homepage":"https://mapbox.com/mapbox-gl-js/example/mapbox-gl-directions/","size":1329,"stargazers_count":43,"watchers_count":43,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"archived":false,"open_issues_count":31,"license":{"key":"isc","name":"ISC License","spdx_id":"ISC","url":"https://api.github.com/licenses/isc"},"forks":23,"open_issues":31,"watchers":43,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-directions/pulls/161"},"html":{"href":"https://github.com/mapbox/mapbox-gl-directions/pull/161"},"issue":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-directions/issues/161"},"comments":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-directions/issues/161/comments"},"review_comments":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-directions/pulls/161/comments"},"review_comment":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-directions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-directions/pulls/161/commits"},"statuses":{"href":"https://api.github.com/repos/mapbox/mapbox-gl-directions/statuses/86f42c142ce1f7c7cfcffb3bee079cc005fe4d3b"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"lbud","id":3170312,"avatar_url":"https://avatars1.githubusercontent.com/u/3170312?v=4","gravatar_id":"","url":"https://api.github.com/users/lbud","html_url":"https://github.com/lbud","followers_url":"https://api.github.com/users/lbud/followers","following_url":"https://api.github.com/users/lbud/following{/other_user}","gists_url":"https://api.github.com/users/lbud/gists{/gist_id}","starred_url":"https://api.github.com/users/lbud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbud/subscriptions","organizations_url":"https://api.github.com/users/lbud/orgs","repos_url":"https://api.github.com/users/lbud/repos","events_url":"https://api.github.com/users/lbud/events{/privacy}","received_events_url":"https://api.github.com/users/lbud/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":29,"deletions":3,"changed_files":4}}
{"actor":{"display_login":"lbud"}}