{"action":"created","comment":{"url":"https://api.github.com/repos/roqua/quby_engine/pulls/comments/47879656","id":47879656,"diff_hunk":"@@ -233,8 +233,8 @@ def filter_textvars(given_textvars)\n \n         def default_textvars\n           textvars.select { |key, textvar| textvar.default.present? }\n-                  .map    { |key, textvar| [key, textvar.default] }\n-                  .to_h\n+            .map    { |key, textvar| [key, textvar.default] }","path":"lib/quby/questionnaires/entities/questionnaire.rb","position":6,"original_position":6,"commit_id":"bfa1718b84ae1d1b746cecfd4cc9a4daaa083d67","original_commit_id":"bfa1718b84ae1d1b746cecfd4cc9a4daaa083d67","user":{"login":"hampei","id":18834,"avatar_url":"https://avatars.githubusercontent.com/u/18834?v=3","gravatar_id":"","url":"https://api.github.com/users/hampei","html_url":"https://github.com/hampei","followers_url":"https://api.github.com/users/hampei/followers","following_url":"https://api.github.com/users/hampei/following{/other_user}","gists_url":"https://api.github.com/users/hampei/gists{/gist_id}","starred_url":"https://api.github.com/users/hampei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hampei/subscriptions","organizations_url":"https://api.github.com/users/hampei/orgs","repos_url":"https://api.github.com/users/hampei/repos","events_url":"https://api.github.com/users/hampei/events{/privacy}","received_events_url":"https://api.github.com/users/hampei/received_events","type":"User","site_admin":false},"body":"punten uitlijnen is in dit geval leesbaarder. \r\nPlus uitlijning aanpassen van code waar je niet aanzit is maakt een pull-request onnodig lang.","created_at":"2015-12-17T08:25:21Z","updated_at":"2015-12-17T08:25:21Z","html_url":"https://github.com/roqua/quby_engine/pull/137#discussion_r47879656","pull_request_url":"https://api.github.com/repos/roqua/quby_engine/pulls/137","_links":{"self":{"href":"https://api.github.com/repos/roqua/quby_engine/pulls/comments/47879656"},"html":{"href":"https://github.com/roqua/quby_engine/pull/137#discussion_r47879656"},"pull_request":{"href":"https://api.github.com/repos/roqua/quby_engine/pulls/137"}}},"pull_request":{"url":"https://api.github.com/repos/roqua/quby_engine/pulls/137","id":53816423,"html_url":"https://github.com/roqua/quby_engine/pull/137","diff_url":"https://github.com/roqua/quby_engine/pull/137.diff","patch_url":"https://github.com/roqua/quby_engine/pull/137.patch","issue_url":"https://api.github.com/repos/roqua/quby_engine/issues/137","number":137,"state":"open","locked":false,"title":"Partional date support","user":{"login":"timraasveld","id":8157262,"avatar_url":"https://avatars.githubusercontent.com/u/8157262?v=3","gravatar_id":"","url":"https://api.github.com/users/timraasveld","html_url":"https://github.com/timraasveld","followers_url":"https://api.github.com/users/timraasveld/followers","following_url":"https://api.github.com/users/timraasveld/following{/other_user}","gists_url":"https://api.github.com/users/timraasveld/gists{/gist_id}","starred_url":"https://api.github.com/users/timraasveld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timraasveld/subscriptions","organizations_url":"https://api.github.com/users/timraasveld/orgs","repos_url":"https://api.github.com/users/timraasveld/repos","events_url":"https://api.github.com/users/timraasveld/events{/privacy}","received_events_url":"https://api.github.com/users/timraasveld/received_events","type":"User","site_admin":false},"body":"Add a `components` parameter to Date questions.\r\n\r\nExample questionnaire:\r\n````ruby\r\nquestion :v_datum, type: :date, components: [:hour, :minute] do\r\n  title \"enter a date\"\r\nend\r\n````","created_at":"2015-12-16T09:24:03Z","updated_at":"2015-12-17T08:25:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"633b6eb31ebc2d4d4a829077fcc8df4c552ef858","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/roqua/quby_engine/pulls/137/commits","review_comments_url":"https://api.github.com/repos/roqua/quby_engine/pulls/137/comments","review_comment_url":"https://api.github.com/repos/roqua/quby_engine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/roqua/quby_engine/issues/137/comments","statuses_url":"https://api.github.com/repos/roqua/quby_engine/statuses/bfa1718b84ae1d1b746cecfd4cc9a4daaa083d67","head":{"label":"roqua:tr_partional_date_support","ref":"tr_partional_date_support","sha":"bfa1718b84ae1d1b746cecfd4cc9a4daaa083d67","user":{"login":"roqua","id":598697,"avatar_url":"https://avatars.githubusercontent.com/u/598697?v=3","gravatar_id":"","url":"https://api.github.com/users/roqua","html_url":"https://github.com/roqua","followers_url":"https://api.github.com/users/roqua/followers","following_url":"https://api.github.com/users/roqua/following{/other_user}","gists_url":"https://api.github.com/users/roqua/gists{/gist_id}","starred_url":"https://api.github.com/users/roqua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roqua/subscriptions","organizations_url":"https://api.github.com/users/roqua/orgs","repos_url":"https://api.github.com/users/roqua/repos","events_url":"https://api.github.com/users/roqua/events{/privacy}","received_events_url":"https://api.github.com/users/roqua/received_events","type":"Organization","site_admin":false},"repo":{"id":4905239,"name":"quby_engine","full_name":"roqua/quby_engine","owner":{"login":"roqua","id":598697,"avatar_url":"https://avatars.githubusercontent.com/u/598697?v=3","gravatar_id":"","url":"https://api.github.com/users/roqua","html_url":"https://github.com/roqua","followers_url":"https://api.github.com/users/roqua/followers","following_url":"https://api.github.com/users/roqua/following{/other_user}","gists_url":"https://api.github.com/users/roqua/gists{/gist_id}","starred_url":"https://api.github.com/users/roqua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roqua/subscriptions","organizations_url":"https://api.github.com/users/roqua/orgs","repos_url":"https://api.github.com/users/roqua/repos","events_url":"https://api.github.com/users/roqua/events{/privacy}","received_events_url":"https://api.github.com/users/roqua/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/roqua/quby_engine","description":"Rails Engine to let people edit answers for questionnaires","fork":false,"url":"https://api.github.com/repos/roqua/quby_engine","forks_url":"https://api.github.com/repos/roqua/quby_engine/forks","keys_url":"https://api.github.com/repos/roqua/quby_engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/roqua/quby_engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/roqua/quby_engine/teams","hooks_url":"https://api.github.com/repos/roqua/quby_engine/hooks","issue_events_url":"https://api.github.com/repos/roqua/quby_engine/issues/events{/number}","events_url":"https://api.github.com/repos/roqua/quby_engine/events","assignees_url":"https://api.github.com/repos/roqua/quby_engine/assignees{/user}","branches_url":"https://api.github.com/repos/roqua/quby_engine/branches{/branch}","tags_url":"https://api.github.com/repos/roqua/quby_engine/tags","blobs_url":"https://api.github.com/repos/roqua/quby_engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/roqua/quby_engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/roqua/quby_engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/roqua/quby_engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/roqua/quby_engine/statuses/{sha}","languages_url":"https://api.github.com/repos/roqua/quby_engine/languages","stargazers_url":"https://api.github.com/repos/roqua/quby_engine/stargazers","contributors_url":"https://api.github.com/repos/roqua/quby_engine/contributors","subscribers_url":"https://api.github.com/repos/roqua/quby_engine/subscribers","subscription_url":"https://api.github.com/repos/roqua/quby_engine/subscription","commits_url":"https://api.github.com/repos/roqua/quby_engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/roqua/quby_engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/roqua/quby_engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/roqua/quby_engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/roqua/quby_engine/contents/{+path}","compare_url":"https://api.github.com/repos/roqua/quby_engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/roqua/quby_engine/merges","archive_url":"https://api.github.com/repos/roqua/quby_engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/roqua/quby_engine/downloads","issues_url":"https://api.github.com/repos/roqua/quby_engine/issues{/number}","pulls_url":"https://api.github.com/repos/roqua/quby_engine/pulls{/number}","milestones_url":"https://api.github.com/repos/roqua/quby_engine/milestones{/number}","notifications_url":"https://api.github.com/repos/roqua/quby_engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/roqua/quby_engine/labels{/name}","releases_url":"https://api.github.com/repos/roqua/quby_engine/releases{/id}","created_at":"2012-07-05T12:01:01Z","updated_at":"2015-05-04T15:48:34Z","pushed_at":"2015-12-16T15:57:47Z","git_url":"git://github.com/roqua/quby_engine.git","ssh_url":"git@github.com:roqua/quby_engine.git","clone_url":"https://github.com/roqua/quby_engine.git","svn_url":"https://github.com/roqua/quby_engine","homepage":null,"size":13387,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":2,"default_branch":"master"}},"base":{"label":"roqua:master","ref":"master","sha":"f09a24b05277f554225404cafe673b95a7ace97b","user":{"login":"roqua","id":598697,"avatar_url":"https://avatars.githubusercontent.com/u/598697?v=3","gravatar_id":"","url":"https://api.github.com/users/roqua","html_url":"https://github.com/roqua","followers_url":"https://api.github.com/users/roqua/followers","following_url":"https://api.github.com/users/roqua/following{/other_user}","gists_url":"https://api.github.com/users/roqua/gists{/gist_id}","starred_url":"https://api.github.com/users/roqua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roqua/subscriptions","organizations_url":"https://api.github.com/users/roqua/orgs","repos_url":"https://api.github.com/users/roqua/repos","events_url":"https://api.github.com/users/roqua/events{/privacy}","received_events_url":"https://api.github.com/users/roqua/received_events","type":"Organization","site_admin":false},"repo":{"id":4905239,"name":"quby_engine","full_name":"roqua/quby_engine","owner":{"login":"roqua","id":598697,"avatar_url":"https://avatars.githubusercontent.com/u/598697?v=3","gravatar_id":"","url":"https://api.github.com/users/roqua","html_url":"https://github.com/roqua","followers_url":"https://api.github.com/users/roqua/followers","following_url":"https://api.github.com/users/roqua/following{/other_user}","gists_url":"https://api.github.com/users/roqua/gists{/gist_id}","starred_url":"https://api.github.com/users/roqua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roqua/subscriptions","organizations_url":"https://api.github.com/users/roqua/orgs","repos_url":"https://api.github.com/users/roqua/repos","events_url":"https://api.github.com/users/roqua/events{/privacy}","received_events_url":"https://api.github.com/users/roqua/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/roqua/quby_engine","description":"Rails Engine to let people edit answers for questionnaires","fork":false,"url":"https://api.github.com/repos/roqua/quby_engine","forks_url":"https://api.github.com/repos/roqua/quby_engine/forks","keys_url":"https://api.github.com/repos/roqua/quby_engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/roqua/quby_engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/roqua/quby_engine/teams","hooks_url":"https://api.github.com/repos/roqua/quby_engine/hooks","issue_events_url":"https://api.github.com/repos/roqua/quby_engine/issues/events{/number}","events_url":"https://api.github.com/repos/roqua/quby_engine/events","assignees_url":"https://api.github.com/repos/roqua/quby_engine/assignees{/user}","branches_url":"https://api.github.com/repos/roqua/quby_engine/branches{/branch}","tags_url":"https://api.github.com/repos/roqua/quby_engine/tags","blobs_url":"https://api.github.com/repos/roqua/quby_engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/roqua/quby_engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/roqua/quby_engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/roqua/quby_engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/roqua/quby_engine/statuses/{sha}","languages_url":"https://api.github.com/repos/roqua/quby_engine/languages","stargazers_url":"https://api.github.com/repos/roqua/quby_engine/stargazers","contributors_url":"https://api.github.com/repos/roqua/quby_engine/contributors","subscribers_url":"https://api.github.com/repos/roqua/quby_engine/subscribers","subscription_url":"https://api.github.com/repos/roqua/quby_engine/subscription","commits_url":"https://api.github.com/repos/roqua/quby_engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/roqua/quby_engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/roqua/quby_engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/roqua/quby_engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/roqua/quby_engine/contents/{+path}","compare_url":"https://api.github.com/repos/roqua/quby_engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/roqua/quby_engine/merges","archive_url":"https://api.github.com/repos/roqua/quby_engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/roqua/quby_engine/downloads","issues_url":"https://api.github.com/repos/roqua/quby_engine/issues{/number}","pulls_url":"https://api.github.com/repos/roqua/quby_engine/pulls{/number}","milestones_url":"https://api.github.com/repos/roqua/quby_engine/milestones{/number}","notifications_url":"https://api.github.com/repos/roqua/quby_engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/roqua/quby_engine/labels{/name}","releases_url":"https://api.github.com/repos/roqua/quby_engine/releases{/id}","created_at":"2012-07-05T12:01:01Z","updated_at":"2015-05-04T15:48:34Z","pushed_at":"2015-12-16T15:57:47Z","git_url":"git://github.com/roqua/quby_engine.git","ssh_url":"git@github.com:roqua/quby_engine.git","clone_url":"https://github.com/roqua/quby_engine.git","svn_url":"https://github.com/roqua/quby_engine","homepage":null,"size":13387,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/roqua/quby_engine/pulls/137"},"html":{"href":"https://github.com/roqua/quby_engine/pull/137"},"issue":{"href":"https://api.github.com/repos/roqua/quby_engine/issues/137"},"comments":{"href":"https://api.github.com/repos/roqua/quby_engine/issues/137/comments"},"review_comments":{"href":"https://api.github.com/repos/roqua/quby_engine/pulls/137/comments"},"review_comment":{"href":"https://api.github.com/repos/roqua/quby_engine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/roqua/quby_engine/pulls/137/commits"},"statuses":{"href":"https://api.github.com/repos/roqua/quby_engine/statuses/bfa1718b84ae1d1b746cecfd4cc9a4daaa083d67"}}}}