{"action":"created","comment":{"url":"https://api.github.com/repos/rlister/stax-examples/pulls/comments/196901291","pull_request_review_id":130539061,"id":196901291,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NjkwMTI5MQ==","diff_hunk":"@@ -0,0 +1,37 @@\n+module Stax\n+  module Generators\n+    class S3Generator < Base\n+      desc 'Create basic S3 bucket'\n+\n+      class_option :stack, type: :string, default: nil, desc: 'stack to install'\n+      class_option :bucket_name, type: :string, default: nil, desc: 'bucket name'\n+\n+      source_root File.expand_path('templates', __dir__)\n+\n+      attr_accessor :stack, :bucket_name\n+\n+      def check_args\n+        usage! unless args.empty?\n+      end\n+\n+      def ask_for_options\n+        @stack       = options[:stack] || ask('stack to use or create?', default: 'bucket')","path":"lib/generators/s3/s3_generator.rb","position":18,"original_position":18,"commit_id":"8602eef2bf4fec173b452a513935bb19393ea798","original_commit_id":"8602eef2bf4fec173b452a513935bb19393ea798","user":{"login":"rlister","id":195942,"node_id":"MDQ6VXNlcjE5NTk0Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/195942?v=4","gravatar_id":"","url":"https://api.github.com/users/rlister","html_url":"https://github.com/rlister","followers_url":"https://api.github.com/users/rlister/followers","following_url":"https://api.github.com/users/rlister/following{/other_user}","gists_url":"https://api.github.com/users/rlister/gists{/gist_id}","starred_url":"https://api.github.com/users/rlister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlister/subscriptions","organizations_url":"https://api.github.com/users/rlister/orgs","repos_url":"https://api.github.com/users/rlister/repos","events_url":"https://api.github.com/users/rlister/events{/privacy}","received_events_url":"https://api.github.com/users/rlister/received_events","type":"User","site_admin":false},"body":"@phstc Yeah, this is the thor namespacing problem with mixins. I still need to think up a solution for that.","created_at":"2018-06-20T18:41:50Z","updated_at":"2018-06-20T18:41:50Z","html_url":"https://github.com/rlister/stax-examples/pull/3#discussion_r196901291","pull_request_url":"https://api.github.com/repos/rlister/stax-examples/pulls/3","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/rlister/stax-examples/pulls/comments/196901291"},"html":{"href":"https://github.com/rlister/stax-examples/pull/3#discussion_r196901291"},"pull_request":{"href":"https://api.github.com/repos/rlister/stax-examples/pulls/3"}},"in_reply_to_id":196898142},"pull_request":{"url":"https://api.github.com/repos/rlister/stax-examples/pulls/3","id":196231731,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2MjMxNzMx","html_url":"https://github.com/rlister/stax-examples/pull/3","diff_url":"https://github.com/rlister/stax-examples/pull/3.diff","patch_url":"https://github.com/rlister/stax-examples/pull/3.patch","issue_url":"https://api.github.com/repos/rlister/stax-examples/issues/3","number":3,"state":"open","locked":false,"title":"S3 generator","user":{"login":"phstc","id":105652,"node_id":"MDQ6VXNlcjEwNTY1Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/105652?v=4","gravatar_id":"","url":"https://api.github.com/users/phstc","html_url":"https://github.com/phstc","followers_url":"https://api.github.com/users/phstc/followers","following_url":"https://api.github.com/users/phstc/following{/other_user}","gists_url":"https://api.github.com/users/phstc/gists{/gist_id}","starred_url":"https://api.github.com/users/phstc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phstc/subscriptions","organizations_url":"https://api.github.com/users/phstc/orgs","repos_url":"https://api.github.com/users/phstc/repos","events_url":"https://api.github.com/users/phstc/events{/privacy}","received_events_url":"https://api.github.com/users/phstc/received_events","type":"User","site_admin":false},"body":"- [x] Create a bucket\r\n- [x] Create a manage policy for the bucket\r\n- [x] Update README with instructions for testing new generators","created_at":"2018-06-20T18:21:00Z","updated_at":"2018-06-20T18:41:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8187220a45d982d90dd697b0791e5f3fd4d303b1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rlister/stax-examples/pulls/3/commits","review_comments_url":"https://api.github.com/repos/rlister/stax-examples/pulls/3/comments","review_comment_url":"https://api.github.com/repos/rlister/stax-examples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rlister/stax-examples/issues/3/comments","statuses_url":"https://api.github.com/repos/rlister/stax-examples/statuses/8602eef2bf4fec173b452a513935bb19393ea798","head":{"label":"phstc:s3-generator","ref":"s3-generator","sha":"8602eef2bf4fec173b452a513935bb19393ea798","user":{"login":"phstc","id":105652,"node_id":"MDQ6VXNlcjEwNTY1Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/105652?v=4","gravatar_id":"","url":"https://api.github.com/users/phstc","html_url":"https://github.com/phstc","followers_url":"https://api.github.com/users/phstc/followers","following_url":"https://api.github.com/users/phstc/following{/other_user}","gists_url":"https://api.github.com/users/phstc/gists{/gist_id}","starred_url":"https://api.github.com/users/phstc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phstc/subscriptions","organizations_url":"https://api.github.com/users/phstc/orgs","repos_url":"https://api.github.com/users/phstc/repos","events_url":"https://api.github.com/users/phstc/events{/privacy}","received_events_url":"https://api.github.com/users/phstc/received_events","type":"User","site_admin":false},"repo":{"id":138061594,"node_id":"MDEwOlJlcG9zaXRvcnkxMzgwNjE1OTQ=","name":"stax-examples","full_name":"phstc/stax-examples","owner":{"login":"phstc","id":105652,"node_id":"MDQ6VXNlcjEwNTY1Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/105652?v=4","gravatar_id":"","url":"https://api.github.com/users/phstc","html_url":"https://github.com/phstc","followers_url":"https://api.github.com/users/phstc/followers","following_url":"https://api.github.com/users/phstc/following{/other_user}","gists_url":"https://api.github.com/users/phstc/gists{/gist_id}","starred_url":"https://api.github.com/users/phstc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phstc/subscriptions","organizations_url":"https://api.github.com/users/phstc/orgs","repos_url":"https://api.github.com/users/phstc/repos","events_url":"https://api.github.com/users/phstc/events{/privacy}","received_events_url":"https://api.github.com/users/phstc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/phstc/stax-examples","description":"Example generators for stax to produce highly-opinionated stacks and resources.","fork":true,"url":"https://api.github.com/repos/phstc/stax-examples","forks_url":"https://api.github.com/repos/phstc/stax-examples/forks","keys_url":"https://api.github.com/repos/phstc/stax-examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phstc/stax-examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phstc/stax-examples/teams","hooks_url":"https://api.github.com/repos/phstc/stax-examples/hooks","issue_events_url":"https://api.github.com/repos/phstc/stax-examples/issues/events{/number}","events_url":"https://api.github.com/repos/phstc/stax-examples/events","assignees_url":"https://api.github.com/repos/phstc/stax-examples/assignees{/user}","branches_url":"https://api.github.com/repos/phstc/stax-examples/branches{/branch}","tags_url":"https://api.github.com/repos/phstc/stax-examples/tags","blobs_url":"https://api.github.com/repos/phstc/stax-examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phstc/stax-examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phstc/stax-examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/phstc/stax-examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phstc/stax-examples/statuses/{sha}","languages_url":"https://api.github.com/repos/phstc/stax-examples/languages","stargazers_url":"https://api.github.com/repos/phstc/stax-examples/stargazers","contributors_url":"https://api.github.com/repos/phstc/stax-examples/contributors","subscribers_url":"https://api.github.com/repos/phstc/stax-examples/subscribers","subscription_url":"https://api.github.com/repos/phstc/stax-examples/subscription","commits_url":"https://api.github.com/repos/phstc/stax-examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/phstc/stax-examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/phstc/stax-examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/phstc/stax-examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/phstc/stax-examples/contents/{+path}","compare_url":"https://api.github.com/repos/phstc/stax-examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phstc/stax-examples/merges","archive_url":"https://api.github.com/repos/phstc/stax-examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phstc/stax-examples/downloads","issues_url":"https://api.github.com/repos/phstc/stax-examples/issues{/number}","pulls_url":"https://api.github.com/repos/phstc/stax-examples/pulls{/number}","milestones_url":"https://api.github.com/repos/phstc/stax-examples/milestones{/number}","notifications_url":"https://api.github.com/repos/phstc/stax-examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phstc/stax-examples/labels{/name}","releases_url":"https://api.github.com/repos/phstc/stax-examples/releases{/id}","deployments_url":"https://api.github.com/repos/phstc/stax-examples/deployments","created_at":"2018-06-20T16:56:39Z","updated_at":"2018-06-20T16:56:41Z","pushed_at":"2018-06-20T18:26:24Z","git_url":"git://github.com/phstc/stax-examples.git","ssh_url":"git@github.com:phstc/stax-examples.git","clone_url":"https://github.com/phstc/stax-examples.git","svn_url":"https://github.com/phstc/stax-examples","homepage":null,"size":20,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rlister:master","ref":"master","sha":"eaba420a36801b5c300f66a9b74ffd7998c3fe4e","user":{"login":"rlister","id":195942,"node_id":"MDQ6VXNlcjE5NTk0Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/195942?v=4","gravatar_id":"","url":"https://api.github.com/users/rlister","html_url":"https://github.com/rlister","followers_url":"https://api.github.com/users/rlister/followers","following_url":"https://api.github.com/users/rlister/following{/other_user}","gists_url":"https://api.github.com/users/rlister/gists{/gist_id}","starred_url":"https://api.github.com/users/rlister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlister/subscriptions","organizations_url":"https://api.github.com/users/rlister/orgs","repos_url":"https://api.github.com/users/rlister/repos","events_url":"https://api.github.com/users/rlister/events{/privacy}","received_events_url":"https://api.github.com/users/rlister/received_events","type":"User","site_admin":false},"repo":{"id":136262361,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYyNjIzNjE=","name":"stax-examples","full_name":"rlister/stax-examples","owner":{"login":"rlister","id":195942,"node_id":"MDQ6VXNlcjE5NTk0Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/195942?v=4","gravatar_id":"","url":"https://api.github.com/users/rlister","html_url":"https://github.com/rlister","followers_url":"https://api.github.com/users/rlister/followers","following_url":"https://api.github.com/users/rlister/following{/other_user}","gists_url":"https://api.github.com/users/rlister/gists{/gist_id}","starred_url":"https://api.github.com/users/rlister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlister/subscriptions","organizations_url":"https://api.github.com/users/rlister/orgs","repos_url":"https://api.github.com/users/rlister/repos","events_url":"https://api.github.com/users/rlister/events{/privacy}","received_events_url":"https://api.github.com/users/rlister/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rlister/stax-examples","description":"Example generators for stax to produce highly-opinionated stacks and resources.","fork":false,"url":"https://api.github.com/repos/rlister/stax-examples","forks_url":"https://api.github.com/repos/rlister/stax-examples/forks","keys_url":"https://api.github.com/repos/rlister/stax-examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rlister/stax-examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rlister/stax-examples/teams","hooks_url":"https://api.github.com/repos/rlister/stax-examples/hooks","issue_events_url":"https://api.github.com/repos/rlister/stax-examples/issues/events{/number}","events_url":"https://api.github.com/repos/rlister/stax-examples/events","assignees_url":"https://api.github.com/repos/rlister/stax-examples/assignees{/user}","branches_url":"https://api.github.com/repos/rlister/stax-examples/branches{/branch}","tags_url":"https://api.github.com/repos/rlister/stax-examples/tags","blobs_url":"https://api.github.com/repos/rlister/stax-examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rlister/stax-examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rlister/stax-examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/rlister/stax-examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rlister/stax-examples/statuses/{sha}","languages_url":"https://api.github.com/repos/rlister/stax-examples/languages","stargazers_url":"https://api.github.com/repos/rlister/stax-examples/stargazers","contributors_url":"https://api.github.com/repos/rlister/stax-examples/contributors","subscribers_url":"https://api.github.com/repos/rlister/stax-examples/subscribers","subscription_url":"https://api.github.com/repos/rlister/stax-examples/subscription","commits_url":"https://api.github.com/repos/rlister/stax-examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/rlister/stax-examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/rlister/stax-examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/rlister/stax-examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/rlister/stax-examples/contents/{+path}","compare_url":"https://api.github.com/repos/rlister/stax-examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rlister/stax-examples/merges","archive_url":"https://api.github.com/repos/rlister/stax-examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rlister/stax-examples/downloads","issues_url":"https://api.github.com/repos/rlister/stax-examples/issues{/number}","pulls_url":"https://api.github.com/repos/rlister/stax-examples/pulls{/number}","milestones_url":"https://api.github.com/repos/rlister/stax-examples/milestones{/number}","notifications_url":"https://api.github.com/repos/rlister/stax-examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rlister/stax-examples/labels{/name}","releases_url":"https://api.github.com/repos/rlister/stax-examples/releases{/id}","deployments_url":"https://api.github.com/repos/rlister/stax-examples/deployments","created_at":"2018-06-06T02:46:29Z","updated_at":"2018-06-08T22:16:32Z","pushed_at":"2018-06-20T18:26:25Z","git_url":"git://github.com/rlister/stax-examples.git","ssh_url":"git@github.com:rlister/stax-examples.git","clone_url":"https://github.com/rlister/stax-examples.git","svn_url":"https://github.com/rlister/stax-examples","homepage":null,"size":20,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rlister/stax-examples/pulls/3"},"html":{"href":"https://github.com/rlister/stax-examples/pull/3"},"issue":{"href":"https://api.github.com/repos/rlister/stax-examples/issues/3"},"comments":{"href":"https://api.github.com/repos/rlister/stax-examples/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/rlister/stax-examples/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/rlister/stax-examples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rlister/stax-examples/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/rlister/stax-examples/statuses/8602eef2bf4fec173b452a513935bb19393ea798"}},"author_association":"NONE"}}
{"actor":{"display_login":"rlister"}}