{"action":"opened","number":34,"pull_request":{"url":"https://api.github.com/repos/meltwater/lighter/pulls/34","id":63680219,"html_url":"https://github.com/meltwater/lighter/pull/34","diff_url":"https://github.com/meltwater/lighter/pull/34.diff","patch_url":"https://github.com/meltwater/lighter/pull/34.patch","issue_url":"https://api.github.com/repos/meltwater/lighter/issues/34","number":34,"state":"open","locked":false,"title":"Coerce envvar to strings","user":{"login":"mikljohansson","id":9931447,"avatar_url":"https://avatars.githubusercontent.com/u/9931447?v=3","gravatar_id":"","url":"https://api.github.com/users/mikljohansson","html_url":"https://github.com/mikljohansson","followers_url":"https://api.github.com/users/mikljohansson/followers","following_url":"https://api.github.com/users/mikljohansson/following{/other_user}","gists_url":"https://api.github.com/users/mikljohansson/gists{/gist_id}","starred_url":"https://api.github.com/users/mikljohansson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikljohansson/subscriptions","organizations_url":"https://api.github.com/users/mikljohansson/orgs","repos_url":"https://api.github.com/users/mikljohansson/repos","events_url":"https://api.github.com/users/mikljohansson/events{/privacy}","received_events_url":"https://api.github.com/users/mikljohansson/received_events","type":"User","site_admin":false},"body":"Solves #33\r\n\r\n* Coerce non-string envvars to strings\r\n* Validate that env var keys are strings\r\n* Bonus also implements deep-merge and json serialize for non-scalars. Useful for apps that accept json formatted envvars","created_at":"2016-03-22T07:39:12Z","updated_at":"2016-03-22T07:39:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/meltwater/lighter/pulls/34/commits","review_comments_url":"https://api.github.com/repos/meltwater/lighter/pulls/34/comments","review_comment_url":"https://api.github.com/repos/meltwater/lighter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/meltwater/lighter/issues/34/comments","statuses_url":"https://api.github.com/repos/meltwater/lighter/statuses/b10f26a47e3f7864bc909f65b3fa60fb651ce22e","head":{"label":"meltwater:envvar_coercion","ref":"envvar_coercion","sha":"b10f26a47e3f7864bc909f65b3fa60fb651ce22e","user":{"login":"meltwater","id":740088,"avatar_url":"https://avatars.githubusercontent.com/u/740088?v=3","gravatar_id":"","url":"https://api.github.com/users/meltwater","html_url":"https://github.com/meltwater","followers_url":"https://api.github.com/users/meltwater/followers","following_url":"https://api.github.com/users/meltwater/following{/other_user}","gists_url":"https://api.github.com/users/meltwater/gists{/gist_id}","starred_url":"https://api.github.com/users/meltwater/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meltwater/subscriptions","organizations_url":"https://api.github.com/users/meltwater/orgs","repos_url":"https://api.github.com/users/meltwater/repos","events_url":"https://api.github.com/users/meltwater/events{/privacy}","received_events_url":"https://api.github.com/users/meltwater/received_events","type":"Organization","site_admin":false},"repo":{"id":44743426,"name":"lighter","full_name":"meltwater/lighter","owner":{"login":"meltwater","id":740088,"avatar_url":"https://avatars.githubusercontent.com/u/740088?v=3","gravatar_id":"","url":"https://api.github.com/users/meltwater","html_url":"https://github.com/meltwater","followers_url":"https://api.github.com/users/meltwater/followers","following_url":"https://api.github.com/users/meltwater/following{/other_user}","gists_url":"https://api.github.com/users/meltwater/gists{/gist_id}","starred_url":"https://api.github.com/users/meltwater/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meltwater/subscriptions","organizations_url":"https://api.github.com/users/meltwater/orgs","repos_url":"https://api.github.com/users/meltwater/repos","events_url":"https://api.github.com/users/meltwater/events{/privacy}","received_events_url":"https://api.github.com/users/meltwater/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/meltwater/lighter","description":"Marathon deployment automation tool","fork":false,"url":"https://api.github.com/repos/meltwater/lighter","forks_url":"https://api.github.com/repos/meltwater/lighter/forks","keys_url":"https://api.github.com/repos/meltwater/lighter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/meltwater/lighter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/meltwater/lighter/teams","hooks_url":"https://api.github.com/repos/meltwater/lighter/hooks","issue_events_url":"https://api.github.com/repos/meltwater/lighter/issues/events{/number}","events_url":"https://api.github.com/repos/meltwater/lighter/events","assignees_url":"https://api.github.com/repos/meltwater/lighter/assignees{/user}","branches_url":"https://api.github.com/repos/meltwater/lighter/branches{/branch}","tags_url":"https://api.github.com/repos/meltwater/lighter/tags","blobs_url":"https://api.github.com/repos/meltwater/lighter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/meltwater/lighter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/meltwater/lighter/git/refs{/sha}","trees_url":"https://api.github.com/repos/meltwater/lighter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/meltwater/lighter/statuses/{sha}","languages_url":"https://api.github.com/repos/meltwater/lighter/languages","stargazers_url":"https://api.github.com/repos/meltwater/lighter/stargazers","contributors_url":"https://api.github.com/repos/meltwater/lighter/contributors","subscribers_url":"https://api.github.com/repos/meltwater/lighter/subscribers","subscription_url":"https://api.github.com/repos/meltwater/lighter/subscription","commits_url":"https://api.github.com/repos/meltwater/lighter/commits{/sha}","git_commits_url":"https://api.github.com/repos/meltwater/lighter/git/commits{/sha}","comments_url":"https://api.github.com/repos/meltwater/lighter/comments{/number}","issue_comment_url":"https://api.github.com/repos/meltwater/lighter/issues/comments{/number}","contents_url":"https://api.github.com/repos/meltwater/lighter/contents/{+path}","compare_url":"https://api.github.com/repos/meltwater/lighter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/meltwater/lighter/merges","archive_url":"https://api.github.com/repos/meltwater/lighter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/meltwater/lighter/downloads","issues_url":"https://api.github.com/repos/meltwater/lighter/issues{/number}","pulls_url":"https://api.github.com/repos/meltwater/lighter/pulls{/number}","milestones_url":"https://api.github.com/repos/meltwater/lighter/milestones{/number}","notifications_url":"https://api.github.com/repos/meltwater/lighter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/meltwater/lighter/labels{/name}","releases_url":"https://api.github.com/repos/meltwater/lighter/releases{/id}","deployments_url":"https://api.github.com/repos/meltwater/lighter/deployments","created_at":"2015-10-22T12:24:08Z","updated_at":"2016-03-16T23:51:09Z","pushed_at":"2016-03-22T07:35:42Z","git_url":"git://github.com/meltwater/lighter.git","ssh_url":"git@github.com:meltwater/lighter.git","clone_url":"https://github.com/meltwater/lighter.git","svn_url":"https://github.com/meltwater/lighter","homepage":"","size":216,"stargazers_count":21,"watchers_count":21,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":21,"default_branch":"master"}},"base":{"label":"meltwater:master","ref":"master","sha":"e2fc90450c54f7ba489b5dcf2c07af02b83b1d41","user":{"login":"meltwater","id":740088,"avatar_url":"https://avatars.githubusercontent.com/u/740088?v=3","gravatar_id":"","url":"https://api.github.com/users/meltwater","html_url":"https://github.com/meltwater","followers_url":"https://api.github.com/users/meltwater/followers","following_url":"https://api.github.com/users/meltwater/following{/other_user}","gists_url":"https://api.github.com/users/meltwater/gists{/gist_id}","starred_url":"https://api.github.com/users/meltwater/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meltwater/subscriptions","organizations_url":"https://api.github.com/users/meltwater/orgs","repos_url":"https://api.github.com/users/meltwater/repos","events_url":"https://api.github.com/users/meltwater/events{/privacy}","received_events_url":"https://api.github.com/users/meltwater/received_events","type":"Organization","site_admin":false},"repo":{"id":44743426,"name":"lighter","full_name":"meltwater/lighter","owner":{"login":"meltwater","id":740088,"avatar_url":"https://avatars.githubusercontent.com/u/740088?v=3","gravatar_id":"","url":"https://api.github.com/users/meltwater","html_url":"https://github.com/meltwater","followers_url":"https://api.github.com/users/meltwater/followers","following_url":"https://api.github.com/users/meltwater/following{/other_user}","gists_url":"https://api.github.com/users/meltwater/gists{/gist_id}","starred_url":"https://api.github.com/users/meltwater/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meltwater/subscriptions","organizations_url":"https://api.github.com/users/meltwater/orgs","repos_url":"https://api.github.com/users/meltwater/repos","events_url":"https://api.github.com/users/meltwater/events{/privacy}","received_events_url":"https://api.github.com/users/meltwater/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/meltwater/lighter","description":"Marathon deployment automation tool","fork":false,"url":"https://api.github.com/repos/meltwater/lighter","forks_url":"https://api.github.com/repos/meltwater/lighter/forks","keys_url":"https://api.github.com/repos/meltwater/lighter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/meltwater/lighter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/meltwater/lighter/teams","hooks_url":"https://api.github.com/repos/meltwater/lighter/hooks","issue_events_url":"https://api.github.com/repos/meltwater/lighter/issues/events{/number}","events_url":"https://api.github.com/repos/meltwater/lighter/events","assignees_url":"https://api.github.com/repos/meltwater/lighter/assignees{/user}","branches_url":"https://api.github.com/repos/meltwater/lighter/branches{/branch}","tags_url":"https://api.github.com/repos/meltwater/lighter/tags","blobs_url":"https://api.github.com/repos/meltwater/lighter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/meltwater/lighter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/meltwater/lighter/git/refs{/sha}","trees_url":"https://api.github.com/repos/meltwater/lighter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/meltwater/lighter/statuses/{sha}","languages_url":"https://api.github.com/repos/meltwater/lighter/languages","stargazers_url":"https://api.github.com/repos/meltwater/lighter/stargazers","contributors_url":"https://api.github.com/repos/meltwater/lighter/contributors","subscribers_url":"https://api.github.com/repos/meltwater/lighter/subscribers","subscription_url":"https://api.github.com/repos/meltwater/lighter/subscription","commits_url":"https://api.github.com/repos/meltwater/lighter/commits{/sha}","git_commits_url":"https://api.github.com/repos/meltwater/lighter/git/commits{/sha}","comments_url":"https://api.github.com/repos/meltwater/lighter/comments{/number}","issue_comment_url":"https://api.github.com/repos/meltwater/lighter/issues/comments{/number}","contents_url":"https://api.github.com/repos/meltwater/lighter/contents/{+path}","compare_url":"https://api.github.com/repos/meltwater/lighter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/meltwater/lighter/merges","archive_url":"https://api.github.com/repos/meltwater/lighter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/meltwater/lighter/downloads","issues_url":"https://api.github.com/repos/meltwater/lighter/issues{/number}","pulls_url":"https://api.github.com/repos/meltwater/lighter/pulls{/number}","milestones_url":"https://api.github.com/repos/meltwater/lighter/milestones{/number}","notifications_url":"https://api.github.com/repos/meltwater/lighter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/meltwater/lighter/labels{/name}","releases_url":"https://api.github.com/repos/meltwater/lighter/releases{/id}","deployments_url":"https://api.github.com/repos/meltwater/lighter/deployments","created_at":"2015-10-22T12:24:08Z","updated_at":"2016-03-16T23:51:09Z","pushed_at":"2016-03-22T07:35:42Z","git_url":"git://github.com/meltwater/lighter.git","ssh_url":"git@github.com:meltwater/lighter.git","clone_url":"https://github.com/meltwater/lighter.git","svn_url":"https://github.com/meltwater/lighter","homepage":"","size":216,"stargazers_count":21,"watchers_count":21,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/meltwater/lighter/pulls/34"},"html":{"href":"https://github.com/meltwater/lighter/pull/34"},"issue":{"href":"https://api.github.com/repos/meltwater/lighter/issues/34"},"comments":{"href":"https://api.github.com/repos/meltwater/lighter/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/meltwater/lighter/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/meltwater/lighter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/meltwater/lighter/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/meltwater/lighter/statuses/b10f26a47e3f7864bc909f65b3fa60fb651ce22e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":105,"deletions":8,"changed_files":5}}