{"action":"created","comment":{"url":"https://api.github.com/repos/tomtl/myflix/pulls/comments/33043669","id":33043669,"diff_hunk":"@@ -0,0 +1,18 @@\n+CarrierWave.configure do |config|\n+  if Rails.env.staging? || Rails.env.production?\n+    config.storage = :aws\n+    config.aws_bucket = ENV[\"S3_BUCKET_NAME\"]\n+    config.aws_acl = :\"public-read\"\n+    config.aws_authenticated_url_expiration = 60 * 60 * 24 * 5\n+\n+    config.aws_credentials = {\n+      access_key_id: ENV[\"AWS_ACCESS_KEY_ID\"],\n+      secret_access_key: ENV[\"AWS_SECRET_ACCESS_KEY\"],\n+      config: AWS.config({s3_endpoint: \"s3.amazonaws.com\"})","path":"config/initializers/carrier_wave.rb","position":11,"original_position":11,"commit_id":"676f070d491b08e1798b3d6d99550f7b447dd18e","original_commit_id":"676f070d491b08e1798b3d6d99550f7b447dd18e","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Redundant curly braces around a hash parameter.<br>Space inside { missing.<br>Space inside } missing.","created_at":"2015-06-23T14:03:43Z","updated_at":"2015-06-23T14:03:43Z","html_url":"https://github.com/tomtl/myflix/pull/7#discussion_r33043669","pull_request_url":"https://api.github.com/repos/tomtl/myflix/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/tomtl/myflix/pulls/comments/33043669"},"html":{"href":"https://github.com/tomtl/myflix/pull/7#discussion_r33043669"},"pull_request":{"href":"https://api.github.com/repos/tomtl/myflix/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/tomtl/myflix/pulls/7","id":38338789,"html_url":"https://github.com/tomtl/myflix/pull/7","diff_url":"https://github.com/tomtl/myflix/pull/7.diff","patch_url":"https://github.com/tomtl/myflix/pull/7.patch","issue_url":"https://api.github.com/repos/tomtl/myflix/issues/7","number":7,"state":"open","locked":false,"title":"Mod6","user":{"login":"tomtl","id":10532231,"avatar_url":"https://avatars.githubusercontent.com/u/10532231?v=3","gravatar_id":"","url":"https://api.github.com/users/tomtl","html_url":"https://github.com/tomtl","followers_url":"https://api.github.com/users/tomtl/followers","following_url":"https://api.github.com/users/tomtl/following{/other_user}","gists_url":"https://api.github.com/users/tomtl/gists{/gist_id}","starred_url":"https://api.github.com/users/tomtl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomtl/subscriptions","organizations_url":"https://api.github.com/users/tomtl/orgs","repos_url":"https://api.github.com/users/tomtl/repos","events_url":"https://api.github.com/users/tomtl/events{/privacy}","received_events_url":"https://api.github.com/users/tomtl/received_events","type":"User","site_admin":false},"body":"Created admin role, video cover uploading to AWS, and video watching. ","created_at":"2015-06-23T13:53:32Z","updated_at":"2015-06-23T14:03:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f0b8ef68a432ea826fafe606c4e123da501e57f6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tomtl/myflix/pulls/7/commits","review_comments_url":"https://api.github.com/repos/tomtl/myflix/pulls/7/comments","review_comment_url":"https://api.github.com/repos/tomtl/myflix/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tomtl/myflix/issues/7/comments","statuses_url":"https://api.github.com/repos/tomtl/myflix/statuses/676f070d491b08e1798b3d6d99550f7b447dd18e","head":{"label":"tomtl:mod6","ref":"mod6","sha":"676f070d491b08e1798b3d6d99550f7b447dd18e","user":{"login":"tomtl","id":10532231,"avatar_url":"https://avatars.githubusercontent.com/u/10532231?v=3","gravatar_id":"","url":"https://api.github.com/users/tomtl","html_url":"https://github.com/tomtl","followers_url":"https://api.github.com/users/tomtl/followers","following_url":"https://api.github.com/users/tomtl/following{/other_user}","gists_url":"https://api.github.com/users/tomtl/gists{/gist_id}","starred_url":"https://api.github.com/users/tomtl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomtl/subscriptions","organizations_url":"https://api.github.com/users/tomtl/orgs","repos_url":"https://api.github.com/users/tomtl/repos","events_url":"https://api.github.com/users/tomtl/events{/privacy}","received_events_url":"https://api.github.com/users/tomtl/received_events","type":"User","site_admin":false},"repo":{"id":34055457,"name":"myflix","full_name":"tomtl/myflix","owner":{"login":"tomtl","id":10532231,"avatar_url":"https://avatars.githubusercontent.com/u/10532231?v=3","gravatar_id":"","url":"https://api.github.com/users/tomtl","html_url":"https://github.com/tomtl","followers_url":"https://api.github.com/users/tomtl/followers","following_url":"https://api.github.com/users/tomtl/following{/other_user}","gists_url":"https://api.github.com/users/tomtl/gists{/gist_id}","starred_url":"https://api.github.com/users/tomtl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomtl/subscriptions","organizations_url":"https://api.github.com/users/tomtl/orgs","repos_url":"https://api.github.com/users/tomtl/repos","events_url":"https://api.github.com/users/tomtl/events{/privacy}","received_events_url":"https://api.github.com/users/tomtl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tomtl/myflix","description":"Tealeaf course 3 pre-course app.","fork":false,"url":"https://api.github.com/repos/tomtl/myflix","forks_url":"https://api.github.com/repos/tomtl/myflix/forks","keys_url":"https://api.github.com/repos/tomtl/myflix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tomtl/myflix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tomtl/myflix/teams","hooks_url":"https://api.github.com/repos/tomtl/myflix/hooks","issue_events_url":"https://api.github.com/repos/tomtl/myflix/issues/events{/number}","events_url":"https://api.github.com/repos/tomtl/myflix/events","assignees_url":"https://api.github.com/repos/tomtl/myflix/assignees{/user}","branches_url":"https://api.github.com/repos/tomtl/myflix/branches{/branch}","tags_url":"https://api.github.com/repos/tomtl/myflix/tags","blobs_url":"https://api.github.com/repos/tomtl/myflix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tomtl/myflix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tomtl/myflix/git/refs{/sha}","trees_url":"https://api.github.com/repos/tomtl/myflix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tomtl/myflix/statuses/{sha}","languages_url":"https://api.github.com/repos/tomtl/myflix/languages","stargazers_url":"https://api.github.com/repos/tomtl/myflix/stargazers","contributors_url":"https://api.github.com/repos/tomtl/myflix/contributors","subscribers_url":"https://api.github.com/repos/tomtl/myflix/subscribers","subscription_url":"https://api.github.com/repos/tomtl/myflix/subscription","commits_url":"https://api.github.com/repos/tomtl/myflix/commits{/sha}","git_commits_url":"https://api.github.com/repos/tomtl/myflix/git/commits{/sha}","comments_url":"https://api.github.com/repos/tomtl/myflix/comments{/number}","issue_comment_url":"https://api.github.com/repos/tomtl/myflix/issues/comments{/number}","contents_url":"https://api.github.com/repos/tomtl/myflix/contents/{+path}","compare_url":"https://api.github.com/repos/tomtl/myflix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tomtl/myflix/merges","archive_url":"https://api.github.com/repos/tomtl/myflix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tomtl/myflix/downloads","issues_url":"https://api.github.com/repos/tomtl/myflix/issues{/number}","pulls_url":"https://api.github.com/repos/tomtl/myflix/pulls{/number}","milestones_url":"https://api.github.com/repos/tomtl/myflix/milestones{/number}","notifications_url":"https://api.github.com/repos/tomtl/myflix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tomtl/myflix/labels{/name}","releases_url":"https://api.github.com/repos/tomtl/myflix/releases{/id}","created_at":"2015-04-16T12:50:04Z","updated_at":"2015-04-30T16:25:28Z","pushed_at":"2015-06-23T14:03:38Z","git_url":"git://github.com/tomtl/myflix.git","ssh_url":"git@github.com:tomtl/myflix.git","clone_url":"https://github.com/tomtl/myflix.git","svn_url":"https://github.com/tomtl/myflix","homepage":"","size":676,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"tomtl:staging","ref":"staging","sha":"0abcb2feb7c993a61bef56b217c63233a91b24c3","user":{"login":"tomtl","id":10532231,"avatar_url":"https://avatars.githubusercontent.com/u/10532231?v=3","gravatar_id":"","url":"https://api.github.com/users/tomtl","html_url":"https://github.com/tomtl","followers_url":"https://api.github.com/users/tomtl/followers","following_url":"https://api.github.com/users/tomtl/following{/other_user}","gists_url":"https://api.github.com/users/tomtl/gists{/gist_id}","starred_url":"https://api.github.com/users/tomtl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomtl/subscriptions","organizations_url":"https://api.github.com/users/tomtl/orgs","repos_url":"https://api.github.com/users/tomtl/repos","events_url":"https://api.github.com/users/tomtl/events{/privacy}","received_events_url":"https://api.github.com/users/tomtl/received_events","type":"User","site_admin":false},"repo":{"id":34055457,"name":"myflix","full_name":"tomtl/myflix","owner":{"login":"tomtl","id":10532231,"avatar_url":"https://avatars.githubusercontent.com/u/10532231?v=3","gravatar_id":"","url":"https://api.github.com/users/tomtl","html_url":"https://github.com/tomtl","followers_url":"https://api.github.com/users/tomtl/followers","following_url":"https://api.github.com/users/tomtl/following{/other_user}","gists_url":"https://api.github.com/users/tomtl/gists{/gist_id}","starred_url":"https://api.github.com/users/tomtl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomtl/subscriptions","organizations_url":"https://api.github.com/users/tomtl/orgs","repos_url":"https://api.github.com/users/tomtl/repos","events_url":"https://api.github.com/users/tomtl/events{/privacy}","received_events_url":"https://api.github.com/users/tomtl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tomtl/myflix","description":"Tealeaf course 3 pre-course app.","fork":false,"url":"https://api.github.com/repos/tomtl/myflix","forks_url":"https://api.github.com/repos/tomtl/myflix/forks","keys_url":"https://api.github.com/repos/tomtl/myflix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tomtl/myflix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tomtl/myflix/teams","hooks_url":"https://api.github.com/repos/tomtl/myflix/hooks","issue_events_url":"https://api.github.com/repos/tomtl/myflix/issues/events{/number}","events_url":"https://api.github.com/repos/tomtl/myflix/events","assignees_url":"https://api.github.com/repos/tomtl/myflix/assignees{/user}","branches_url":"https://api.github.com/repos/tomtl/myflix/branches{/branch}","tags_url":"https://api.github.com/repos/tomtl/myflix/tags","blobs_url":"https://api.github.com/repos/tomtl/myflix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tomtl/myflix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tomtl/myflix/git/refs{/sha}","trees_url":"https://api.github.com/repos/tomtl/myflix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tomtl/myflix/statuses/{sha}","languages_url":"https://api.github.com/repos/tomtl/myflix/languages","stargazers_url":"https://api.github.com/repos/tomtl/myflix/stargazers","contributors_url":"https://api.github.com/repos/tomtl/myflix/contributors","subscribers_url":"https://api.github.com/repos/tomtl/myflix/subscribers","subscription_url":"https://api.github.com/repos/tomtl/myflix/subscription","commits_url":"https://api.github.com/repos/tomtl/myflix/commits{/sha}","git_commits_url":"https://api.github.com/repos/tomtl/myflix/git/commits{/sha}","comments_url":"https://api.github.com/repos/tomtl/myflix/comments{/number}","issue_comment_url":"https://api.github.com/repos/tomtl/myflix/issues/comments{/number}","contents_url":"https://api.github.com/repos/tomtl/myflix/contents/{+path}","compare_url":"https://api.github.com/repos/tomtl/myflix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tomtl/myflix/merges","archive_url":"https://api.github.com/repos/tomtl/myflix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tomtl/myflix/downloads","issues_url":"https://api.github.com/repos/tomtl/myflix/issues{/number}","pulls_url":"https://api.github.com/repos/tomtl/myflix/pulls{/number}","milestones_url":"https://api.github.com/repos/tomtl/myflix/milestones{/number}","notifications_url":"https://api.github.com/repos/tomtl/myflix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tomtl/myflix/labels{/name}","releases_url":"https://api.github.com/repos/tomtl/myflix/releases{/id}","created_at":"2015-04-16T12:50:04Z","updated_at":"2015-04-30T16:25:28Z","pushed_at":"2015-06-23T14:03:38Z","git_url":"git://github.com/tomtl/myflix.git","ssh_url":"git@github.com:tomtl/myflix.git","clone_url":"https://github.com/tomtl/myflix.git","svn_url":"https://github.com/tomtl/myflix","homepage":"","size":676,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tomtl/myflix/pulls/7"},"html":{"href":"https://github.com/tomtl/myflix/pull/7"},"issue":{"href":"https://api.github.com/repos/tomtl/myflix/issues/7"},"comments":{"href":"https://api.github.com/repos/tomtl/myflix/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/tomtl/myflix/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/tomtl/myflix/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tomtl/myflix/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/tomtl/myflix/statuses/676f070d491b08e1798b3d6d99550f7b447dd18e"}}}}