{"action":"opened","number":18,"pull_request":{"url":"https://api.github.com/repos/markstos/CGI--Application/pulls/18","id":95419045,"html_url":"https://github.com/markstos/CGI--Application/pull/18","diff_url":"https://github.com/markstos/CGI--Application/pull/18.diff","patch_url":"https://github.com/markstos/CGI--Application/pull/18.patch","issue_url":"https://api.github.com/repos/markstos/CGI--Application/issues/18","number":18,"state":"open","locked":false,"title":"Get $env easier with $self->env","user":{"login":"MaxPerl","id":17377645,"avatar_url":"https://avatars.githubusercontent.com/u/17377645?v=3","gravatar_id":"","url":"https://api.github.com/users/MaxPerl","html_url":"https://github.com/MaxPerl","followers_url":"https://api.github.com/users/MaxPerl/followers","following_url":"https://api.github.com/users/MaxPerl/following{/other_user}","gists_url":"https://api.github.com/users/MaxPerl/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxPerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxPerl/subscriptions","organizations_url":"https://api.github.com/users/MaxPerl/orgs","repos_url":"https://api.github.com/users/MaxPerl/repos","events_url":"https://api.github.com/users/MaxPerl/events{/privacy}","received_events_url":"https://api.github.com/users/MaxPerl/received_events","type":"User","site_admin":false},"body":"Hello Martin,\r\n\r\nI test at the moment the dev branch with a very basic PSGI Application. And I thought it could be a good idea to get $env easier through $self->env.\r\nI know one can get it through $self->query->env, but I think becaus of the importance of the $env hash in PSGI Application, an own method is justified...\r\n\r\nI propose that the $env can be pass in the new method new('ENV' => $env) and in the run_as_psgi($env) method. The first should no backward compatibility problem. The second can lead to some conflicts with plugins and modules (at least the comment in the run_as_psgi function says that some plugins need special arguments..)","created_at":"2016-11-27T22:17:28Z","updated_at":"2016-11-27T22:17:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/markstos/CGI--Application/pulls/18/commits","review_comments_url":"https://api.github.com/repos/markstos/CGI--Application/pulls/18/comments","review_comment_url":"https://api.github.com/repos/markstos/CGI--Application/pulls/comments{/number}","comments_url":"https://api.github.com/repos/markstos/CGI--Application/issues/18/comments","statuses_url":"https://api.github.com/repos/markstos/CGI--Application/statuses/46a3c98ba5b092c527754ca04984ae48ead92e35","head":{"label":"MaxPerl:MaxPerl-patch-1","ref":"MaxPerl-patch-1","sha":"46a3c98ba5b092c527754ca04984ae48ead92e35","user":{"login":"MaxPerl","id":17377645,"avatar_url":"https://avatars.githubusercontent.com/u/17377645?v=3","gravatar_id":"","url":"https://api.github.com/users/MaxPerl","html_url":"https://github.com/MaxPerl","followers_url":"https://api.github.com/users/MaxPerl/followers","following_url":"https://api.github.com/users/MaxPerl/following{/other_user}","gists_url":"https://api.github.com/users/MaxPerl/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxPerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxPerl/subscriptions","organizations_url":"https://api.github.com/users/MaxPerl/orgs","repos_url":"https://api.github.com/users/MaxPerl/repos","events_url":"https://api.github.com/users/MaxPerl/events{/privacy}","received_events_url":"https://api.github.com/users/MaxPerl/received_events","type":"User","site_admin":false},"repo":{"id":74814376,"name":"CGI--Application","full_name":"MaxPerl/CGI--Application","owner":{"login":"MaxPerl","id":17377645,"avatar_url":"https://avatars.githubusercontent.com/u/17377645?v=3","gravatar_id":"","url":"https://api.github.com/users/MaxPerl","html_url":"https://github.com/MaxPerl","followers_url":"https://api.github.com/users/MaxPerl/followers","following_url":"https://api.github.com/users/MaxPerl/following{/other_user}","gists_url":"https://api.github.com/users/MaxPerl/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxPerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxPerl/subscriptions","organizations_url":"https://api.github.com/users/MaxPerl/orgs","repos_url":"https://api.github.com/users/MaxPerl/repos","events_url":"https://api.github.com/users/MaxPerl/events{/privacy}","received_events_url":"https://api.github.com/users/MaxPerl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MaxPerl/CGI--Application","description":"A Perl framework for building reusable web-applications  ","fork":true,"url":"https://api.github.com/repos/MaxPerl/CGI--Application","forks_url":"https://api.github.com/repos/MaxPerl/CGI--Application/forks","keys_url":"https://api.github.com/repos/MaxPerl/CGI--Application/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MaxPerl/CGI--Application/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MaxPerl/CGI--Application/teams","hooks_url":"https://api.github.com/repos/MaxPerl/CGI--Application/hooks","issue_events_url":"https://api.github.com/repos/MaxPerl/CGI--Application/issues/events{/number}","events_url":"https://api.github.com/repos/MaxPerl/CGI--Application/events","assignees_url":"https://api.github.com/repos/MaxPerl/CGI--Application/assignees{/user}","branches_url":"https://api.github.com/repos/MaxPerl/CGI--Application/branches{/branch}","tags_url":"https://api.github.com/repos/MaxPerl/CGI--Application/tags","blobs_url":"https://api.github.com/repos/MaxPerl/CGI--Application/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MaxPerl/CGI--Application/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MaxPerl/CGI--Application/git/refs{/sha}","trees_url":"https://api.github.com/repos/MaxPerl/CGI--Application/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MaxPerl/CGI--Application/statuses/{sha}","languages_url":"https://api.github.com/repos/MaxPerl/CGI--Application/languages","stargazers_url":"https://api.github.com/repos/MaxPerl/CGI--Application/stargazers","contributors_url":"https://api.github.com/repos/MaxPerl/CGI--Application/contributors","subscribers_url":"https://api.github.com/repos/MaxPerl/CGI--Application/subscribers","subscription_url":"https://api.github.com/repos/MaxPerl/CGI--Application/subscription","commits_url":"https://api.github.com/repos/MaxPerl/CGI--Application/commits{/sha}","git_commits_url":"https://api.github.com/repos/MaxPerl/CGI--Application/git/commits{/sha}","comments_url":"https://api.github.com/repos/MaxPerl/CGI--Application/comments{/number}","issue_comment_url":"https://api.github.com/repos/MaxPerl/CGI--Application/issues/comments{/number}","contents_url":"https://api.github.com/repos/MaxPerl/CGI--Application/contents/{+path}","compare_url":"https://api.github.com/repos/MaxPerl/CGI--Application/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MaxPerl/CGI--Application/merges","archive_url":"https://api.github.com/repos/MaxPerl/CGI--Application/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MaxPerl/CGI--Application/downloads","issues_url":"https://api.github.com/repos/MaxPerl/CGI--Application/issues{/number}","pulls_url":"https://api.github.com/repos/MaxPerl/CGI--Application/pulls{/number}","milestones_url":"https://api.github.com/repos/MaxPerl/CGI--Application/milestones{/number}","notifications_url":"https://api.github.com/repos/MaxPerl/CGI--Application/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MaxPerl/CGI--Application/labels{/name}","releases_url":"https://api.github.com/repos/MaxPerl/CGI--Application/releases{/id}","deployments_url":"https://api.github.com/repos/MaxPerl/CGI--Application/deployments","created_at":"2016-11-26T08:40:45Z","updated_at":"2016-11-26T08:40:47Z","pushed_at":"2016-11-27T22:11:18Z","git_url":"git://github.com/MaxPerl/CGI--Application.git","ssh_url":"git@github.com:MaxPerl/CGI--Application.git","clone_url":"https://github.com/MaxPerl/CGI--Application.git","svn_url":"https://github.com/MaxPerl/CGI--Application","homepage":"http://www.cgi-app.org/","size":392,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":false,"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":"markstos:master","ref":"master","sha":"7da1adfd4ddd8e3e6b59beb7122f3a1fecc6fc56","user":{"login":"markstos","id":25829,"avatar_url":"https://avatars.githubusercontent.com/u/25829?v=3","gravatar_id":"","url":"https://api.github.com/users/markstos","html_url":"https://github.com/markstos","followers_url":"https://api.github.com/users/markstos/followers","following_url":"https://api.github.com/users/markstos/following{/other_user}","gists_url":"https://api.github.com/users/markstos/gists{/gist_id}","starred_url":"https://api.github.com/users/markstos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstos/subscriptions","organizations_url":"https://api.github.com/users/markstos/orgs","repos_url":"https://api.github.com/users/markstos/repos","events_url":"https://api.github.com/users/markstos/events{/privacy}","received_events_url":"https://api.github.com/users/markstos/received_events","type":"User","site_admin":false},"repo":{"id":1160083,"name":"CGI--Application","full_name":"markstos/CGI--Application","owner":{"login":"markstos","id":25829,"avatar_url":"https://avatars.githubusercontent.com/u/25829?v=3","gravatar_id":"","url":"https://api.github.com/users/markstos","html_url":"https://github.com/markstos","followers_url":"https://api.github.com/users/markstos/followers","following_url":"https://api.github.com/users/markstos/following{/other_user}","gists_url":"https://api.github.com/users/markstos/gists{/gist_id}","starred_url":"https://api.github.com/users/markstos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstos/subscriptions","organizations_url":"https://api.github.com/users/markstos/orgs","repos_url":"https://api.github.com/users/markstos/repos","events_url":"https://api.github.com/users/markstos/events{/privacy}","received_events_url":"https://api.github.com/users/markstos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/markstos/CGI--Application","description":"A Perl framework for building reusable web-applications  ","fork":false,"url":"https://api.github.com/repos/markstos/CGI--Application","forks_url":"https://api.github.com/repos/markstos/CGI--Application/forks","keys_url":"https://api.github.com/repos/markstos/CGI--Application/keys{/key_id}","collaborators_url":"https://api.github.com/repos/markstos/CGI--Application/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/markstos/CGI--Application/teams","hooks_url":"https://api.github.com/repos/markstos/CGI--Application/hooks","issue_events_url":"https://api.github.com/repos/markstos/CGI--Application/issues/events{/number}","events_url":"https://api.github.com/repos/markstos/CGI--Application/events","assignees_url":"https://api.github.com/repos/markstos/CGI--Application/assignees{/user}","branches_url":"https://api.github.com/repos/markstos/CGI--Application/branches{/branch}","tags_url":"https://api.github.com/repos/markstos/CGI--Application/tags","blobs_url":"https://api.github.com/repos/markstos/CGI--Application/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/markstos/CGI--Application/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/markstos/CGI--Application/git/refs{/sha}","trees_url":"https://api.github.com/repos/markstos/CGI--Application/git/trees{/sha}","statuses_url":"https://api.github.com/repos/markstos/CGI--Application/statuses/{sha}","languages_url":"https://api.github.com/repos/markstos/CGI--Application/languages","stargazers_url":"https://api.github.com/repos/markstos/CGI--Application/stargazers","contributors_url":"https://api.github.com/repos/markstos/CGI--Application/contributors","subscribers_url":"https://api.github.com/repos/markstos/CGI--Application/subscribers","subscription_url":"https://api.github.com/repos/markstos/CGI--Application/subscription","commits_url":"https://api.github.com/repos/markstos/CGI--Application/commits{/sha}","git_commits_url":"https://api.github.com/repos/markstos/CGI--Application/git/commits{/sha}","comments_url":"https://api.github.com/repos/markstos/CGI--Application/comments{/number}","issue_comment_url":"https://api.github.com/repos/markstos/CGI--Application/issues/comments{/number}","contents_url":"https://api.github.com/repos/markstos/CGI--Application/contents/{+path}","compare_url":"https://api.github.com/repos/markstos/CGI--Application/compare/{base}...{head}","merges_url":"https://api.github.com/repos/markstos/CGI--Application/merges","archive_url":"https://api.github.com/repos/markstos/CGI--Application/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/markstos/CGI--Application/downloads","issues_url":"https://api.github.com/repos/markstos/CGI--Application/issues{/number}","pulls_url":"https://api.github.com/repos/markstos/CGI--Application/pulls{/number}","milestones_url":"https://api.github.com/repos/markstos/CGI--Application/milestones{/number}","notifications_url":"https://api.github.com/repos/markstos/CGI--Application/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/markstos/CGI--Application/labels{/name}","releases_url":"https://api.github.com/repos/markstos/CGI--Application/releases{/id}","deployments_url":"https://api.github.com/repos/markstos/CGI--Application/deployments","created_at":"2010-12-12T02:48:20Z","updated_at":"2016-10-05T16:37:58Z","pushed_at":"2015-06-02T15:47:26Z","git_url":"git://github.com/markstos/CGI--Application.git","ssh_url":"git@github.com:markstos/CGI--Application.git","clone_url":"https://github.com/markstos/CGI--Application.git","svn_url":"https://github.com/markstos/CGI--Application","homepage":"http://www.cgi-app.org/","size":818,"stargazers_count":23,"watchers_count":23,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":6,"forks":8,"open_issues":6,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/markstos/CGI--Application/pulls/18"},"html":{"href":"https://github.com/markstos/CGI--Application/pull/18"},"issue":{"href":"https://api.github.com/repos/markstos/CGI--Application/issues/18"},"comments":{"href":"https://api.github.com/repos/markstos/CGI--Application/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/markstos/CGI--Application/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/markstos/CGI--Application/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/markstos/CGI--Application/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/markstos/CGI--Application/statuses/46a3c98ba5b092c527754ca04984ae48ead92e35"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":26,"additions":131,"deletions":16,"changed_files":6}}
{"actor":{"display_login":"MaxPerl"}}