{"action":"created","comment":{"url":"https://api.github.com/repos/usetint/tint/pulls/comments/71934334","id":71934334,"diff_hunk":"@@ -282,7 +282,7 @@ def render_directory(directory)\n \t\tdef process_form_data(data, git)\n \t\t\tcase data\n \t\t\twhen Array\n-\t\t\t\tdata.map { |v| process_form_data(v, git) }\n+\t\t\t\tdata.reject { |v| v.is_a?(String) && v.blank? }.map { |v| process_form_data(v, git) }","path":"app/app.rb","position":5,"original_position":5,"commit_id":"63c832d411bf9fd1d4a9206a975284109233c49d","original_commit_id":"63c832d411bf9fd1d4a9206a975284109233c49d","user":{"login":"ericroberts","id":695547,"avatar_url":"https://avatars.githubusercontent.com/u/695547?v=3","gravatar_id":"","url":"https://api.github.com/users/ericroberts","html_url":"https://github.com/ericroberts","followers_url":"https://api.github.com/users/ericroberts/followers","following_url":"https://api.github.com/users/ericroberts/following{/other_user}","gists_url":"https://api.github.com/users/ericroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/ericroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericroberts/subscriptions","organizations_url":"https://api.github.com/users/ericroberts/orgs","repos_url":"https://api.github.com/users/ericroberts/repos","events_url":"https://api.github.com/users/ericroberts/events{/privacy}","received_events_url":"https://api.github.com/users/ericroberts/received_events","type":"User","site_admin":false},"body":"YAML saves the value as `[]`, so it works as expected.","created_at":"2016-07-22T19:40:13Z","updated_at":"2016-07-22T19:40:13Z","html_url":"https://github.com/usetint/tint/pull/90#discussion_r71934334","pull_request_url":"https://api.github.com/repos/usetint/tint/pulls/90","_links":{"self":{"href":"https://api.github.com/repos/usetint/tint/pulls/comments/71934334"},"html":{"href":"https://github.com/usetint/tint/pull/90#discussion_r71934334"},"pull_request":{"href":"https://api.github.com/repos/usetint/tint/pulls/90"}}},"pull_request":{"url":"https://api.github.com/repos/usetint/tint/pulls/90","id":78528681,"html_url":"https://github.com/usetint/tint/pull/90","diff_url":"https://github.com/usetint/tint/pull/90.diff","patch_url":"https://github.com/usetint/tint/pull/90.patch","issue_url":"https://api.github.com/repos/usetint/tint/issues/90","number":90,"state":"open","locked":false,"title":"Add the ability to use a multiple select box.","user":{"login":"ericroberts","id":695547,"avatar_url":"https://avatars.githubusercontent.com/u/695547?v=3","gravatar_id":"","url":"https://api.github.com/users/ericroberts","html_url":"https://github.com/ericroberts","followers_url":"https://api.github.com/users/ericroberts/followers","following_url":"https://api.github.com/users/ericroberts/following{/other_user}","gists_url":"https://api.github.com/users/ericroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/ericroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericroberts/subscriptions","organizations_url":"https://api.github.com/users/ericroberts/orgs","repos_url":"https://api.github.com/users/ericroberts/repos","events_url":"https://api.github.com/users/ericroberts/events{/privacy}","received_events_url":"https://api.github.com/users/ericroberts/received_events","type":"User","site_admin":false},"body":"If the YML key is the same name as a key from the .tint.yml options\r\nhash, we will display a multiselect. This also takes precedence over\r\nnormal array input displays.\r\n\r\nThere is a hidden input to submit an array, because if you select\r\nnothing in the multiselect that will not submit to the server, which\r\nresults in the key being deleted. The hidden input fixes this behaviour.\r\nBecause the hidden input submits an array with one entry that has a\r\nvalue of \"\" we now reject blank values in our process_form_data method.\r\n\r\nCloses #15 ","created_at":"2016-07-22T19:34:17Z","updated_at":"2016-07-22T19:40:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"239207880c26991a3fcc47abf36460e13d21db93","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/usetint/tint/pulls/90/commits","review_comments_url":"https://api.github.com/repos/usetint/tint/pulls/90/comments","review_comment_url":"https://api.github.com/repos/usetint/tint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/usetint/tint/issues/90/comments","statuses_url":"https://api.github.com/repos/usetint/tint/statuses/63c832d411bf9fd1d4a9206a975284109233c49d","head":{"label":"usetint:multiselect","ref":"multiselect","sha":"63c832d411bf9fd1d4a9206a975284109233c49d","user":{"login":"usetint","id":20583435,"avatar_url":"https://avatars.githubusercontent.com/u/20583435?v=3","gravatar_id":"","url":"https://api.github.com/users/usetint","html_url":"https://github.com/usetint","followers_url":"https://api.github.com/users/usetint/followers","following_url":"https://api.github.com/users/usetint/following{/other_user}","gists_url":"https://api.github.com/users/usetint/gists{/gist_id}","starred_url":"https://api.github.com/users/usetint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usetint/subscriptions","organizations_url":"https://api.github.com/users/usetint/orgs","repos_url":"https://api.github.com/users/usetint/repos","events_url":"https://api.github.com/users/usetint/events{/privacy}","received_events_url":"https://api.github.com/users/usetint/received_events","type":"Organization","site_admin":false},"repo":{"id":63621954,"name":"tint","full_name":"usetint/tint","owner":{"login":"usetint","id":20583435,"avatar_url":"https://avatars.githubusercontent.com/u/20583435?v=3","gravatar_id":"","url":"https://api.github.com/users/usetint","html_url":"https://github.com/usetint","followers_url":"https://api.github.com/users/usetint/followers","following_url":"https://api.github.com/users/usetint/following{/other_user}","gists_url":"https://api.github.com/users/usetint/gists{/gist_id}","starred_url":"https://api.github.com/users/usetint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usetint/subscriptions","organizations_url":"https://api.github.com/users/usetint/orgs","repos_url":"https://api.github.com/users/usetint/repos","events_url":"https://api.github.com/users/usetint/events{/privacy}","received_events_url":"https://api.github.com/users/usetint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/usetint/tint","description":null,"fork":false,"url":"https://api.github.com/repos/usetint/tint","forks_url":"https://api.github.com/repos/usetint/tint/forks","keys_url":"https://api.github.com/repos/usetint/tint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/usetint/tint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/usetint/tint/teams","hooks_url":"https://api.github.com/repos/usetint/tint/hooks","issue_events_url":"https://api.github.com/repos/usetint/tint/issues/events{/number}","events_url":"https://api.github.com/repos/usetint/tint/events","assignees_url":"https://api.github.com/repos/usetint/tint/assignees{/user}","branches_url":"https://api.github.com/repos/usetint/tint/branches{/branch}","tags_url":"https://api.github.com/repos/usetint/tint/tags","blobs_url":"https://api.github.com/repos/usetint/tint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/usetint/tint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/usetint/tint/git/refs{/sha}","trees_url":"https://api.github.com/repos/usetint/tint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/usetint/tint/statuses/{sha}","languages_url":"https://api.github.com/repos/usetint/tint/languages","stargazers_url":"https://api.github.com/repos/usetint/tint/stargazers","contributors_url":"https://api.github.com/repos/usetint/tint/contributors","subscribers_url":"https://api.github.com/repos/usetint/tint/subscribers","subscription_url":"https://api.github.com/repos/usetint/tint/subscription","commits_url":"https://api.github.com/repos/usetint/tint/commits{/sha}","git_commits_url":"https://api.github.com/repos/usetint/tint/git/commits{/sha}","comments_url":"https://api.github.com/repos/usetint/tint/comments{/number}","issue_comment_url":"https://api.github.com/repos/usetint/tint/issues/comments{/number}","contents_url":"https://api.github.com/repos/usetint/tint/contents/{+path}","compare_url":"https://api.github.com/repos/usetint/tint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/usetint/tint/merges","archive_url":"https://api.github.com/repos/usetint/tint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/usetint/tint/downloads","issues_url":"https://api.github.com/repos/usetint/tint/issues{/number}","pulls_url":"https://api.github.com/repos/usetint/tint/pulls{/number}","milestones_url":"https://api.github.com/repos/usetint/tint/milestones{/number}","notifications_url":"https://api.github.com/repos/usetint/tint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/usetint/tint/labels{/name}","releases_url":"https://api.github.com/repos/usetint/tint/releases{/id}","deployments_url":"https://api.github.com/repos/usetint/tint/deployments","created_at":"2016-07-18T17:09:29Z","updated_at":"2016-07-21T17:23:18Z","pushed_at":"2016-07-22T19:34:17Z","git_url":"git://github.com/usetint/tint.git","ssh_url":"git@github.com:usetint/tint.git","clone_url":"https://github.com/usetint/tint.git","svn_url":"https://github.com/usetint/tint","homepage":null,"size":1584,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":44,"forks":1,"open_issues":44,"watchers":0,"default_branch":"master"}},"base":{"label":"usetint:master","ref":"master","sha":"7ee00c9dfef2065dedb8228bce8d4d9e2b96098c","user":{"login":"usetint","id":20583435,"avatar_url":"https://avatars.githubusercontent.com/u/20583435?v=3","gravatar_id":"","url":"https://api.github.com/users/usetint","html_url":"https://github.com/usetint","followers_url":"https://api.github.com/users/usetint/followers","following_url":"https://api.github.com/users/usetint/following{/other_user}","gists_url":"https://api.github.com/users/usetint/gists{/gist_id}","starred_url":"https://api.github.com/users/usetint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usetint/subscriptions","organizations_url":"https://api.github.com/users/usetint/orgs","repos_url":"https://api.github.com/users/usetint/repos","events_url":"https://api.github.com/users/usetint/events{/privacy}","received_events_url":"https://api.github.com/users/usetint/received_events","type":"Organization","site_admin":false},"repo":{"id":63621954,"name":"tint","full_name":"usetint/tint","owner":{"login":"usetint","id":20583435,"avatar_url":"https://avatars.githubusercontent.com/u/20583435?v=3","gravatar_id":"","url":"https://api.github.com/users/usetint","html_url":"https://github.com/usetint","followers_url":"https://api.github.com/users/usetint/followers","following_url":"https://api.github.com/users/usetint/following{/other_user}","gists_url":"https://api.github.com/users/usetint/gists{/gist_id}","starred_url":"https://api.github.com/users/usetint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usetint/subscriptions","organizations_url":"https://api.github.com/users/usetint/orgs","repos_url":"https://api.github.com/users/usetint/repos","events_url":"https://api.github.com/users/usetint/events{/privacy}","received_events_url":"https://api.github.com/users/usetint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/usetint/tint","description":null,"fork":false,"url":"https://api.github.com/repos/usetint/tint","forks_url":"https://api.github.com/repos/usetint/tint/forks","keys_url":"https://api.github.com/repos/usetint/tint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/usetint/tint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/usetint/tint/teams","hooks_url":"https://api.github.com/repos/usetint/tint/hooks","issue_events_url":"https://api.github.com/repos/usetint/tint/issues/events{/number}","events_url":"https://api.github.com/repos/usetint/tint/events","assignees_url":"https://api.github.com/repos/usetint/tint/assignees{/user}","branches_url":"https://api.github.com/repos/usetint/tint/branches{/branch}","tags_url":"https://api.github.com/repos/usetint/tint/tags","blobs_url":"https://api.github.com/repos/usetint/tint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/usetint/tint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/usetint/tint/git/refs{/sha}","trees_url":"https://api.github.com/repos/usetint/tint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/usetint/tint/statuses/{sha}","languages_url":"https://api.github.com/repos/usetint/tint/languages","stargazers_url":"https://api.github.com/repos/usetint/tint/stargazers","contributors_url":"https://api.github.com/repos/usetint/tint/contributors","subscribers_url":"https://api.github.com/repos/usetint/tint/subscribers","subscription_url":"https://api.github.com/repos/usetint/tint/subscription","commits_url":"https://api.github.com/repos/usetint/tint/commits{/sha}","git_commits_url":"https://api.github.com/repos/usetint/tint/git/commits{/sha}","comments_url":"https://api.github.com/repos/usetint/tint/comments{/number}","issue_comment_url":"https://api.github.com/repos/usetint/tint/issues/comments{/number}","contents_url":"https://api.github.com/repos/usetint/tint/contents/{+path}","compare_url":"https://api.github.com/repos/usetint/tint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/usetint/tint/merges","archive_url":"https://api.github.com/repos/usetint/tint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/usetint/tint/downloads","issues_url":"https://api.github.com/repos/usetint/tint/issues{/number}","pulls_url":"https://api.github.com/repos/usetint/tint/pulls{/number}","milestones_url":"https://api.github.com/repos/usetint/tint/milestones{/number}","notifications_url":"https://api.github.com/repos/usetint/tint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/usetint/tint/labels{/name}","releases_url":"https://api.github.com/repos/usetint/tint/releases{/id}","deployments_url":"https://api.github.com/repos/usetint/tint/deployments","created_at":"2016-07-18T17:09:29Z","updated_at":"2016-07-21T17:23:18Z","pushed_at":"2016-07-22T19:34:17Z","git_url":"git://github.com/usetint/tint.git","ssh_url":"git@github.com:usetint/tint.git","clone_url":"https://github.com/usetint/tint.git","svn_url":"https://github.com/usetint/tint","homepage":null,"size":1584,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":44,"forks":1,"open_issues":44,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/usetint/tint/pulls/90"},"html":{"href":"https://github.com/usetint/tint/pull/90"},"issue":{"href":"https://api.github.com/repos/usetint/tint/issues/90"},"comments":{"href":"https://api.github.com/repos/usetint/tint/issues/90/comments"},"review_comments":{"href":"https://api.github.com/repos/usetint/tint/pulls/90/comments"},"review_comment":{"href":"https://api.github.com/repos/usetint/tint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/usetint/tint/pulls/90/commits"},"statuses":{"href":"https://api.github.com/repos/usetint/tint/statuses/63c832d411bf9fd1d4a9206a975284109233c49d"}}}}
{"actor":{"display_login":"ericroberts"}}