{"action":"opened","number":28,"pull_request":{"url":"https://api.github.com/repos/maglub/nagios-cloudwatch/pulls/28","id":84658250,"html_url":"https://github.com/maglub/nagios-cloudwatch/pull/28","diff_url":"https://github.com/maglub/nagios-cloudwatch/pull/28.diff","patch_url":"https://github.com/maglub/nagios-cloudwatch/pull/28.patch","issue_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/issues/28","number":28,"state":"open","locked":false,"title":"Modifcations for ruby 2.2 and AWS SDK v2","user":{"login":"laurencegill","id":688482,"avatar_url":"https://avatars.githubusercontent.com/u/688482?v=3","gravatar_id":"","url":"https://api.github.com/users/laurencegill","html_url":"https://github.com/laurencegill","followers_url":"https://api.github.com/users/laurencegill/followers","following_url":"https://api.github.com/users/laurencegill/following{/other_user}","gists_url":"https://api.github.com/users/laurencegill/gists{/gist_id}","starred_url":"https://api.github.com/users/laurencegill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurencegill/subscriptions","organizations_url":"https://api.github.com/users/laurencegill/orgs","repos_url":"https://api.github.com/users/laurencegill/repos","events_url":"https://api.github.com/users/laurencegill/events{/privacy}","received_events_url":"https://api.github.com/users/laurencegill/received_events","type":"User","site_admin":false},"body":"Hi, I made some changes so this works with ruby/aws-sdk v2.  Not sure if/how you want to use them, if you want to maintain compatibility for ruby/aws-sdk v1.  I have further testing to do and will update with any changes required, but ec2 checks seem to work ok (for me at least).\r\n\r\n> Tested using FreeBSD only atm, as bsd does\r\n> not support ruby1.9, it is depreciated\r\n> \r\n> Only tested on ec2 instances for now\r\n> will test others in due course","created_at":"2016-09-09T14:16:14Z","updated_at":"2016-09-09T14:16:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/pulls/28/commits","review_comments_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/pulls/28/comments","review_comment_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/issues/28/comments","statuses_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/statuses/d1a2e1dad9f55c53f45cbc5005f5a1e524d2b41e","head":{"label":"laurencegill:master","ref":"master","sha":"d1a2e1dad9f55c53f45cbc5005f5a1e524d2b41e","user":{"login":"laurencegill","id":688482,"avatar_url":"https://avatars.githubusercontent.com/u/688482?v=3","gravatar_id":"","url":"https://api.github.com/users/laurencegill","html_url":"https://github.com/laurencegill","followers_url":"https://api.github.com/users/laurencegill/followers","following_url":"https://api.github.com/users/laurencegill/following{/other_user}","gists_url":"https://api.github.com/users/laurencegill/gists{/gist_id}","starred_url":"https://api.github.com/users/laurencegill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurencegill/subscriptions","organizations_url":"https://api.github.com/users/laurencegill/orgs","repos_url":"https://api.github.com/users/laurencegill/repos","events_url":"https://api.github.com/users/laurencegill/events{/privacy}","received_events_url":"https://api.github.com/users/laurencegill/received_events","type":"User","site_admin":false},"repo":{"id":67792950,"name":"nagios-cloudwatch","full_name":"laurencegill/nagios-cloudwatch","owner":{"login":"laurencegill","id":688482,"avatar_url":"https://avatars.githubusercontent.com/u/688482?v=3","gravatar_id":"","url":"https://api.github.com/users/laurencegill","html_url":"https://github.com/laurencegill","followers_url":"https://api.github.com/users/laurencegill/followers","following_url":"https://api.github.com/users/laurencegill/following{/other_user}","gists_url":"https://api.github.com/users/laurencegill/gists{/gist_id}","starred_url":"https://api.github.com/users/laurencegill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurencegill/subscriptions","organizations_url":"https://api.github.com/users/laurencegill/orgs","repos_url":"https://api.github.com/users/laurencegill/repos","events_url":"https://api.github.com/users/laurencegill/events{/privacy}","received_events_url":"https://api.github.com/users/laurencegill/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/laurencegill/nagios-cloudwatch","description":"Nagios check for AWS Cloudwatch statistics/metrics","fork":true,"url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch","forks_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/forks","keys_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/teams","hooks_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/hooks","issue_events_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/issues/events{/number}","events_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/events","assignees_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/assignees{/user}","branches_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/branches{/branch}","tags_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/tags","blobs_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/git/refs{/sha}","trees_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/statuses/{sha}","languages_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/languages","stargazers_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/stargazers","contributors_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/contributors","subscribers_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/subscribers","subscription_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/subscription","commits_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/commits{/sha}","git_commits_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/git/commits{/sha}","comments_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/comments{/number}","issue_comment_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/issues/comments{/number}","contents_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/contents/{+path}","compare_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/merges","archive_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/downloads","issues_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/issues{/number}","pulls_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/pulls{/number}","milestones_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/milestones{/number}","notifications_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/labels{/name}","releases_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/releases{/id}","deployments_url":"https://api.github.com/repos/laurencegill/nagios-cloudwatch/deployments","created_at":"2016-09-09T11:16:53Z","updated_at":"2016-09-09T11:16:54Z","pushed_at":"2016-09-09T13:58:07Z","git_url":"git://github.com/laurencegill/nagios-cloudwatch.git","ssh_url":"git@github.com:laurencegill/nagios-cloudwatch.git","clone_url":"https://github.com/laurencegill/nagios-cloudwatch.git","svn_url":"https://github.com/laurencegill/nagios-cloudwatch","homepage":null,"size":947,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"maglub:master","ref":"master","sha":"4a3948c85d3dfa4a61595e83505652e372ad2546","user":{"login":"maglub","id":2961018,"avatar_url":"https://avatars.githubusercontent.com/u/2961018?v=3","gravatar_id":"","url":"https://api.github.com/users/maglub","html_url":"https://github.com/maglub","followers_url":"https://api.github.com/users/maglub/followers","following_url":"https://api.github.com/users/maglub/following{/other_user}","gists_url":"https://api.github.com/users/maglub/gists{/gist_id}","starred_url":"https://api.github.com/users/maglub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maglub/subscriptions","organizations_url":"https://api.github.com/users/maglub/orgs","repos_url":"https://api.github.com/users/maglub/repos","events_url":"https://api.github.com/users/maglub/events{/privacy}","received_events_url":"https://api.github.com/users/maglub/received_events","type":"User","site_admin":false},"repo":{"id":20830938,"name":"nagios-cloudwatch","full_name":"maglub/nagios-cloudwatch","owner":{"login":"maglub","id":2961018,"avatar_url":"https://avatars.githubusercontent.com/u/2961018?v=3","gravatar_id":"","url":"https://api.github.com/users/maglub","html_url":"https://github.com/maglub","followers_url":"https://api.github.com/users/maglub/followers","following_url":"https://api.github.com/users/maglub/following{/other_user}","gists_url":"https://api.github.com/users/maglub/gists{/gist_id}","starred_url":"https://api.github.com/users/maglub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maglub/subscriptions","organizations_url":"https://api.github.com/users/maglub/orgs","repos_url":"https://api.github.com/users/maglub/repos","events_url":"https://api.github.com/users/maglub/events{/privacy}","received_events_url":"https://api.github.com/users/maglub/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maglub/nagios-cloudwatch","description":"Nagios check for AWS Cloudwatch statistics/metrics","fork":false,"url":"https://api.github.com/repos/maglub/nagios-cloudwatch","forks_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/forks","keys_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/teams","hooks_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/hooks","issue_events_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/issues/events{/number}","events_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/events","assignees_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/assignees{/user}","branches_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/branches{/branch}","tags_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/tags","blobs_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/git/refs{/sha}","trees_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/statuses/{sha}","languages_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/languages","stargazers_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/stargazers","contributors_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/contributors","subscribers_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/subscribers","subscription_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/subscription","commits_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/commits{/sha}","git_commits_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/git/commits{/sha}","comments_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/comments{/number}","issue_comment_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/issues/comments{/number}","contents_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/contents/{+path}","compare_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/merges","archive_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/downloads","issues_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/issues{/number}","pulls_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/pulls{/number}","milestones_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/milestones{/number}","notifications_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/labels{/name}","releases_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/releases{/id}","deployments_url":"https://api.github.com/repos/maglub/nagios-cloudwatch/deployments","created_at":"2014-06-14T11:42:27Z","updated_at":"2016-07-29T12:33:26Z","pushed_at":"2016-09-09T14:16:14Z","git_url":"git://github.com/maglub/nagios-cloudwatch.git","ssh_url":"git@github.com:maglub/nagios-cloudwatch.git","clone_url":"https://github.com/maglub/nagios-cloudwatch.git","svn_url":"https://github.com/maglub/nagios-cloudwatch","homepage":null,"size":947,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":8,"forks":6,"open_issues":8,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/maglub/nagios-cloudwatch/pulls/28"},"html":{"href":"https://github.com/maglub/nagios-cloudwatch/pull/28"},"issue":{"href":"https://api.github.com/repos/maglub/nagios-cloudwatch/issues/28"},"comments":{"href":"https://api.github.com/repos/maglub/nagios-cloudwatch/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/maglub/nagios-cloudwatch/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/maglub/nagios-cloudwatch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/maglub/nagios-cloudwatch/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/maglub/nagios-cloudwatch/statuses/d1a2e1dad9f55c53f45cbc5005f5a1e524d2b41e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":39,"deletions":27,"changed_files":3}}
{"actor":{"display_login":"laurencegill"}}