{"action":"closed","number":15,"pull_request":{"url":"https://api.github.com/repos/bespokepost/questionable/pulls/15","id":88074113,"html_url":"https://github.com/bespokepost/questionable/pull/15","diff_url":"https://github.com/bespokepost/questionable/pull/15.diff","patch_url":"https://github.com/bespokepost/questionable/pull/15.patch","issue_url":"https://api.github.com/repos/bespokepost/questionable/issues/15","number":15,"state":"closed","locked":false,"title":"Makes answers controller respond to JSON.","user":{"login":"ascoppa","id":1012038,"avatar_url":"https://avatars.githubusercontent.com/u/1012038?v=3","gravatar_id":"","url":"https://api.github.com/users/ascoppa","html_url":"https://github.com/ascoppa","followers_url":"https://api.github.com/users/ascoppa/followers","following_url":"https://api.github.com/users/ascoppa/following{/other_user}","gists_url":"https://api.github.com/users/ascoppa/gists{/gist_id}","starred_url":"https://api.github.com/users/ascoppa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ascoppa/subscriptions","organizations_url":"https://api.github.com/users/ascoppa/orgs","repos_url":"https://api.github.com/users/ascoppa/repos","events_url":"https://api.github.com/users/ascoppa/events{/privacy}","received_events_url":"https://api.github.com/users/ascoppa/received_events","type":"User","site_admin":false},"body":"Also: \n- Cleanups create action. (Updates spec)\n- Extracts date answer validations into an active model.\n- Adds a bunch of helpers to question (to check the question type).\n","created_at":"2016-10-05T13:07:40Z","updated_at":"2016-12-12T21:20:40Z","closed_at":"2016-12-12T21:20:40Z","merged_at":"2016-12-12T21:20:40Z","merge_commit_sha":"724f24caaa1a838ddf295ef1226152a18f675026","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/bespokepost/questionable/pulls/15/commits","review_comments_url":"https://api.github.com/repos/bespokepost/questionable/pulls/15/comments","review_comment_url":"https://api.github.com/repos/bespokepost/questionable/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bespokepost/questionable/issues/15/comments","statuses_url":"https://api.github.com/repos/bespokepost/questionable/statuses/d7b8b7e6d4c966cfc20c226b5d9815a4c1b9a57c","head":{"label":"ascoppa:respond_to_json","ref":"respond_to_json","sha":"d7b8b7e6d4c966cfc20c226b5d9815a4c1b9a57c","user":{"login":"ascoppa","id":1012038,"avatar_url":"https://avatars.githubusercontent.com/u/1012038?v=3","gravatar_id":"","url":"https://api.github.com/users/ascoppa","html_url":"https://github.com/ascoppa","followers_url":"https://api.github.com/users/ascoppa/followers","following_url":"https://api.github.com/users/ascoppa/following{/other_user}","gists_url":"https://api.github.com/users/ascoppa/gists{/gist_id}","starred_url":"https://api.github.com/users/ascoppa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ascoppa/subscriptions","organizations_url":"https://api.github.com/users/ascoppa/orgs","repos_url":"https://api.github.com/users/ascoppa/repos","events_url":"https://api.github.com/users/ascoppa/events{/privacy}","received_events_url":"https://api.github.com/users/ascoppa/received_events","type":"User","site_admin":false},"repo":{"id":70061216,"name":"questionable","full_name":"ascoppa/questionable","owner":{"login":"ascoppa","id":1012038,"avatar_url":"https://avatars.githubusercontent.com/u/1012038?v=3","gravatar_id":"","url":"https://api.github.com/users/ascoppa","html_url":"https://github.com/ascoppa","followers_url":"https://api.github.com/users/ascoppa/followers","following_url":"https://api.github.com/users/ascoppa/following{/other_user}","gists_url":"https://api.github.com/users/ascoppa/gists{/gist_id}","starred_url":"https://api.github.com/users/ascoppa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ascoppa/subscriptions","organizations_url":"https://api.github.com/users/ascoppa/orgs","repos_url":"https://api.github.com/users/ascoppa/repos","events_url":"https://api.github.com/users/ascoppa/events{/privacy}","received_events_url":"https://api.github.com/users/ascoppa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ascoppa/questionable","description":"A Rails engine that programatically generates surveys","fork":true,"url":"https://api.github.com/repos/ascoppa/questionable","forks_url":"https://api.github.com/repos/ascoppa/questionable/forks","keys_url":"https://api.github.com/repos/ascoppa/questionable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ascoppa/questionable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ascoppa/questionable/teams","hooks_url":"https://api.github.com/repos/ascoppa/questionable/hooks","issue_events_url":"https://api.github.com/repos/ascoppa/questionable/issues/events{/number}","events_url":"https://api.github.com/repos/ascoppa/questionable/events","assignees_url":"https://api.github.com/repos/ascoppa/questionable/assignees{/user}","branches_url":"https://api.github.com/repos/ascoppa/questionable/branches{/branch}","tags_url":"https://api.github.com/repos/ascoppa/questionable/tags","blobs_url":"https://api.github.com/repos/ascoppa/questionable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ascoppa/questionable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ascoppa/questionable/git/refs{/sha}","trees_url":"https://api.github.com/repos/ascoppa/questionable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ascoppa/questionable/statuses/{sha}","languages_url":"https://api.github.com/repos/ascoppa/questionable/languages","stargazers_url":"https://api.github.com/repos/ascoppa/questionable/stargazers","contributors_url":"https://api.github.com/repos/ascoppa/questionable/contributors","subscribers_url":"https://api.github.com/repos/ascoppa/questionable/subscribers","subscription_url":"https://api.github.com/repos/ascoppa/questionable/subscription","commits_url":"https://api.github.com/repos/ascoppa/questionable/commits{/sha}","git_commits_url":"https://api.github.com/repos/ascoppa/questionable/git/commits{/sha}","comments_url":"https://api.github.com/repos/ascoppa/questionable/comments{/number}","issue_comment_url":"https://api.github.com/repos/ascoppa/questionable/issues/comments{/number}","contents_url":"https://api.github.com/repos/ascoppa/questionable/contents/{+path}","compare_url":"https://api.github.com/repos/ascoppa/questionable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ascoppa/questionable/merges","archive_url":"https://api.github.com/repos/ascoppa/questionable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ascoppa/questionable/downloads","issues_url":"https://api.github.com/repos/ascoppa/questionable/issues{/number}","pulls_url":"https://api.github.com/repos/ascoppa/questionable/pulls{/number}","milestones_url":"https://api.github.com/repos/ascoppa/questionable/milestones{/number}","notifications_url":"https://api.github.com/repos/ascoppa/questionable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ascoppa/questionable/labels{/name}","releases_url":"https://api.github.com/repos/ascoppa/questionable/releases{/id}","deployments_url":"https://api.github.com/repos/ascoppa/questionable/deployments","created_at":"2016-10-05T13:05:42Z","updated_at":"2016-10-05T13:05:43Z","pushed_at":"2016-10-05T13:06:16Z","git_url":"git://github.com/ascoppa/questionable.git","ssh_url":"git@github.com:ascoppa/questionable.git","clone_url":"https://github.com/ascoppa/questionable.git","svn_url":"https://github.com/ascoppa/questionable","homepage":null,"size":109,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"bespokepost:master","ref":"master","sha":"bb948e3434febdadc60acc8dbcfc2f3196a19b7f","user":{"login":"bespokepost","id":2020234,"avatar_url":"https://avatars.githubusercontent.com/u/2020234?v=3","gravatar_id":"","url":"https://api.github.com/users/bespokepost","html_url":"https://github.com/bespokepost","followers_url":"https://api.github.com/users/bespokepost/followers","following_url":"https://api.github.com/users/bespokepost/following{/other_user}","gists_url":"https://api.github.com/users/bespokepost/gists{/gist_id}","starred_url":"https://api.github.com/users/bespokepost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bespokepost/subscriptions","organizations_url":"https://api.github.com/users/bespokepost/orgs","repos_url":"https://api.github.com/users/bespokepost/repos","events_url":"https://api.github.com/users/bespokepost/events{/privacy}","received_events_url":"https://api.github.com/users/bespokepost/received_events","type":"Organization","site_admin":false},"repo":{"id":7897759,"name":"questionable","full_name":"bespokepost/questionable","owner":{"login":"bespokepost","id":2020234,"avatar_url":"https://avatars.githubusercontent.com/u/2020234?v=3","gravatar_id":"","url":"https://api.github.com/users/bespokepost","html_url":"https://github.com/bespokepost","followers_url":"https://api.github.com/users/bespokepost/followers","following_url":"https://api.github.com/users/bespokepost/following{/other_user}","gists_url":"https://api.github.com/users/bespokepost/gists{/gist_id}","starred_url":"https://api.github.com/users/bespokepost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bespokepost/subscriptions","organizations_url":"https://api.github.com/users/bespokepost/orgs","repos_url":"https://api.github.com/users/bespokepost/repos","events_url":"https://api.github.com/users/bespokepost/events{/privacy}","received_events_url":"https://api.github.com/users/bespokepost/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bespokepost/questionable","description":"A Rails engine that programatically generates surveys","fork":false,"url":"https://api.github.com/repos/bespokepost/questionable","forks_url":"https://api.github.com/repos/bespokepost/questionable/forks","keys_url":"https://api.github.com/repos/bespokepost/questionable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bespokepost/questionable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bespokepost/questionable/teams","hooks_url":"https://api.github.com/repos/bespokepost/questionable/hooks","issue_events_url":"https://api.github.com/repos/bespokepost/questionable/issues/events{/number}","events_url":"https://api.github.com/repos/bespokepost/questionable/events","assignees_url":"https://api.github.com/repos/bespokepost/questionable/assignees{/user}","branches_url":"https://api.github.com/repos/bespokepost/questionable/branches{/branch}","tags_url":"https://api.github.com/repos/bespokepost/questionable/tags","blobs_url":"https://api.github.com/repos/bespokepost/questionable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bespokepost/questionable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bespokepost/questionable/git/refs{/sha}","trees_url":"https://api.github.com/repos/bespokepost/questionable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bespokepost/questionable/statuses/{sha}","languages_url":"https://api.github.com/repos/bespokepost/questionable/languages","stargazers_url":"https://api.github.com/repos/bespokepost/questionable/stargazers","contributors_url":"https://api.github.com/repos/bespokepost/questionable/contributors","subscribers_url":"https://api.github.com/repos/bespokepost/questionable/subscribers","subscription_url":"https://api.github.com/repos/bespokepost/questionable/subscription","commits_url":"https://api.github.com/repos/bespokepost/questionable/commits{/sha}","git_commits_url":"https://api.github.com/repos/bespokepost/questionable/git/commits{/sha}","comments_url":"https://api.github.com/repos/bespokepost/questionable/comments{/number}","issue_comment_url":"https://api.github.com/repos/bespokepost/questionable/issues/comments{/number}","contents_url":"https://api.github.com/repos/bespokepost/questionable/contents/{+path}","compare_url":"https://api.github.com/repos/bespokepost/questionable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bespokepost/questionable/merges","archive_url":"https://api.github.com/repos/bespokepost/questionable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bespokepost/questionable/downloads","issues_url":"https://api.github.com/repos/bespokepost/questionable/issues{/number}","pulls_url":"https://api.github.com/repos/bespokepost/questionable/pulls{/number}","milestones_url":"https://api.github.com/repos/bespokepost/questionable/milestones{/number}","notifications_url":"https://api.github.com/repos/bespokepost/questionable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bespokepost/questionable/labels{/name}","releases_url":"https://api.github.com/repos/bespokepost/questionable/releases{/id}","deployments_url":"https://api.github.com/repos/bespokepost/questionable/deployments","created_at":"2013-01-29T17:58:14Z","updated_at":"2016-04-26T13:42:53Z","pushed_at":"2016-12-12T21:20:40Z","git_url":"git://github.com/bespokepost/questionable.git","ssh_url":"git@github.com:bespokepost/questionable.git","clone_url":"https://github.com/bespokepost/questionable.git","svn_url":"https://github.com/bespokepost/questionable","homepage":null,"size":502,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bespokepost/questionable/pulls/15"},"html":{"href":"https://github.com/bespokepost/questionable/pull/15"},"issue":{"href":"https://api.github.com/repos/bespokepost/questionable/issues/15"},"comments":{"href":"https://api.github.com/repos/bespokepost/questionable/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/bespokepost/questionable/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/bespokepost/questionable/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bespokepost/questionable/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/bespokepost/questionable/statuses/d7b8b7e6d4c966cfc20c226b5d9815a4c1b9a57c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jaredhales","id":326635,"avatar_url":"https://avatars.githubusercontent.com/u/326635?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredhales","html_url":"https://github.com/jaredhales","followers_url":"https://api.github.com/users/jaredhales/followers","following_url":"https://api.github.com/users/jaredhales/following{/other_user}","gists_url":"https://api.github.com/users/jaredhales/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredhales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredhales/subscriptions","organizations_url":"https://api.github.com/users/jaredhales/orgs","repos_url":"https://api.github.com/users/jaredhales/repos","events_url":"https://api.github.com/users/jaredhales/events{/privacy}","received_events_url":"https://api.github.com/users/jaredhales/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":153,"deletions":52,"changed_files":7}}
{"actor":{"display_login":"jaredhales"}}