{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/kevinjalbert/port_map/pulls/4","id":65933758,"html_url":"https://github.com/kevinjalbert/port_map/pull/4","diff_url":"https://github.com/kevinjalbert/port_map/pull/4.diff","patch_url":"https://github.com/kevinjalbert/port_map/pull/4.patch","issue_url":"https://api.github.com/repos/kevinjalbert/port_map/issues/4","number":4,"state":"closed","locked":false,"title":"Better way to determine next unused port","user":{"login":"kevinjalbert","id":574871,"avatar_url":"https://avatars.githubusercontent.com/u/574871?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinjalbert","html_url":"https://github.com/kevinjalbert","followers_url":"https://api.github.com/users/kevinjalbert/followers","following_url":"https://api.github.com/users/kevinjalbert/following{/other_user}","gists_url":"https://api.github.com/users/kevinjalbert/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinjalbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinjalbert/subscriptions","organizations_url":"https://api.github.com/users/kevinjalbert/orgs","repos_url":"https://api.github.com/users/kevinjalbert/repos","events_url":"https://api.github.com/users/kevinjalbert/events{/privacy}","received_events_url":"https://api.github.com/users/kevinjalbert/received_events","type":"User","site_admin":false},"body":"Fixes #3\r\n\r\nImprove the way we determine the next unused port by checking it using the `lsof` system command to see if any process is using the specified port.","created_at":"2016-04-11T02:38:56Z","updated_at":"2016-04-11T02:43:13Z","closed_at":"2016-04-11T02:43:13Z","merged_at":"2016-04-11T02:43:13Z","merge_commit_sha":"e34662ad44df65550cc98ebad3b7e6420cec78e6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kevinjalbert/port_map/pulls/4/commits","review_comments_url":"https://api.github.com/repos/kevinjalbert/port_map/pulls/4/comments","review_comment_url":"https://api.github.com/repos/kevinjalbert/port_map/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kevinjalbert/port_map/issues/4/comments","statuses_url":"https://api.github.com/repos/kevinjalbert/port_map/statuses/0d98bbf061f0c45e4cb39fc22ce885b57cf4f422","head":{"label":"kevinjalbert:better-determine-next-unused-port","ref":"better-determine-next-unused-port","sha":"0d98bbf061f0c45e4cb39fc22ce885b57cf4f422","user":{"login":"kevinjalbert","id":574871,"avatar_url":"https://avatars.githubusercontent.com/u/574871?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinjalbert","html_url":"https://github.com/kevinjalbert","followers_url":"https://api.github.com/users/kevinjalbert/followers","following_url":"https://api.github.com/users/kevinjalbert/following{/other_user}","gists_url":"https://api.github.com/users/kevinjalbert/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinjalbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinjalbert/subscriptions","organizations_url":"https://api.github.com/users/kevinjalbert/orgs","repos_url":"https://api.github.com/users/kevinjalbert/repos","events_url":"https://api.github.com/users/kevinjalbert/events{/privacy}","received_events_url":"https://api.github.com/users/kevinjalbert/received_events","type":"User","site_admin":false},"repo":{"id":51271672,"name":"port_map","full_name":"kevinjalbert/port_map","owner":{"login":"kevinjalbert","id":574871,"avatar_url":"https://avatars.githubusercontent.com/u/574871?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinjalbert","html_url":"https://github.com/kevinjalbert","followers_url":"https://api.github.com/users/kevinjalbert/followers","following_url":"https://api.github.com/users/kevinjalbert/following{/other_user}","gists_url":"https://api.github.com/users/kevinjalbert/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinjalbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinjalbert/subscriptions","organizations_url":"https://api.github.com/users/kevinjalbert/orgs","repos_url":"https://api.github.com/users/kevinjalbert/repos","events_url":"https://api.github.com/users/kevinjalbert/events{/privacy}","received_events_url":"https://api.github.com/users/kevinjalbert/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kevinjalbert/port_map","description":"Provides an easy and mostly automatic way of mapping ports to local domains","fork":false,"url":"https://api.github.com/repos/kevinjalbert/port_map","forks_url":"https://api.github.com/repos/kevinjalbert/port_map/forks","keys_url":"https://api.github.com/repos/kevinjalbert/port_map/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kevinjalbert/port_map/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kevinjalbert/port_map/teams","hooks_url":"https://api.github.com/repos/kevinjalbert/port_map/hooks","issue_events_url":"https://api.github.com/repos/kevinjalbert/port_map/issues/events{/number}","events_url":"https://api.github.com/repos/kevinjalbert/port_map/events","assignees_url":"https://api.github.com/repos/kevinjalbert/port_map/assignees{/user}","branches_url":"https://api.github.com/repos/kevinjalbert/port_map/branches{/branch}","tags_url":"https://api.github.com/repos/kevinjalbert/port_map/tags","blobs_url":"https://api.github.com/repos/kevinjalbert/port_map/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kevinjalbert/port_map/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kevinjalbert/port_map/git/refs{/sha}","trees_url":"https://api.github.com/repos/kevinjalbert/port_map/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kevinjalbert/port_map/statuses/{sha}","languages_url":"https://api.github.com/repos/kevinjalbert/port_map/languages","stargazers_url":"https://api.github.com/repos/kevinjalbert/port_map/stargazers","contributors_url":"https://api.github.com/repos/kevinjalbert/port_map/contributors","subscribers_url":"https://api.github.com/repos/kevinjalbert/port_map/subscribers","subscription_url":"https://api.github.com/repos/kevinjalbert/port_map/subscription","commits_url":"https://api.github.com/repos/kevinjalbert/port_map/commits{/sha}","git_commits_url":"https://api.github.com/repos/kevinjalbert/port_map/git/commits{/sha}","comments_url":"https://api.github.com/repos/kevinjalbert/port_map/comments{/number}","issue_comment_url":"https://api.github.com/repos/kevinjalbert/port_map/issues/comments{/number}","contents_url":"https://api.github.com/repos/kevinjalbert/port_map/contents/{+path}","compare_url":"https://api.github.com/repos/kevinjalbert/port_map/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kevinjalbert/port_map/merges","archive_url":"https://api.github.com/repos/kevinjalbert/port_map/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kevinjalbert/port_map/downloads","issues_url":"https://api.github.com/repos/kevinjalbert/port_map/issues{/number}","pulls_url":"https://api.github.com/repos/kevinjalbert/port_map/pulls{/number}","milestones_url":"https://api.github.com/repos/kevinjalbert/port_map/milestones{/number}","notifications_url":"https://api.github.com/repos/kevinjalbert/port_map/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kevinjalbert/port_map/labels{/name}","releases_url":"https://api.github.com/repos/kevinjalbert/port_map/releases{/id}","deployments_url":"https://api.github.com/repos/kevinjalbert/port_map/deployments","created_at":"2016-02-07T23:34:40Z","updated_at":"2016-02-12T16:38:58Z","pushed_at":"2016-04-11T02:43:13Z","git_url":"git://github.com/kevinjalbert/port_map.git","ssh_url":"git@github.com:kevinjalbert/port_map.git","clone_url":"https://github.com/kevinjalbert/port_map.git","svn_url":"https://github.com/kevinjalbert/port_map","homepage":null,"size":14,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":3,"default_branch":"master"}},"base":{"label":"kevinjalbert:master","ref":"master","sha":"bd13f3d4fe1a713032f440d912bd0d023d792749","user":{"login":"kevinjalbert","id":574871,"avatar_url":"https://avatars.githubusercontent.com/u/574871?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinjalbert","html_url":"https://github.com/kevinjalbert","followers_url":"https://api.github.com/users/kevinjalbert/followers","following_url":"https://api.github.com/users/kevinjalbert/following{/other_user}","gists_url":"https://api.github.com/users/kevinjalbert/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinjalbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinjalbert/subscriptions","organizations_url":"https://api.github.com/users/kevinjalbert/orgs","repos_url":"https://api.github.com/users/kevinjalbert/repos","events_url":"https://api.github.com/users/kevinjalbert/events{/privacy}","received_events_url":"https://api.github.com/users/kevinjalbert/received_events","type":"User","site_admin":false},"repo":{"id":51271672,"name":"port_map","full_name":"kevinjalbert/port_map","owner":{"login":"kevinjalbert","id":574871,"avatar_url":"https://avatars.githubusercontent.com/u/574871?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinjalbert","html_url":"https://github.com/kevinjalbert","followers_url":"https://api.github.com/users/kevinjalbert/followers","following_url":"https://api.github.com/users/kevinjalbert/following{/other_user}","gists_url":"https://api.github.com/users/kevinjalbert/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinjalbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinjalbert/subscriptions","organizations_url":"https://api.github.com/users/kevinjalbert/orgs","repos_url":"https://api.github.com/users/kevinjalbert/repos","events_url":"https://api.github.com/users/kevinjalbert/events{/privacy}","received_events_url":"https://api.github.com/users/kevinjalbert/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kevinjalbert/port_map","description":"Provides an easy and mostly automatic way of mapping ports to local domains","fork":false,"url":"https://api.github.com/repos/kevinjalbert/port_map","forks_url":"https://api.github.com/repos/kevinjalbert/port_map/forks","keys_url":"https://api.github.com/repos/kevinjalbert/port_map/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kevinjalbert/port_map/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kevinjalbert/port_map/teams","hooks_url":"https://api.github.com/repos/kevinjalbert/port_map/hooks","issue_events_url":"https://api.github.com/repos/kevinjalbert/port_map/issues/events{/number}","events_url":"https://api.github.com/repos/kevinjalbert/port_map/events","assignees_url":"https://api.github.com/repos/kevinjalbert/port_map/assignees{/user}","branches_url":"https://api.github.com/repos/kevinjalbert/port_map/branches{/branch}","tags_url":"https://api.github.com/repos/kevinjalbert/port_map/tags","blobs_url":"https://api.github.com/repos/kevinjalbert/port_map/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kevinjalbert/port_map/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kevinjalbert/port_map/git/refs{/sha}","trees_url":"https://api.github.com/repos/kevinjalbert/port_map/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kevinjalbert/port_map/statuses/{sha}","languages_url":"https://api.github.com/repos/kevinjalbert/port_map/languages","stargazers_url":"https://api.github.com/repos/kevinjalbert/port_map/stargazers","contributors_url":"https://api.github.com/repos/kevinjalbert/port_map/contributors","subscribers_url":"https://api.github.com/repos/kevinjalbert/port_map/subscribers","subscription_url":"https://api.github.com/repos/kevinjalbert/port_map/subscription","commits_url":"https://api.github.com/repos/kevinjalbert/port_map/commits{/sha}","git_commits_url":"https://api.github.com/repos/kevinjalbert/port_map/git/commits{/sha}","comments_url":"https://api.github.com/repos/kevinjalbert/port_map/comments{/number}","issue_comment_url":"https://api.github.com/repos/kevinjalbert/port_map/issues/comments{/number}","contents_url":"https://api.github.com/repos/kevinjalbert/port_map/contents/{+path}","compare_url":"https://api.github.com/repos/kevinjalbert/port_map/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kevinjalbert/port_map/merges","archive_url":"https://api.github.com/repos/kevinjalbert/port_map/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kevinjalbert/port_map/downloads","issues_url":"https://api.github.com/repos/kevinjalbert/port_map/issues{/number}","pulls_url":"https://api.github.com/repos/kevinjalbert/port_map/pulls{/number}","milestones_url":"https://api.github.com/repos/kevinjalbert/port_map/milestones{/number}","notifications_url":"https://api.github.com/repos/kevinjalbert/port_map/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kevinjalbert/port_map/labels{/name}","releases_url":"https://api.github.com/repos/kevinjalbert/port_map/releases{/id}","deployments_url":"https://api.github.com/repos/kevinjalbert/port_map/deployments","created_at":"2016-02-07T23:34:40Z","updated_at":"2016-02-12T16:38:58Z","pushed_at":"2016-04-11T02:43:13Z","git_url":"git://github.com/kevinjalbert/port_map.git","ssh_url":"git@github.com:kevinjalbert/port_map.git","clone_url":"https://github.com/kevinjalbert/port_map.git","svn_url":"https://github.com/kevinjalbert/port_map","homepage":null,"size":14,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kevinjalbert/port_map/pulls/4"},"html":{"href":"https://github.com/kevinjalbert/port_map/pull/4"},"issue":{"href":"https://api.github.com/repos/kevinjalbert/port_map/issues/4"},"comments":{"href":"https://api.github.com/repos/kevinjalbert/port_map/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/kevinjalbert/port_map/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/kevinjalbert/port_map/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kevinjalbert/port_map/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/kevinjalbert/port_map/statuses/0d98bbf061f0c45e4cb39fc22ce885b57cf4f422"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"kevinjalbert","id":574871,"avatar_url":"https://avatars.githubusercontent.com/u/574871?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinjalbert","html_url":"https://github.com/kevinjalbert","followers_url":"https://api.github.com/users/kevinjalbert/followers","following_url":"https://api.github.com/users/kevinjalbert/following{/other_user}","gists_url":"https://api.github.com/users/kevinjalbert/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinjalbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinjalbert/subscriptions","organizations_url":"https://api.github.com/users/kevinjalbert/orgs","repos_url":"https://api.github.com/users/kevinjalbert/repos","events_url":"https://api.github.com/users/kevinjalbert/events{/privacy}","received_events_url":"https://api.github.com/users/kevinjalbert/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":42,"deletions":52,"changed_files":3}}