{"action":"created","comment":{"url":"https://api.github.com/repos/chef/chef-provisioning-aws/pulls/comments/39115653","id":39115653,"diff_hunk":"@@ -0,0 +1,50 @@\n+require 'spec_helper'","path":"spec/integration/aws_internet_gateway_spec.rb","position":1,"original_position":1,"commit_id":"ec7d6953ea62d7255d252f9ff9bf2cfe43d74736","original_commit_id":"ec7d6953ea62d7255d252f9ff9bf2cfe43d74736","user":{"login":"tyler-ball","id":2481463,"avatar_url":"https://avatars.githubusercontent.com/u/2481463?v=3","gravatar_id":"","url":"https://api.github.com/users/tyler-ball","html_url":"https://github.com/tyler-ball","followers_url":"https://api.github.com/users/tyler-ball/followers","following_url":"https://api.github.com/users/tyler-ball/following{/other_user}","gists_url":"https://api.github.com/users/tyler-ball/gists{/gist_id}","starred_url":"https://api.github.com/users/tyler-ball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyler-ball/subscriptions","organizations_url":"https://api.github.com/users/tyler-ball/orgs","repos_url":"https://api.github.com/users/tyler-ball/repos","events_url":"https://api.github.com/users/tyler-ball/events{/privacy}","received_events_url":"https://api.github.com/users/tyler-ball/received_events","type":"User","site_admin":false},"body":"Will you add a spec that tests the scenario of switching an internet gateway from VPC1 to VPC2?  This should test the `update_aws_object` method","created_at":"2015-09-10T01:08:27Z","updated_at":"2015-09-10T01:08:27Z","html_url":"https://github.com/chef/chef-provisioning-aws/pull/304#discussion_r39115653","pull_request_url":"https://api.github.com/repos/chef/chef-provisioning-aws/pulls/304","_links":{"self":{"href":"https://api.github.com/repos/chef/chef-provisioning-aws/pulls/comments/39115653"},"html":{"href":"https://github.com/chef/chef-provisioning-aws/pull/304#discussion_r39115653"},"pull_request":{"href":"https://api.github.com/repos/chef/chef-provisioning-aws/pulls/304"}}},"pull_request":{"url":"https://api.github.com/repos/chef/chef-provisioning-aws/pulls/304","id":43430197,"html_url":"https://github.com/chef/chef-provisioning-aws/pull/304","diff_url":"https://github.com/chef/chef-provisioning-aws/pull/304.diff","patch_url":"https://github.com/chef/chef-provisioning-aws/pull/304.patch","issue_url":"https://api.github.com/repos/chef/chef-provisioning-aws/issues/304","number":304,"state":"open","locked":false,"title":"Add aws_internet_gateway provider, fixes #143","user":{"login":"miguelcnf","id":994805,"avatar_url":"https://avatars.githubusercontent.com/u/994805?v=3","gravatar_id":"","url":"https://api.github.com/users/miguelcnf","html_url":"https://github.com/miguelcnf","followers_url":"https://api.github.com/users/miguelcnf/followers","following_url":"https://api.github.com/users/miguelcnf/following{/other_user}","gists_url":"https://api.github.com/users/miguelcnf/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelcnf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelcnf/subscriptions","organizations_url":"https://api.github.com/users/miguelcnf/orgs","repos_url":"https://api.github.com/users/miguelcnf/repos","events_url":"https://api.github.com/users/miguelcnf/events{/privacy}","received_events_url":"https://api.github.com/users/miguelcnf/received_events","type":"User","site_admin":false},"body":"It has working create, update and destroy actions and can receive an options vpc attribute to attach with the internet gateway.\r\n\r\nIntegration tests included.\r\n\r\nReferences:\r\nhttp://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Internet_Gateway.html\r\nhttp://docs.aws.amazon.com/AWSRubySDK/latest/AWS/EC2/InternetGateway.html","created_at":"2015-08-26T17:41:13Z","updated_at":"2015-09-10T01:08:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"729c90dd14186ca7a66c5f8e3957b5d1a1ceb4b8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chef/chef-provisioning-aws/pulls/304/commits","review_comments_url":"https://api.github.com/repos/chef/chef-provisioning-aws/pulls/304/comments","review_comment_url":"https://api.github.com/repos/chef/chef-provisioning-aws/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chef/chef-provisioning-aws/issues/304/comments","statuses_url":"https://api.github.com/repos/chef/chef-provisioning-aws/statuses/ec7d6953ea62d7255d252f9ff9bf2cfe43d74736","head":{"label":"miguelcnf:internet_gateway_provider","ref":"internet_gateway_provider","sha":"ec7d6953ea62d7255d252f9ff9bf2cfe43d74736","user":{"login":"miguelcnf","id":994805,"avatar_url":"https://avatars.githubusercontent.com/u/994805?v=3","gravatar_id":"","url":"https://api.github.com/users/miguelcnf","html_url":"https://github.com/miguelcnf","followers_url":"https://api.github.com/users/miguelcnf/followers","following_url":"https://api.github.com/users/miguelcnf/following{/other_user}","gists_url":"https://api.github.com/users/miguelcnf/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelcnf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelcnf/subscriptions","organizations_url":"https://api.github.com/users/miguelcnf/orgs","repos_url":"https://api.github.com/users/miguelcnf/repos","events_url":"https://api.github.com/users/miguelcnf/events{/privacy}","received_events_url":"https://api.github.com/users/miguelcnf/received_events","type":"User","site_admin":false},"repo":{"id":27833337,"name":"chef-provisioning-aws","full_name":"miguelcnf/chef-provisioning-aws","owner":{"login":"miguelcnf","id":994805,"avatar_url":"https://avatars.githubusercontent.com/u/994805?v=3","gravatar_id":"","url":"https://api.github.com/users/miguelcnf","html_url":"https://github.com/miguelcnf","followers_url":"https://api.github.com/users/miguelcnf/followers","following_url":"https://api.github.com/users/miguelcnf/following{/other_user}","gists_url":"https://api.github.com/users/miguelcnf/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelcnf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelcnf/subscriptions","organizations_url":"https://api.github.com/users/miguelcnf/orgs","repos_url":"https://api.github.com/users/miguelcnf/repos","events_url":"https://api.github.com/users/miguelcnf/events{/privacy}","received_events_url":"https://api.github.com/users/miguelcnf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/miguelcnf/chef-provisioning-aws","description":"AWS driver and resources for Chef that uses the AWS SDK","fork":true,"url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws","forks_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/forks","keys_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/keys{/key_id}","collaborators_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/teams","hooks_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/hooks","issue_events_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/issues/events{/number}","events_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/events","assignees_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/assignees{/user}","branches_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/branches{/branch}","tags_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/tags","blobs_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/git/refs{/sha}","trees_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/git/trees{/sha}","statuses_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/statuses/{sha}","languages_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/languages","stargazers_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/stargazers","contributors_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/contributors","subscribers_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/subscribers","subscription_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/subscription","commits_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/commits{/sha}","git_commits_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/git/commits{/sha}","comments_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/comments{/number}","issue_comment_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/issues/comments{/number}","contents_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/contents/{+path}","compare_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/compare/{base}...{head}","merges_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/merges","archive_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/downloads","issues_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/issues{/number}","pulls_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/pulls{/number}","milestones_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/milestones{/number}","notifications_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/labels{/name}","releases_url":"https://api.github.com/repos/miguelcnf/chef-provisioning-aws/releases{/id}","created_at":"2014-12-10T18:23:02Z","updated_at":"2014-12-22T10:58:02Z","pushed_at":"2015-09-04T16:59:36Z","git_url":"git://github.com/miguelcnf/chef-provisioning-aws.git","ssh_url":"git@github.com:miguelcnf/chef-provisioning-aws.git","clone_url":"https://github.com/miguelcnf/chef-provisioning-aws.git","svn_url":"https://github.com/miguelcnf/chef-provisioning-aws","homepage":"","size":761,"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":"chef:master","ref":"master","sha":"646d85a72cc59834b75745d71a6776ddacd5db28","user":{"login":"chef","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?v=3","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"repo":{"id":24198103,"name":"chef-provisioning-aws","full_name":"chef/chef-provisioning-aws","owner":{"login":"chef","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?v=3","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chef/chef-provisioning-aws","description":"AWS driver and resources for Chef that uses the AWS SDK","fork":false,"url":"https://api.github.com/repos/chef/chef-provisioning-aws","forks_url":"https://api.github.com/repos/chef/chef-provisioning-aws/forks","keys_url":"https://api.github.com/repos/chef/chef-provisioning-aws/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chef/chef-provisioning-aws/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chef/chef-provisioning-aws/teams","hooks_url":"https://api.github.com/repos/chef/chef-provisioning-aws/hooks","issue_events_url":"https://api.github.com/repos/chef/chef-provisioning-aws/issues/events{/number}","events_url":"https://api.github.com/repos/chef/chef-provisioning-aws/events","assignees_url":"https://api.github.com/repos/chef/chef-provisioning-aws/assignees{/user}","branches_url":"https://api.github.com/repos/chef/chef-provisioning-aws/branches{/branch}","tags_url":"https://api.github.com/repos/chef/chef-provisioning-aws/tags","blobs_url":"https://api.github.com/repos/chef/chef-provisioning-aws/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chef/chef-provisioning-aws/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chef/chef-provisioning-aws/git/refs{/sha}","trees_url":"https://api.github.com/repos/chef/chef-provisioning-aws/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chef/chef-provisioning-aws/statuses/{sha}","languages_url":"https://api.github.com/repos/chef/chef-provisioning-aws/languages","stargazers_url":"https://api.github.com/repos/chef/chef-provisioning-aws/stargazers","contributors_url":"https://api.github.com/repos/chef/chef-provisioning-aws/contributors","subscribers_url":"https://api.github.com/repos/chef/chef-provisioning-aws/subscribers","subscription_url":"https://api.github.com/repos/chef/chef-provisioning-aws/subscription","commits_url":"https://api.github.com/repos/chef/chef-provisioning-aws/commits{/sha}","git_commits_url":"https://api.github.com/repos/chef/chef-provisioning-aws/git/commits{/sha}","comments_url":"https://api.github.com/repos/chef/chef-provisioning-aws/comments{/number}","issue_comment_url":"https://api.github.com/repos/chef/chef-provisioning-aws/issues/comments{/number}","contents_url":"https://api.github.com/repos/chef/chef-provisioning-aws/contents/{+path}","compare_url":"https://api.github.com/repos/chef/chef-provisioning-aws/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chef/chef-provisioning-aws/merges","archive_url":"https://api.github.com/repos/chef/chef-provisioning-aws/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chef/chef-provisioning-aws/downloads","issues_url":"https://api.github.com/repos/chef/chef-provisioning-aws/issues{/number}","pulls_url":"https://api.github.com/repos/chef/chef-provisioning-aws/pulls{/number}","milestones_url":"https://api.github.com/repos/chef/chef-provisioning-aws/milestones{/number}","notifications_url":"https://api.github.com/repos/chef/chef-provisioning-aws/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chef/chef-provisioning-aws/labels{/name}","releases_url":"https://api.github.com/repos/chef/chef-provisioning-aws/releases{/id}","created_at":"2014-09-18T17:32:40Z","updated_at":"2015-09-08T09:13:23Z","pushed_at":"2015-09-09T19:38:31Z","git_url":"git://github.com/chef/chef-provisioning-aws.git","ssh_url":"git@github.com:chef/chef-provisioning-aws.git","clone_url":"https://github.com/chef/chef-provisioning-aws.git","svn_url":"https://github.com/chef/chef-provisioning-aws","homepage":"","size":3524,"stargazers_count":55,"watchers_count":55,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":42,"mirror_url":null,"open_issues_count":80,"forks":42,"open_issues":80,"watchers":55,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chef/chef-provisioning-aws/pulls/304"},"html":{"href":"https://github.com/chef/chef-provisioning-aws/pull/304"},"issue":{"href":"https://api.github.com/repos/chef/chef-provisioning-aws/issues/304"},"comments":{"href":"https://api.github.com/repos/chef/chef-provisioning-aws/issues/304/comments"},"review_comments":{"href":"https://api.github.com/repos/chef/chef-provisioning-aws/pulls/304/comments"},"review_comment":{"href":"https://api.github.com/repos/chef/chef-provisioning-aws/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chef/chef-provisioning-aws/pulls/304/commits"},"statuses":{"href":"https://api.github.com/repos/chef/chef-provisioning-aws/statuses/ec7d6953ea62d7255d252f9ff9bf2cfe43d74736"}}}}