{"action":"closed","number":38,"pull_request":{"url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/pulls/38","id":70575447,"html_url":"https://github.com/sensu-plugins/sensu-plugins-http/pull/38","diff_url":"https://github.com/sensu-plugins/sensu-plugins-http/pull/38.diff","patch_url":"https://github.com/sensu-plugins/sensu-plugins-http/pull/38.patch","issue_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/issues/38","number":38,"state":"closed","locked":false,"title":"fix default port selection for https","user":{"login":"fessyfoo","id":1090063,"avatar_url":"https://avatars.githubusercontent.com/u/1090063?v=3","gravatar_id":"","url":"https://api.github.com/users/fessyfoo","html_url":"https://github.com/fessyfoo","followers_url":"https://api.github.com/users/fessyfoo/followers","following_url":"https://api.github.com/users/fessyfoo/following{/other_user}","gists_url":"https://api.github.com/users/fessyfoo/gists{/gist_id}","starred_url":"https://api.github.com/users/fessyfoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fessyfoo/subscriptions","organizations_url":"https://api.github.com/users/fessyfoo/orgs","repos_url":"https://api.github.com/users/fessyfoo/repos","events_url":"https://api.github.com/users/fessyfoo/events{/privacy}","received_events_url":"https://api.github.com/users/fessyfoo/received_events","type":"User","site_admin":false},"body":"remove default port setting, so that the code further down:\n\n   config[:port] ||= config[:ssl] ? 443 : 80\n\ncan set an appropriate default based of the ssl setting.","created_at":"2016-05-18T18:21:21Z","updated_at":"2016-05-18T18:24:59Z","closed_at":"2016-05-18T18:24:59Z","merged_at":"2016-05-18T18:24:59Z","merge_commit_sha":"cd3c72bac31e60d3d5866b83ae6eb8a6b07eed76","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/pulls/38/commits","review_comments_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/pulls/38/comments","review_comment_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/issues/38/comments","statuses_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/statuses/40b420b58921a65cc023d76111ac0935106e540f","head":{"label":"fessyfoo:https-default-port","ref":"https-default-port","sha":"40b420b58921a65cc023d76111ac0935106e540f","user":{"login":"fessyfoo","id":1090063,"avatar_url":"https://avatars.githubusercontent.com/u/1090063?v=3","gravatar_id":"","url":"https://api.github.com/users/fessyfoo","html_url":"https://github.com/fessyfoo","followers_url":"https://api.github.com/users/fessyfoo/followers","following_url":"https://api.github.com/users/fessyfoo/following{/other_user}","gists_url":"https://api.github.com/users/fessyfoo/gists{/gist_id}","starred_url":"https://api.github.com/users/fessyfoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fessyfoo/subscriptions","organizations_url":"https://api.github.com/users/fessyfoo/orgs","repos_url":"https://api.github.com/users/fessyfoo/repos","events_url":"https://api.github.com/users/fessyfoo/events{/privacy}","received_events_url":"https://api.github.com/users/fessyfoo/received_events","type":"User","site_admin":false},"repo":{"id":59140236,"name":"sensu-plugins-http","full_name":"fessyfoo/sensu-plugins-http","owner":{"login":"fessyfoo","id":1090063,"avatar_url":"https://avatars.githubusercontent.com/u/1090063?v=3","gravatar_id":"","url":"https://api.github.com/users/fessyfoo","html_url":"https://github.com/fessyfoo","followers_url":"https://api.github.com/users/fessyfoo/followers","following_url":"https://api.github.com/users/fessyfoo/following{/other_user}","gists_url":"https://api.github.com/users/fessyfoo/gists{/gist_id}","starred_url":"https://api.github.com/users/fessyfoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fessyfoo/subscriptions","organizations_url":"https://api.github.com/users/fessyfoo/orgs","repos_url":"https://api.github.com/users/fessyfoo/repos","events_url":"https://api.github.com/users/fessyfoo/events{/privacy}","received_events_url":"https://api.github.com/users/fessyfoo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fessyfoo/sensu-plugins-http","description":"This plugin provides native HTTP instrumentation for monitoring and metrics collection, including: response code, JSON response, HTTP last modified, SSL expiry, and metrics via `curl`.","fork":true,"url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http","forks_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/forks","keys_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/teams","hooks_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/hooks","issue_events_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/issues/events{/number}","events_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/events","assignees_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/assignees{/user}","branches_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/branches{/branch}","tags_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/tags","blobs_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/git/refs{/sha}","trees_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/statuses/{sha}","languages_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/languages","stargazers_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/stargazers","contributors_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/contributors","subscribers_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/subscribers","subscription_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/subscription","commits_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/commits{/sha}","git_commits_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/git/commits{/sha}","comments_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/comments{/number}","issue_comment_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/issues/comments{/number}","contents_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/contents/{+path}","compare_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/merges","archive_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/downloads","issues_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/issues{/number}","pulls_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/pulls{/number}","milestones_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/milestones{/number}","notifications_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/labels{/name}","releases_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/releases{/id}","deployments_url":"https://api.github.com/repos/fessyfoo/sensu-plugins-http/deployments","created_at":"2016-05-18T18:14:03Z","updated_at":"2016-05-18T18:14:04Z","pushed_at":"2016-05-18T18:21:07Z","git_url":"git://github.com/fessyfoo/sensu-plugins-http.git","ssh_url":"git@github.com:fessyfoo/sensu-plugins-http.git","clone_url":"https://github.com/fessyfoo/sensu-plugins-http.git","svn_url":"https://github.com/fessyfoo/sensu-plugins-http","homepage":"http://sensu-plugins.github.io","size":83,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"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":"sensu-plugins:master","ref":"master","sha":"6647789838e3b85a2a4f44aef328fac610100f5d","user":{"login":"sensu-plugins","id":10713628,"avatar_url":"https://avatars.githubusercontent.com/u/10713628?v=3","gravatar_id":"","url":"https://api.github.com/users/sensu-plugins","html_url":"https://github.com/sensu-plugins","followers_url":"https://api.github.com/users/sensu-plugins/followers","following_url":"https://api.github.com/users/sensu-plugins/following{/other_user}","gists_url":"https://api.github.com/users/sensu-plugins/gists{/gist_id}","starred_url":"https://api.github.com/users/sensu-plugins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sensu-plugins/subscriptions","organizations_url":"https://api.github.com/users/sensu-plugins/orgs","repos_url":"https://api.github.com/users/sensu-plugins/repos","events_url":"https://api.github.com/users/sensu-plugins/events{/privacy}","received_events_url":"https://api.github.com/users/sensu-plugins/received_events","type":"Organization","site_admin":false},"repo":{"id":30851315,"name":"sensu-plugins-http","full_name":"sensu-plugins/sensu-plugins-http","owner":{"login":"sensu-plugins","id":10713628,"avatar_url":"https://avatars.githubusercontent.com/u/10713628?v=3","gravatar_id":"","url":"https://api.github.com/users/sensu-plugins","html_url":"https://github.com/sensu-plugins","followers_url":"https://api.github.com/users/sensu-plugins/followers","following_url":"https://api.github.com/users/sensu-plugins/following{/other_user}","gists_url":"https://api.github.com/users/sensu-plugins/gists{/gist_id}","starred_url":"https://api.github.com/users/sensu-plugins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sensu-plugins/subscriptions","organizations_url":"https://api.github.com/users/sensu-plugins/orgs","repos_url":"https://api.github.com/users/sensu-plugins/repos","events_url":"https://api.github.com/users/sensu-plugins/events{/privacy}","received_events_url":"https://api.github.com/users/sensu-plugins/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sensu-plugins/sensu-plugins-http","description":"This plugin provides native HTTP instrumentation for monitoring and metrics collection, including: response code, JSON response, HTTP last modified, SSL expiry, and metrics via `curl`.","fork":false,"url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http","forks_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/forks","keys_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/teams","hooks_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/hooks","issue_events_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/issues/events{/number}","events_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/events","assignees_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/assignees{/user}","branches_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/branches{/branch}","tags_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/tags","blobs_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/git/refs{/sha}","trees_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/statuses/{sha}","languages_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/languages","stargazers_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/stargazers","contributors_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/contributors","subscribers_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/subscribers","subscription_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/subscription","commits_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/commits{/sha}","git_commits_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/git/commits{/sha}","comments_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/comments{/number}","issue_comment_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/issues/comments{/number}","contents_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/contents/{+path}","compare_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/merges","archive_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/downloads","issues_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/issues{/number}","pulls_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/pulls{/number}","milestones_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/milestones{/number}","notifications_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/labels{/name}","releases_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/releases{/id}","deployments_url":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/deployments","created_at":"2015-02-16T02:47:25Z","updated_at":"2016-03-25T18:27:28Z","pushed_at":"2016-05-18T18:24:59Z","git_url":"git://github.com/sensu-plugins/sensu-plugins-http.git","ssh_url":"git@github.com:sensu-plugins/sensu-plugins-http.git","clone_url":"https://github.com/sensu-plugins/sensu-plugins-http.git","svn_url":"https://github.com/sensu-plugins/sensu-plugins-http","homepage":"http://sensu-plugins.github.io","size":118,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":7,"forks":33,"open_issues":7,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/pulls/38"},"html":{"href":"https://github.com/sensu-plugins/sensu-plugins-http/pull/38"},"issue":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/issues/38"},"comments":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/sensu-plugins/sensu-plugins-http/statuses/40b420b58921a65cc023d76111ac0935106e540f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"sstarcher","id":3778974,"avatar_url":"https://avatars.githubusercontent.com/u/3778974?v=3","gravatar_id":"","url":"https://api.github.com/users/sstarcher","html_url":"https://github.com/sstarcher","followers_url":"https://api.github.com/users/sstarcher/followers","following_url":"https://api.github.com/users/sstarcher/following{/other_user}","gists_url":"https://api.github.com/users/sstarcher/gists{/gist_id}","starred_url":"https://api.github.com/users/sstarcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstarcher/subscriptions","organizations_url":"https://api.github.com/users/sstarcher/orgs","repos_url":"https://api.github.com/users/sstarcher/repos","events_url":"https://api.github.com/users/sstarcher/events{/privacy}","received_events_url":"https://api.github.com/users/sstarcher/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":2,"changed_files":1}}