{"action":"opened","number":22128,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/22128","id":49307863,"html_url":"https://github.com/rails/rails/pull/22128","diff_url":"https://github.com/rails/rails/pull/22128.diff","patch_url":"https://github.com/rails/rails/pull/22128.patch","issue_url":"https://api.github.com/repos/rails/rails/issues/22128","number":22128,"state":"open","locked":false,"title":"rails/application: allow passing an env to config_for","user":{"login":"Sirupsen","id":97400,"avatar_url":"https://avatars.githubusercontent.com/u/97400?v=3","gravatar_id":"","url":"https://api.github.com/users/Sirupsen","html_url":"https://github.com/Sirupsen","followers_url":"https://api.github.com/users/Sirupsen/followers","following_url":"https://api.github.com/users/Sirupsen/following{/other_user}","gists_url":"https://api.github.com/users/Sirupsen/gists{/gist_id}","starred_url":"https://api.github.com/users/Sirupsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sirupsen/subscriptions","organizations_url":"https://api.github.com/users/Sirupsen/orgs","repos_url":"https://api.github.com/users/Sirupsen/repos","events_url":"https://api.github.com/users/Sirupsen/events{/privacy}","received_events_url":"https://api.github.com/users/Sirupsen/received_events","type":"User","site_admin":false},"body":"Would make it easier to write tests to sanity check configuration files for other environments.\r\n\r\n@rafaelfranca @byroot ","created_at":"2015-10-30T18:47:10Z","updated_at":"2015-10-30T18:47:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rails/rails/pulls/22128/commits","review_comments_url":"https://api.github.com/repos/rails/rails/pulls/22128/comments","review_comment_url":"https://api.github.com/repos/rails/rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rails/rails/issues/22128/comments","statuses_url":"https://api.github.com/repos/rails/rails/statuses/276f67acbf111e661f5b3f084b93993b1e03e563","head":{"label":"Sirupsen:config-for-env","ref":"config-for-env","sha":"276f67acbf111e661f5b3f084b93993b1e03e563","user":{"login":"Sirupsen","id":97400,"avatar_url":"https://avatars.githubusercontent.com/u/97400?v=3","gravatar_id":"","url":"https://api.github.com/users/Sirupsen","html_url":"https://github.com/Sirupsen","followers_url":"https://api.github.com/users/Sirupsen/followers","following_url":"https://api.github.com/users/Sirupsen/following{/other_user}","gists_url":"https://api.github.com/users/Sirupsen/gists{/gist_id}","starred_url":"https://api.github.com/users/Sirupsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sirupsen/subscriptions","organizations_url":"https://api.github.com/users/Sirupsen/orgs","repos_url":"https://api.github.com/users/Sirupsen/repos","events_url":"https://api.github.com/users/Sirupsen/events{/privacy}","received_events_url":"https://api.github.com/users/Sirupsen/received_events","type":"User","site_admin":false},"repo":{"id":18471887,"name":"rails","full_name":"Sirupsen/rails","owner":{"login":"Sirupsen","id":97400,"avatar_url":"https://avatars.githubusercontent.com/u/97400?v=3","gravatar_id":"","url":"https://api.github.com/users/Sirupsen","html_url":"https://github.com/Sirupsen","followers_url":"https://api.github.com/users/Sirupsen/followers","following_url":"https://api.github.com/users/Sirupsen/following{/other_user}","gists_url":"https://api.github.com/users/Sirupsen/gists{/gist_id}","starred_url":"https://api.github.com/users/Sirupsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sirupsen/subscriptions","organizations_url":"https://api.github.com/users/Sirupsen/orgs","repos_url":"https://api.github.com/users/Sirupsen/repos","events_url":"https://api.github.com/users/Sirupsen/events{/privacy}","received_events_url":"https://api.github.com/users/Sirupsen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Sirupsen/rails","description":"Ruby on Rails","fork":true,"url":"https://api.github.com/repos/Sirupsen/rails","forks_url":"https://api.github.com/repos/Sirupsen/rails/forks","keys_url":"https://api.github.com/repos/Sirupsen/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sirupsen/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sirupsen/rails/teams","hooks_url":"https://api.github.com/repos/Sirupsen/rails/hooks","issue_events_url":"https://api.github.com/repos/Sirupsen/rails/issues/events{/number}","events_url":"https://api.github.com/repos/Sirupsen/rails/events","assignees_url":"https://api.github.com/repos/Sirupsen/rails/assignees{/user}","branches_url":"https://api.github.com/repos/Sirupsen/rails/branches{/branch}","tags_url":"https://api.github.com/repos/Sirupsen/rails/tags","blobs_url":"https://api.github.com/repos/Sirupsen/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sirupsen/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sirupsen/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sirupsen/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sirupsen/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/Sirupsen/rails/languages","stargazers_url":"https://api.github.com/repos/Sirupsen/rails/stargazers","contributors_url":"https://api.github.com/repos/Sirupsen/rails/contributors","subscribers_url":"https://api.github.com/repos/Sirupsen/rails/subscribers","subscription_url":"https://api.github.com/repos/Sirupsen/rails/subscription","commits_url":"https://api.github.com/repos/Sirupsen/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sirupsen/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sirupsen/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sirupsen/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sirupsen/rails/contents/{+path}","compare_url":"https://api.github.com/repos/Sirupsen/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sirupsen/rails/merges","archive_url":"https://api.github.com/repos/Sirupsen/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sirupsen/rails/downloads","issues_url":"https://api.github.com/repos/Sirupsen/rails/issues{/number}","pulls_url":"https://api.github.com/repos/Sirupsen/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/Sirupsen/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/Sirupsen/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sirupsen/rails/labels{/name}","releases_url":"https://api.github.com/repos/Sirupsen/rails/releases{/id}","created_at":"2014-04-05T17:17:03Z","updated_at":"2015-03-10T00:47:44Z","pushed_at":"2015-10-30T18:46:28Z","git_url":"git://github.com/Sirupsen/rails.git","ssh_url":"git@github.com:Sirupsen/rails.git","clone_url":"https://github.com/Sirupsen/rails.git","svn_url":"https://github.com/Sirupsen/rails","homepage":"http://rubyonrails.org","size":137788,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"rails:master","ref":"master","sha":"cb848c8dd716b0243e41a94c9b52c803a3056eb4","user":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"repo":{"id":8514,"name":"rails","full_name":"rails/rails","owner":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rails/rails","description":"Ruby on Rails","fork":false,"url":"https://api.github.com/repos/rails/rails","forks_url":"https://api.github.com/repos/rails/rails/forks","keys_url":"https://api.github.com/repos/rails/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rails/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rails/rails/teams","hooks_url":"https://api.github.com/repos/rails/rails/hooks","issue_events_url":"https://api.github.com/repos/rails/rails/issues/events{/number}","events_url":"https://api.github.com/repos/rails/rails/events","assignees_url":"https://api.github.com/repos/rails/rails/assignees{/user}","branches_url":"https://api.github.com/repos/rails/rails/branches{/branch}","tags_url":"https://api.github.com/repos/rails/rails/tags","blobs_url":"https://api.github.com/repos/rails/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rails/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rails/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/rails/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rails/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/rails/rails/languages","stargazers_url":"https://api.github.com/repos/rails/rails/stargazers","contributors_url":"https://api.github.com/repos/rails/rails/contributors","subscribers_url":"https://api.github.com/repos/rails/rails/subscribers","subscription_url":"https://api.github.com/repos/rails/rails/subscription","commits_url":"https://api.github.com/repos/rails/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/rails/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/rails/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/rails/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/rails/rails/contents/{+path}","compare_url":"https://api.github.com/repos/rails/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rails/rails/merges","archive_url":"https://api.github.com/repos/rails/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rails/rails/downloads","issues_url":"https://api.github.com/repos/rails/rails/issues{/number}","pulls_url":"https://api.github.com/repos/rails/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/rails/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/rails/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rails/rails/labels{/name}","releases_url":"https://api.github.com/repos/rails/rails/releases{/id}","created_at":"2008-04-11T02:19:47Z","updated_at":"2015-10-30T17:44:14Z","pushed_at":"2015-10-30T18:22:35Z","git_url":"git://github.com/rails/rails.git","ssh_url":"git@github.com:rails/rails.git","clone_url":"https://github.com/rails/rails.git","svn_url":"https://github.com/rails/rails","homepage":"http://rubyonrails.org","size":618022,"stargazers_count":28232,"watchers_count":28232,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11405,"mirror_url":null,"open_issues_count":816,"forks":11405,"open_issues":816,"watchers":28232,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/22128"},"html":{"href":"https://github.com/rails/rails/pull/22128"},"issue":{"href":"https://api.github.com/repos/rails/rails/issues/22128"},"comments":{"href":"https://api.github.com/repos/rails/rails/issues/22128/comments"},"review_comments":{"href":"https://api.github.com/repos/rails/rails/pulls/22128/comments"},"review_comment":{"href":"https://api.github.com/repos/rails/rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rails/rails/pulls/22128/commits"},"statuses":{"href":"https://api.github.com/repos/rails/rails/statuses/276f67acbf111e661f5b3f084b93993b1e03e563"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":22,"deletions":2,"changed_files":3}}