{"action":"opened","number":11,"pull_request":{"url":"https://api.github.com/repos/ThoughtWorksInc/objective8/pulls/11","id":32337335,"html_url":"https://github.com/ThoughtWorksInc/objective8/pull/11","diff_url":"https://github.com/ThoughtWorksInc/objective8/pull/11.diff","patch_url":"https://github.com/ThoughtWorksInc/objective8/pull/11.patch","issue_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/issues/11","number":11,"state":"open","locked":false,"title":"Use Environ to access environment variables.","user":{"login":"ctford","id":121563,"avatar_url":"https://avatars.githubusercontent.com/u/121563?v=3","gravatar_id":"","url":"https://api.github.com/users/ctford","html_url":"https://github.com/ctford","followers_url":"https://api.github.com/users/ctford/followers","following_url":"https://api.github.com/users/ctford/following{/other_user}","gists_url":"https://api.github.com/users/ctford/gists{/gist_id}","starred_url":"https://api.github.com/users/ctford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctford/subscriptions","organizations_url":"https://api.github.com/users/ctford/orgs","repos_url":"https://api.github.com/users/ctford/repos","events_url":"https://api.github.com/users/ctford/events{/privacy}","received_events_url":"https://api.github.com/users/ctford/received_events","type":"User","site_admin":false},"body":"This should help address the problem with the app crashing when environment variables aren't loaded, as they can be defaulted in a config file somewhere. This is a start of implementing #8.\r\n\r\nThis has *not* been properly tested. :-)","created_at":"2015-03-31T16:01:18Z","updated_at":"2015-03-31T16:01:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ebe3890a1b484f6a6e037c3c914eb7fa15ce99e7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/pulls/11/commits","review_comments_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/pulls/11/comments","review_comment_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/issues/11/comments","statuses_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/statuses/8c712dd9840a535eef63f7f60c6a7732b79e8bc5","head":{"label":"ctford:environ","ref":"environ","sha":"8c712dd9840a535eef63f7f60c6a7732b79e8bc5","user":{"login":"ctford","id":121563,"avatar_url":"https://avatars.githubusercontent.com/u/121563?v=3","gravatar_id":"","url":"https://api.github.com/users/ctford","html_url":"https://github.com/ctford","followers_url":"https://api.github.com/users/ctford/followers","following_url":"https://api.github.com/users/ctford/following{/other_user}","gists_url":"https://api.github.com/users/ctford/gists{/gist_id}","starred_url":"https://api.github.com/users/ctford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctford/subscriptions","organizations_url":"https://api.github.com/users/ctford/orgs","repos_url":"https://api.github.com/users/ctford/repos","events_url":"https://api.github.com/users/ctford/events{/privacy}","received_events_url":"https://api.github.com/users/ctford/received_events","type":"User","site_admin":false},"repo":{"id":33188172,"name":"objective8","full_name":"ctford/objective8","owner":{"login":"ctford","id":121563,"avatar_url":"https://avatars.githubusercontent.com/u/121563?v=3","gravatar_id":"","url":"https://api.github.com/users/ctford","html_url":"https://github.com/ctford","followers_url":"https://api.github.com/users/ctford/followers","following_url":"https://api.github.com/users/ctford/following{/other_user}","gists_url":"https://api.github.com/users/ctford/gists{/gist_id}","starred_url":"https://api.github.com/users/ctford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctford/subscriptions","organizations_url":"https://api.github.com/users/ctford/orgs","repos_url":"https://api.github.com/users/ctford/repos","events_url":"https://api.github.com/users/ctford/events{/privacy}","received_events_url":"https://api.github.com/users/ctford/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ctford/objective8","description":"Pilot application for crowd sourcing and drafting policy. Part of the D-CENT direct democracy project. See: http://www.nesta.org.uk/project/d-cent","fork":true,"url":"https://api.github.com/repos/ctford/objective8","forks_url":"https://api.github.com/repos/ctford/objective8/forks","keys_url":"https://api.github.com/repos/ctford/objective8/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ctford/objective8/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ctford/objective8/teams","hooks_url":"https://api.github.com/repos/ctford/objective8/hooks","issue_events_url":"https://api.github.com/repos/ctford/objective8/issues/events{/number}","events_url":"https://api.github.com/repos/ctford/objective8/events","assignees_url":"https://api.github.com/repos/ctford/objective8/assignees{/user}","branches_url":"https://api.github.com/repos/ctford/objective8/branches{/branch}","tags_url":"https://api.github.com/repos/ctford/objective8/tags","blobs_url":"https://api.github.com/repos/ctford/objective8/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ctford/objective8/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ctford/objective8/git/refs{/sha}","trees_url":"https://api.github.com/repos/ctford/objective8/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ctford/objective8/statuses/{sha}","languages_url":"https://api.github.com/repos/ctford/objective8/languages","stargazers_url":"https://api.github.com/repos/ctford/objective8/stargazers","contributors_url":"https://api.github.com/repos/ctford/objective8/contributors","subscribers_url":"https://api.github.com/repos/ctford/objective8/subscribers","subscription_url":"https://api.github.com/repos/ctford/objective8/subscription","commits_url":"https://api.github.com/repos/ctford/objective8/commits{/sha}","git_commits_url":"https://api.github.com/repos/ctford/objective8/git/commits{/sha}","comments_url":"https://api.github.com/repos/ctford/objective8/comments{/number}","issue_comment_url":"https://api.github.com/repos/ctford/objective8/issues/comments{/number}","contents_url":"https://api.github.com/repos/ctford/objective8/contents/{+path}","compare_url":"https://api.github.com/repos/ctford/objective8/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ctford/objective8/merges","archive_url":"https://api.github.com/repos/ctford/objective8/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ctford/objective8/downloads","issues_url":"https://api.github.com/repos/ctford/objective8/issues{/number}","pulls_url":"https://api.github.com/repos/ctford/objective8/pulls{/number}","milestones_url":"https://api.github.com/repos/ctford/objective8/milestones{/number}","notifications_url":"https://api.github.com/repos/ctford/objective8/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ctford/objective8/labels{/name}","releases_url":"https://api.github.com/repos/ctford/objective8/releases{/id}","created_at":"2015-03-31T13:53:21Z","updated_at":"2015-03-31T13:53:22Z","pushed_at":"2015-03-31T15:59:40Z","git_url":"git://github.com/ctford/objective8.git","ssh_url":"git@github.com:ctford/objective8.git","clone_url":"https://github.com/ctford/objective8.git","svn_url":"https://github.com/ctford/objective8","homepage":"","size":4116,"stargazers_count":0,"watchers_count":0,"language":"Clojure","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":"ThoughtWorksInc:master","ref":"master","sha":"ad9f68d20386100769cc4f009eb315e31bafd704","user":{"login":"ThoughtWorksInc","id":168376,"avatar_url":"https://avatars.githubusercontent.com/u/168376?v=3","gravatar_id":"","url":"https://api.github.com/users/ThoughtWorksInc","html_url":"https://github.com/ThoughtWorksInc","followers_url":"https://api.github.com/users/ThoughtWorksInc/followers","following_url":"https://api.github.com/users/ThoughtWorksInc/following{/other_user}","gists_url":"https://api.github.com/users/ThoughtWorksInc/gists{/gist_id}","starred_url":"https://api.github.com/users/ThoughtWorksInc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThoughtWorksInc/subscriptions","organizations_url":"https://api.github.com/users/ThoughtWorksInc/orgs","repos_url":"https://api.github.com/users/ThoughtWorksInc/repos","events_url":"https://api.github.com/users/ThoughtWorksInc/events{/privacy}","received_events_url":"https://api.github.com/users/ThoughtWorksInc/received_events","type":"Organization","site_admin":false},"repo":{"id":28982556,"name":"objective8","full_name":"ThoughtWorksInc/objective8","owner":{"login":"ThoughtWorksInc","id":168376,"avatar_url":"https://avatars.githubusercontent.com/u/168376?v=3","gravatar_id":"","url":"https://api.github.com/users/ThoughtWorksInc","html_url":"https://github.com/ThoughtWorksInc","followers_url":"https://api.github.com/users/ThoughtWorksInc/followers","following_url":"https://api.github.com/users/ThoughtWorksInc/following{/other_user}","gists_url":"https://api.github.com/users/ThoughtWorksInc/gists{/gist_id}","starred_url":"https://api.github.com/users/ThoughtWorksInc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThoughtWorksInc/subscriptions","organizations_url":"https://api.github.com/users/ThoughtWorksInc/orgs","repos_url":"https://api.github.com/users/ThoughtWorksInc/repos","events_url":"https://api.github.com/users/ThoughtWorksInc/events{/privacy}","received_events_url":"https://api.github.com/users/ThoughtWorksInc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ThoughtWorksInc/objective8","description":"Pilot application for crowd sourcing and drafting policy. Part of the D-CENT direct democracy project. See: http://www.nesta.org.uk/project/d-cent","fork":false,"url":"https://api.github.com/repos/ThoughtWorksInc/objective8","forks_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/forks","keys_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/teams","hooks_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/hooks","issue_events_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/issues/events{/number}","events_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/events","assignees_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/assignees{/user}","branches_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/branches{/branch}","tags_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/tags","blobs_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/git/refs{/sha}","trees_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/statuses/{sha}","languages_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/languages","stargazers_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/stargazers","contributors_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/contributors","subscribers_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/subscribers","subscription_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/subscription","commits_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/commits{/sha}","git_commits_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/git/commits{/sha}","comments_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/comments{/number}","issue_comment_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/issues/comments{/number}","contents_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/contents/{+path}","compare_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/merges","archive_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/downloads","issues_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/issues{/number}","pulls_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/pulls{/number}","milestones_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/milestones{/number}","notifications_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/labels{/name}","releases_url":"https://api.github.com/repos/ThoughtWorksInc/objective8/releases{/id}","created_at":"2015-01-08T19:39:11Z","updated_at":"2015-03-31T15:54:05Z","pushed_at":"2015-03-31T16:01:20Z","git_url":"git://github.com/ThoughtWorksInc/objective8.git","ssh_url":"git@github.com:ThoughtWorksInc/objective8.git","clone_url":"https://github.com/ThoughtWorksInc/objective8.git","svn_url":"https://github.com/ThoughtWorksInc/objective8","homepage":"","size":4116,"stargazers_count":6,"watchers_count":6,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":9,"forks":4,"open_issues":9,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ThoughtWorksInc/objective8/pulls/11"},"html":{"href":"https://github.com/ThoughtWorksInc/objective8/pull/11"},"issue":{"href":"https://api.github.com/repos/ThoughtWorksInc/objective8/issues/11"},"comments":{"href":"https://api.github.com/repos/ThoughtWorksInc/objective8/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/ThoughtWorksInc/objective8/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/ThoughtWorksInc/objective8/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ThoughtWorksInc/objective8/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/ThoughtWorksInc/objective8/statuses/8c712dd9840a535eef63f7f60c6a7732b79e8bc5"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":16,"changed_files":2}}