{"action":"opened","number":127,"pull_request":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/pulls/127","id":41320955,"html_url":"https://github.com/alphagov/digitalmarketplace-frontend-toolkit/pull/127","diff_url":"https://github.com/alphagov/digitalmarketplace-frontend-toolkit/pull/127.diff","patch_url":"https://github.com/alphagov/digitalmarketplace-frontend-toolkit/pull/127.patch","issue_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/issues/127","number":127,"state":"open","locked":false,"title":"Allow for 'radio' questions to be lists or strings","user":{"login":"quis","id":355079,"avatar_url":"https://avatars.githubusercontent.com/u/355079?v=3","gravatar_id":"","url":"https://api.github.com/users/quis","html_url":"https://github.com/quis","followers_url":"https://api.github.com/users/quis/followers","following_url":"https://api.github.com/users/quis/following{/other_user}","gists_url":"https://api.github.com/users/quis/gists{/gist_id}","starred_url":"https://api.github.com/users/quis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quis/subscriptions","organizations_url":"https://api.github.com/users/quis/orgs","repos_url":"https://api.github.com/users/quis/repos","events_url":"https://api.github.com/users/quis/events{/privacy}","received_events_url":"https://api.github.com/users/quis/received_events","type":"User","site_admin":false},"body":"Questions which the SSP collected using radio buttons are sometimes returned by the API as strings and sometimes as lists.\r\n\r\nThis commit adds a check to the 'radios' macro to avoid accidentally passing a string to the 'list' macro and throwing an error.","created_at":"2015-07-31T09:13:46Z","updated_at":"2015-07-31T09:13:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/pulls/127/commits","review_comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/pulls/127/comments","review_comment_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/issues/127/comments","statuses_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/statuses/67bc43accedbd70ad147bfa157f9c21876876b1a","head":{"label":"alphagov:radios-can-be-lists","ref":"radios-can-be-lists","sha":"67bc43accedbd70ad147bfa157f9c21876876b1a","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":28664922,"name":"digitalmarketplace-frontend-toolkit","full_name":"alphagov/digitalmarketplace-frontend-toolkit","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/digitalmarketplace-frontend-toolkit","description":"Front end toolkit for the Digital Marketplace","fork":false,"url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit","forks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/forks","keys_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/teams","hooks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/hooks","issue_events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/events","assignees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/tags","blobs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/languages","stargazers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/stargazers","contributors_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/contributors","subscribers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/subscribers","subscription_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/subscription","commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/merges","archive_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/downloads","issues_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/releases{/id}","created_at":"2014-12-31T11:56:55Z","updated_at":"2015-05-01T09:19:26Z","pushed_at":"2015-07-31T09:13:03Z","git_url":"git://github.com/alphagov/digitalmarketplace-frontend-toolkit.git","ssh_url":"git@github.com:alphagov/digitalmarketplace-frontend-toolkit.git","clone_url":"https://github.com/alphagov/digitalmarketplace-frontend-toolkit.git","svn_url":"https://github.com/alphagov/digitalmarketplace-frontend-toolkit","homepage":"http://alphagov.github.io/digitalmarketplace-frontend-toolkit/","size":3504,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"ab5aa7c6f7d6d395291f5089ddbf6300bd090531","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":28664922,"name":"digitalmarketplace-frontend-toolkit","full_name":"alphagov/digitalmarketplace-frontend-toolkit","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/digitalmarketplace-frontend-toolkit","description":"Front end toolkit for the Digital Marketplace","fork":false,"url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit","forks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/forks","keys_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/teams","hooks_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/hooks","issue_events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/events","assignees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/tags","blobs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/languages","stargazers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/stargazers","contributors_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/contributors","subscribers_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/subscribers","subscription_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/subscription","commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/merges","archive_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/downloads","issues_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/releases{/id}","created_at":"2014-12-31T11:56:55Z","updated_at":"2015-05-01T09:19:26Z","pushed_at":"2015-07-31T09:13:03Z","git_url":"git://github.com/alphagov/digitalmarketplace-frontend-toolkit.git","ssh_url":"git@github.com:alphagov/digitalmarketplace-frontend-toolkit.git","clone_url":"https://github.com/alphagov/digitalmarketplace-frontend-toolkit.git","svn_url":"https://github.com/alphagov/digitalmarketplace-frontend-toolkit","homepage":"http://alphagov.github.io/digitalmarketplace-frontend-toolkit/","size":3504,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/pulls/127"},"html":{"href":"https://github.com/alphagov/digitalmarketplace-frontend-toolkit/pull/127"},"issue":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/issues/127"},"comments":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/issues/127/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/pulls/127/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/pulls/127/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/digitalmarketplace-frontend-toolkit/statuses/67bc43accedbd70ad147bfa157f9c21876876b1a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":7,"deletions":3,"changed_files":2}}