{"action":"opened","number":124,"pull_request":{"url":"https://api.github.com/repos/chef/mixlib-shellout/pulls/124","id":63654037,"html_url":"https://github.com/chef/mixlib-shellout/pull/124","diff_url":"https://github.com/chef/mixlib-shellout/pull/124.diff","patch_url":"https://github.com/chef/mixlib-shellout/pull/124.patch","issue_url":"https://api.github.com/repos/chef/mixlib-shellout/issues/124","number":124,"state":"open","locked":false,"title":"Handle env vars which are convertible to string","user":{"login":"jsok","id":737907,"avatar_url":"https://avatars.githubusercontent.com/u/737907?v=3","gravatar_id":"","url":"https://api.github.com/users/jsok","html_url":"https://github.com/jsok","followers_url":"https://api.github.com/users/jsok/followers","following_url":"https://api.github.com/users/jsok/following{/other_user}","gists_url":"https://api.github.com/users/jsok/gists{/gist_id}","starred_url":"https://api.github.com/users/jsok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsok/subscriptions","organizations_url":"https://api.github.com/users/jsok/orgs","repos_url":"https://api.github.com/users/jsok/repos","events_url":"https://api.github.com/users/jsok/events{/privacy}","received_events_url":"https://api.github.com/users/jsok/received_events","type":"User","site_admin":false},"body":"To change an environment variable, you must be set its value as a string\r\notherwise you get an exception:\r\n\r\n    TypeError: no implicit conversion of Fixnum into String\r\n\r\nThis change attempts to convert env var values in the process environment\r\nto strings.","created_at":"2016-03-22T00:28:39Z","updated_at":"2016-03-22T00:28:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chef/mixlib-shellout/pulls/124/commits","review_comments_url":"https://api.github.com/repos/chef/mixlib-shellout/pulls/124/comments","review_comment_url":"https://api.github.com/repos/chef/mixlib-shellout/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chef/mixlib-shellout/issues/124/comments","statuses_url":"https://api.github.com/repos/chef/mixlib-shellout/statuses/d332131db7b331f141d6c81413911d668f232f0f","head":{"label":"jsok:env_var_string","ref":"env_var_string","sha":"d332131db7b331f141d6c81413911d668f232f0f","user":{"login":"jsok","id":737907,"avatar_url":"https://avatars.githubusercontent.com/u/737907?v=3","gravatar_id":"","url":"https://api.github.com/users/jsok","html_url":"https://github.com/jsok","followers_url":"https://api.github.com/users/jsok/followers","following_url":"https://api.github.com/users/jsok/following{/other_user}","gists_url":"https://api.github.com/users/jsok/gists{/gist_id}","starred_url":"https://api.github.com/users/jsok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsok/subscriptions","organizations_url":"https://api.github.com/users/jsok/orgs","repos_url":"https://api.github.com/users/jsok/repos","events_url":"https://api.github.com/users/jsok/events{/privacy}","received_events_url":"https://api.github.com/users/jsok/received_events","type":"User","site_admin":false},"repo":{"id":54432727,"name":"mixlib-shellout","full_name":"jsok/mixlib-shellout","owner":{"login":"jsok","id":737907,"avatar_url":"https://avatars.githubusercontent.com/u/737907?v=3","gravatar_id":"","url":"https://api.github.com/users/jsok","html_url":"https://github.com/jsok","followers_url":"https://api.github.com/users/jsok/followers","following_url":"https://api.github.com/users/jsok/following{/other_user}","gists_url":"https://api.github.com/users/jsok/gists{/gist_id}","starred_url":"https://api.github.com/users/jsok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsok/subscriptions","organizations_url":"https://api.github.com/users/jsok/orgs","repos_url":"https://api.github.com/users/jsok/repos","events_url":"https://api.github.com/users/jsok/events{/privacy}","received_events_url":"https://api.github.com/users/jsok/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jsok/mixlib-shellout","description":"mixin library for subprocess management, output collection","fork":true,"url":"https://api.github.com/repos/jsok/mixlib-shellout","forks_url":"https://api.github.com/repos/jsok/mixlib-shellout/forks","keys_url":"https://api.github.com/repos/jsok/mixlib-shellout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jsok/mixlib-shellout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jsok/mixlib-shellout/teams","hooks_url":"https://api.github.com/repos/jsok/mixlib-shellout/hooks","issue_events_url":"https://api.github.com/repos/jsok/mixlib-shellout/issues/events{/number}","events_url":"https://api.github.com/repos/jsok/mixlib-shellout/events","assignees_url":"https://api.github.com/repos/jsok/mixlib-shellout/assignees{/user}","branches_url":"https://api.github.com/repos/jsok/mixlib-shellout/branches{/branch}","tags_url":"https://api.github.com/repos/jsok/mixlib-shellout/tags","blobs_url":"https://api.github.com/repos/jsok/mixlib-shellout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jsok/mixlib-shellout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jsok/mixlib-shellout/git/refs{/sha}","trees_url":"https://api.github.com/repos/jsok/mixlib-shellout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jsok/mixlib-shellout/statuses/{sha}","languages_url":"https://api.github.com/repos/jsok/mixlib-shellout/languages","stargazers_url":"https://api.github.com/repos/jsok/mixlib-shellout/stargazers","contributors_url":"https://api.github.com/repos/jsok/mixlib-shellout/contributors","subscribers_url":"https://api.github.com/repos/jsok/mixlib-shellout/subscribers","subscription_url":"https://api.github.com/repos/jsok/mixlib-shellout/subscription","commits_url":"https://api.github.com/repos/jsok/mixlib-shellout/commits{/sha}","git_commits_url":"https://api.github.com/repos/jsok/mixlib-shellout/git/commits{/sha}","comments_url":"https://api.github.com/repos/jsok/mixlib-shellout/comments{/number}","issue_comment_url":"https://api.github.com/repos/jsok/mixlib-shellout/issues/comments{/number}","contents_url":"https://api.github.com/repos/jsok/mixlib-shellout/contents/{+path}","compare_url":"https://api.github.com/repos/jsok/mixlib-shellout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jsok/mixlib-shellout/merges","archive_url":"https://api.github.com/repos/jsok/mixlib-shellout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jsok/mixlib-shellout/downloads","issues_url":"https://api.github.com/repos/jsok/mixlib-shellout/issues{/number}","pulls_url":"https://api.github.com/repos/jsok/mixlib-shellout/pulls{/number}","milestones_url":"https://api.github.com/repos/jsok/mixlib-shellout/milestones{/number}","notifications_url":"https://api.github.com/repos/jsok/mixlib-shellout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jsok/mixlib-shellout/labels{/name}","releases_url":"https://api.github.com/repos/jsok/mixlib-shellout/releases{/id}","deployments_url":"https://api.github.com/repos/jsok/mixlib-shellout/deployments","created_at":"2016-03-22T00:27:05Z","updated_at":"2016-03-22T00:27:06Z","pushed_at":"2016-03-22T00:27:35Z","git_url":"git://github.com/jsok/mixlib-shellout.git","ssh_url":"git@github.com:jsok/mixlib-shellout.git","clone_url":"https://github.com/jsok/mixlib-shellout.git","svn_url":"https://github.com/jsok/mixlib-shellout","homepage":"","size":432,"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":"chef:master","ref":"master","sha":"c7f892947eec2d286bba34b014071b330991e773","user":{"login":"chef","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?v=3","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"repo":{"id":2893713,"name":"mixlib-shellout","full_name":"chef/mixlib-shellout","owner":{"login":"chef","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?v=3","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chef/mixlib-shellout","description":"mixin library for subprocess management, output collection","fork":false,"url":"https://api.github.com/repos/chef/mixlib-shellout","forks_url":"https://api.github.com/repos/chef/mixlib-shellout/forks","keys_url":"https://api.github.com/repos/chef/mixlib-shellout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chef/mixlib-shellout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chef/mixlib-shellout/teams","hooks_url":"https://api.github.com/repos/chef/mixlib-shellout/hooks","issue_events_url":"https://api.github.com/repos/chef/mixlib-shellout/issues/events{/number}","events_url":"https://api.github.com/repos/chef/mixlib-shellout/events","assignees_url":"https://api.github.com/repos/chef/mixlib-shellout/assignees{/user}","branches_url":"https://api.github.com/repos/chef/mixlib-shellout/branches{/branch}","tags_url":"https://api.github.com/repos/chef/mixlib-shellout/tags","blobs_url":"https://api.github.com/repos/chef/mixlib-shellout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chef/mixlib-shellout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chef/mixlib-shellout/git/refs{/sha}","trees_url":"https://api.github.com/repos/chef/mixlib-shellout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chef/mixlib-shellout/statuses/{sha}","languages_url":"https://api.github.com/repos/chef/mixlib-shellout/languages","stargazers_url":"https://api.github.com/repos/chef/mixlib-shellout/stargazers","contributors_url":"https://api.github.com/repos/chef/mixlib-shellout/contributors","subscribers_url":"https://api.github.com/repos/chef/mixlib-shellout/subscribers","subscription_url":"https://api.github.com/repos/chef/mixlib-shellout/subscription","commits_url":"https://api.github.com/repos/chef/mixlib-shellout/commits{/sha}","git_commits_url":"https://api.github.com/repos/chef/mixlib-shellout/git/commits{/sha}","comments_url":"https://api.github.com/repos/chef/mixlib-shellout/comments{/number}","issue_comment_url":"https://api.github.com/repos/chef/mixlib-shellout/issues/comments{/number}","contents_url":"https://api.github.com/repos/chef/mixlib-shellout/contents/{+path}","compare_url":"https://api.github.com/repos/chef/mixlib-shellout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chef/mixlib-shellout/merges","archive_url":"https://api.github.com/repos/chef/mixlib-shellout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chef/mixlib-shellout/downloads","issues_url":"https://api.github.com/repos/chef/mixlib-shellout/issues{/number}","pulls_url":"https://api.github.com/repos/chef/mixlib-shellout/pulls{/number}","milestones_url":"https://api.github.com/repos/chef/mixlib-shellout/milestones{/number}","notifications_url":"https://api.github.com/repos/chef/mixlib-shellout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chef/mixlib-shellout/labels{/name}","releases_url":"https://api.github.com/repos/chef/mixlib-shellout/releases{/id}","deployments_url":"https://api.github.com/repos/chef/mixlib-shellout/deployments","created_at":"2011-12-01T19:55:41Z","updated_at":"2016-03-05T19:44:49Z","pushed_at":"2016-03-02T22:44:19Z","git_url":"git://github.com/chef/mixlib-shellout.git","ssh_url":"git@github.com:chef/mixlib-shellout.git","clone_url":"https://github.com/chef/mixlib-shellout.git","svn_url":"https://github.com/chef/mixlib-shellout","homepage":"","size":535,"stargazers_count":86,"watchers_count":86,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":46,"mirror_url":null,"open_issues_count":4,"forks":46,"open_issues":4,"watchers":86,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chef/mixlib-shellout/pulls/124"},"html":{"href":"https://github.com/chef/mixlib-shellout/pull/124"},"issue":{"href":"https://api.github.com/repos/chef/mixlib-shellout/issues/124"},"comments":{"href":"https://api.github.com/repos/chef/mixlib-shellout/issues/124/comments"},"review_comments":{"href":"https://api.github.com/repos/chef/mixlib-shellout/pulls/124/comments"},"review_comment":{"href":"https://api.github.com/repos/chef/mixlib-shellout/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chef/mixlib-shellout/pulls/124/commits"},"statuses":{"href":"https://api.github.com/repos/chef/mixlib-shellout/statuses/d332131db7b331f141d6c81413911d668f232f0f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":21,"deletions":18,"changed_files":2}}