{"action":"created","comment":{"url":"https://api.github.com/repos/openstax/tutor-server/pulls/comments/27184747","id":27184747,"diff_hunk":"@@ -85,18 +84,6 @@\n   end\n   config.lograge.ignore_actions = [\"static_pages#status\"]\n \n-\n   # Do not dump schema after migrations.\n   config.active_record.dump_schema_after_migration = false\n-\n-  if Rails.application.secrets[:fake_exchange]\n-    # Don't try to connect to Exchange\n-    OpenStax::Exchange.use_fake_client\n-    OpenStax::Exchange.reset!\n-  end\n-\n-  if Rails.application.secrets[:fake_exercises]\n-    # Don't try to connect to Exercises\n-    OpenStax::Exercises::V1.use_fake_client\n-  end","path":"config/environments/production.rb","position":29,"original_position":29,"commit_id":"bc4a1ad635b2490013387bf766f92fc88b921a36","original_commit_id":"bc4a1ad635b2490013387bf766f92fc88b921a36","user":{"login":"lakshmivyas","id":45002,"avatar_url":"https://avatars.githubusercontent.com/u/45002?v=3","gravatar_id":"","url":"https://api.github.com/users/lakshmivyas","html_url":"https://github.com/lakshmivyas","followers_url":"https://api.github.com/users/lakshmivyas/followers","following_url":"https://api.github.com/users/lakshmivyas/following{/other_user}","gists_url":"https://api.github.com/users/lakshmivyas/gists{/gist_id}","starred_url":"https://api.github.com/users/lakshmivyas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lakshmivyas/subscriptions","organizations_url":"https://api.github.com/users/lakshmivyas/orgs","repos_url":"https://api.github.com/users/lakshmivyas/repos","events_url":"https://api.github.com/users/lakshmivyas/events{/privacy}","received_events_url":"https://api.github.com/users/lakshmivyas/received_events","type":"User","site_admin":false},"body":"nvm.  I see that there is a `stub` property below.","created_at":"2015-03-26T02:36:14Z","updated_at":"2015-03-26T02:36:14Z","html_url":"https://github.com/openstax/tutor-server/pull/135#discussion_r27184747","pull_request_url":"https://api.github.com/repos/openstax/tutor-server/pulls/135","_links":{"self":{"href":"https://api.github.com/repos/openstax/tutor-server/pulls/comments/27184747"},"html":{"href":"https://github.com/openstax/tutor-server/pull/135#discussion_r27184747"},"pull_request":{"href":"https://api.github.com/repos/openstax/tutor-server/pulls/135"}}},"pull_request":{"url":"https://api.github.com/repos/openstax/tutor-server/pulls/135","id":31981256,"html_url":"https://github.com/openstax/tutor-server/pull/135","diff_url":"https://github.com/openstax/tutor-server/pull/135.diff","patch_url":"https://github.com/openstax/tutor-server/pull/135.patch","issue_url":"https://api.github.com/repos/openstax/tutor-server/issues/135","number":135,"state":"open","locked":false,"title":"Secrets generator redo","user":{"login":"Dantemss","id":1017808,"avatar_url":"https://avatars.githubusercontent.com/u/1017808?v=3","gravatar_id":"","url":"https://api.github.com/users/Dantemss","html_url":"https://github.com/Dantemss","followers_url":"https://api.github.com/users/Dantemss/followers","following_url":"https://api.github.com/users/Dantemss/following{/other_user}","gists_url":"https://api.github.com/users/Dantemss/gists{/gist_id}","starred_url":"https://api.github.com/users/Dantemss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dantemss/subscriptions","organizations_url":"https://api.github.com/users/Dantemss/orgs","repos_url":"https://api.github.com/users/Dantemss/repos","events_url":"https://api.github.com/users/Dantemss/events{/privacy}","received_events_url":"https://api.github.com/users/Dantemss/received_events","type":"User","site_admin":false},"body":"LN says we shouldn't load Rails to create a file required for Rails to work so...\r\n\r\n- Removed rails g secrets\r\n- Added rake task that creates secrets.yml from example file and runs automatically before all rake tasks\r\n- Changed secrets.yml format to nest related parameters, so everyone will need to recreate their secrets.yml","created_at":"2015-03-26T01:06:14Z","updated_at":"2015-03-26T02:36:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1a1f0a7888ee1c6f69bac76ba0e6c5bdcc404e1a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openstax/tutor-server/pulls/135/commits","review_comments_url":"https://api.github.com/repos/openstax/tutor-server/pulls/135/comments","review_comment_url":"https://api.github.com/repos/openstax/tutor-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openstax/tutor-server/issues/135/comments","statuses_url":"https://api.github.com/repos/openstax/tutor-server/statuses/bc4a1ad635b2490013387bf766f92fc88b921a36","head":{"label":"Dantemss:rake_secrets","ref":"rake_secrets","sha":"bc4a1ad635b2490013387bf766f92fc88b921a36","user":{"login":"Dantemss","id":1017808,"avatar_url":"https://avatars.githubusercontent.com/u/1017808?v=3","gravatar_id":"","url":"https://api.github.com/users/Dantemss","html_url":"https://github.com/Dantemss","followers_url":"https://api.github.com/users/Dantemss/followers","following_url":"https://api.github.com/users/Dantemss/following{/other_user}","gists_url":"https://api.github.com/users/Dantemss/gists{/gist_id}","starred_url":"https://api.github.com/users/Dantemss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dantemss/subscriptions","organizations_url":"https://api.github.com/users/Dantemss/orgs","repos_url":"https://api.github.com/users/Dantemss/repos","events_url":"https://api.github.com/users/Dantemss/events{/privacy}","received_events_url":"https://api.github.com/users/Dantemss/received_events","type":"User","site_admin":false},"repo":{"id":24375939,"name":"tutor-server","full_name":"Dantemss/tutor-server","owner":{"login":"Dantemss","id":1017808,"avatar_url":"https://avatars.githubusercontent.com/u/1017808?v=3","gravatar_id":"","url":"https://api.github.com/users/Dantemss","html_url":"https://github.com/Dantemss","followers_url":"https://api.github.com/users/Dantemss/followers","following_url":"https://api.github.com/users/Dantemss/following{/other_user}","gists_url":"https://api.github.com/users/Dantemss/gists{/gist_id}","starred_url":"https://api.github.com/users/Dantemss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dantemss/subscriptions","organizations_url":"https://api.github.com/users/Dantemss/orgs","repos_url":"https://api.github.com/users/Dantemss/repos","events_url":"https://api.github.com/users/Dantemss/events{/privacy}","received_events_url":"https://api.github.com/users/Dantemss/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Dantemss/tutor-server","description":"OpenStax Tutor 3.0","fork":true,"url":"https://api.github.com/repos/Dantemss/tutor-server","forks_url":"https://api.github.com/repos/Dantemss/tutor-server/forks","keys_url":"https://api.github.com/repos/Dantemss/tutor-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Dantemss/tutor-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Dantemss/tutor-server/teams","hooks_url":"https://api.github.com/repos/Dantemss/tutor-server/hooks","issue_events_url":"https://api.github.com/repos/Dantemss/tutor-server/issues/events{/number}","events_url":"https://api.github.com/repos/Dantemss/tutor-server/events","assignees_url":"https://api.github.com/repos/Dantemss/tutor-server/assignees{/user}","branches_url":"https://api.github.com/repos/Dantemss/tutor-server/branches{/branch}","tags_url":"https://api.github.com/repos/Dantemss/tutor-server/tags","blobs_url":"https://api.github.com/repos/Dantemss/tutor-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Dantemss/tutor-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Dantemss/tutor-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/Dantemss/tutor-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Dantemss/tutor-server/statuses/{sha}","languages_url":"https://api.github.com/repos/Dantemss/tutor-server/languages","stargazers_url":"https://api.github.com/repos/Dantemss/tutor-server/stargazers","contributors_url":"https://api.github.com/repos/Dantemss/tutor-server/contributors","subscribers_url":"https://api.github.com/repos/Dantemss/tutor-server/subscribers","subscription_url":"https://api.github.com/repos/Dantemss/tutor-server/subscription","commits_url":"https://api.github.com/repos/Dantemss/tutor-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/Dantemss/tutor-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/Dantemss/tutor-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/Dantemss/tutor-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/Dantemss/tutor-server/contents/{+path}","compare_url":"https://api.github.com/repos/Dantemss/tutor-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Dantemss/tutor-server/merges","archive_url":"https://api.github.com/repos/Dantemss/tutor-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Dantemss/tutor-server/downloads","issues_url":"https://api.github.com/repos/Dantemss/tutor-server/issues{/number}","pulls_url":"https://api.github.com/repos/Dantemss/tutor-server/pulls{/number}","milestones_url":"https://api.github.com/repos/Dantemss/tutor-server/milestones{/number}","notifications_url":"https://api.github.com/repos/Dantemss/tutor-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Dantemss/tutor-server/labels{/name}","releases_url":"https://api.github.com/repos/Dantemss/tutor-server/releases{/id}","created_at":"2014-09-23T14:58:00Z","updated_at":"2015-03-25T23:20:21Z","pushed_at":"2015-03-26T01:03:15Z","git_url":"git://github.com/Dantemss/tutor-server.git","ssh_url":"git@github.com:Dantemss/tutor-server.git","clone_url":"https://github.com/Dantemss/tutor-server.git","svn_url":"https://github.com/Dantemss/tutor-server","homepage":null,"size":8118,"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":"openstax:master","ref":"master","sha":"e1c86c7fce778df6d79f9375189f9499d6cee430","user":{"login":"openstax","id":3805549,"avatar_url":"https://avatars.githubusercontent.com/u/3805549?v=3","gravatar_id":"","url":"https://api.github.com/users/openstax","html_url":"https://github.com/openstax","followers_url":"https://api.github.com/users/openstax/followers","following_url":"https://api.github.com/users/openstax/following{/other_user}","gists_url":"https://api.github.com/users/openstax/gists{/gist_id}","starred_url":"https://api.github.com/users/openstax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openstax/subscriptions","organizations_url":"https://api.github.com/users/openstax/orgs","repos_url":"https://api.github.com/users/openstax/repos","events_url":"https://api.github.com/users/openstax/events{/privacy}","received_events_url":"https://api.github.com/users/openstax/received_events","type":"Organization","site_admin":false},"repo":{"id":24337612,"name":"tutor-server","full_name":"openstax/tutor-server","owner":{"login":"openstax","id":3805549,"avatar_url":"https://avatars.githubusercontent.com/u/3805549?v=3","gravatar_id":"","url":"https://api.github.com/users/openstax","html_url":"https://github.com/openstax","followers_url":"https://api.github.com/users/openstax/followers","following_url":"https://api.github.com/users/openstax/following{/other_user}","gists_url":"https://api.github.com/users/openstax/gists{/gist_id}","starred_url":"https://api.github.com/users/openstax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openstax/subscriptions","organizations_url":"https://api.github.com/users/openstax/orgs","repos_url":"https://api.github.com/users/openstax/repos","events_url":"https://api.github.com/users/openstax/events{/privacy}","received_events_url":"https://api.github.com/users/openstax/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openstax/tutor-server","description":"OpenStax Tutor 3.0 Backend","fork":false,"url":"https://api.github.com/repos/openstax/tutor-server","forks_url":"https://api.github.com/repos/openstax/tutor-server/forks","keys_url":"https://api.github.com/repos/openstax/tutor-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openstax/tutor-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openstax/tutor-server/teams","hooks_url":"https://api.github.com/repos/openstax/tutor-server/hooks","issue_events_url":"https://api.github.com/repos/openstax/tutor-server/issues/events{/number}","events_url":"https://api.github.com/repos/openstax/tutor-server/events","assignees_url":"https://api.github.com/repos/openstax/tutor-server/assignees{/user}","branches_url":"https://api.github.com/repos/openstax/tutor-server/branches{/branch}","tags_url":"https://api.github.com/repos/openstax/tutor-server/tags","blobs_url":"https://api.github.com/repos/openstax/tutor-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openstax/tutor-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openstax/tutor-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/openstax/tutor-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openstax/tutor-server/statuses/{sha}","languages_url":"https://api.github.com/repos/openstax/tutor-server/languages","stargazers_url":"https://api.github.com/repos/openstax/tutor-server/stargazers","contributors_url":"https://api.github.com/repos/openstax/tutor-server/contributors","subscribers_url":"https://api.github.com/repos/openstax/tutor-server/subscribers","subscription_url":"https://api.github.com/repos/openstax/tutor-server/subscription","commits_url":"https://api.github.com/repos/openstax/tutor-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/openstax/tutor-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/openstax/tutor-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/openstax/tutor-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/openstax/tutor-server/contents/{+path}","compare_url":"https://api.github.com/repos/openstax/tutor-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openstax/tutor-server/merges","archive_url":"https://api.github.com/repos/openstax/tutor-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openstax/tutor-server/downloads","issues_url":"https://api.github.com/repos/openstax/tutor-server/issues{/number}","pulls_url":"https://api.github.com/repos/openstax/tutor-server/pulls{/number}","milestones_url":"https://api.github.com/repos/openstax/tutor-server/milestones{/number}","notifications_url":"https://api.github.com/repos/openstax/tutor-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openstax/tutor-server/labels{/name}","releases_url":"https://api.github.com/repos/openstax/tutor-server/releases{/id}","created_at":"2014-09-22T17:10:29Z","updated_at":"2015-03-25T20:11:59Z","pushed_at":"2015-03-26T01:06:14Z","git_url":"git://github.com/openstax/tutor-server.git","ssh_url":"git@github.com:openstax/tutor-server.git","clone_url":"https://github.com/openstax/tutor-server.git","svn_url":"https://github.com/openstax/tutor-server","homepage":"","size":10416,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":14,"forks":4,"open_issues":14,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openstax/tutor-server/pulls/135"},"html":{"href":"https://github.com/openstax/tutor-server/pull/135"},"issue":{"href":"https://api.github.com/repos/openstax/tutor-server/issues/135"},"comments":{"href":"https://api.github.com/repos/openstax/tutor-server/issues/135/comments"},"review_comments":{"href":"https://api.github.com/repos/openstax/tutor-server/pulls/135/comments"},"review_comment":{"href":"https://api.github.com/repos/openstax/tutor-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openstax/tutor-server/pulls/135/commits"},"statuses":{"href":"https://api.github.com/repos/openstax/tutor-server/statuses/bc4a1ad635b2490013387bf766f92fc88b921a36"}}}}