{"action":"opened","number":17,"pull_request":{"url":"https://api.github.com/repos/normative/generator-hapi-service/pulls/17","id":30311606,"html_url":"https://github.com/normative/generator-hapi-service/pull/17","diff_url":"https://github.com/normative/generator-hapi-service/pull/17.diff","patch_url":"https://github.com/normative/generator-hapi-service/pull/17.patch","issue_url":"https://api.github.com/repos/normative/generator-hapi-service/issues/17","number":17,"state":"open","locked":false,"title":"Getting carried away with controllers...","user":{"login":"thody","id":30611,"avatar_url":"https://avatars.githubusercontent.com/u/30611?v=3","gravatar_id":"","url":"https://api.github.com/users/thody","html_url":"https://github.com/thody","followers_url":"https://api.github.com/users/thody/followers","following_url":"https://api.github.com/users/thody/following{/other_user}","gists_url":"https://api.github.com/users/thody/gists{/gist_id}","starred_url":"https://api.github.com/users/thody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thody/subscriptions","organizations_url":"https://api.github.com/users/thody/orgs","repos_url":"https://api.github.com/users/thody/repos","events_url":"https://api.github.com/users/thody/events{/privacy}","received_events_url":"https://api.github.com/users/thody/received_events","type":"User","site_admin":false},"body":"Sorry in advance, little too much going on in this PR.\r\n\r\n- moves to route definition style that keeps route config closer to handler\r\n- simplifies scaffold generated by controller sub-generator to lessen tweaking that goes on after generation\r\n- removes imposing a specific project directory structure by generating controllers in the cwd\r\n- breaks test generation out into a separate sub-generator","created_at":"2015-03-02T19:19:45Z","updated_at":"2015-03-02T19:19:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/normative/generator-hapi-service/pulls/17/commits","review_comments_url":"https://api.github.com/repos/normative/generator-hapi-service/pulls/17/comments","review_comment_url":"https://api.github.com/repos/normative/generator-hapi-service/pulls/comments{/number}","comments_url":"https://api.github.com/repos/normative/generator-hapi-service/issues/17/comments","statuses_url":"https://api.github.com/repos/normative/generator-hapi-service/statuses/7ab7e572b6528e26a9fd62c55b07859178a95595","head":{"label":"thody:controllers","ref":"controllers","sha":"7ab7e572b6528e26a9fd62c55b07859178a95595","user":{"login":"thody","id":30611,"avatar_url":"https://avatars.githubusercontent.com/u/30611?v=3","gravatar_id":"","url":"https://api.github.com/users/thody","html_url":"https://github.com/thody","followers_url":"https://api.github.com/users/thody/followers","following_url":"https://api.github.com/users/thody/following{/other_user}","gists_url":"https://api.github.com/users/thody/gists{/gist_id}","starred_url":"https://api.github.com/users/thody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thody/subscriptions","organizations_url":"https://api.github.com/users/thody/orgs","repos_url":"https://api.github.com/users/thody/repos","events_url":"https://api.github.com/users/thody/events{/privacy}","received_events_url":"https://api.github.com/users/thody/received_events","type":"User","site_admin":false},"repo":{"id":31497663,"name":"generator-hapi-service","full_name":"thody/generator-hapi-service","owner":{"login":"thody","id":30611,"avatar_url":"https://avatars.githubusercontent.com/u/30611?v=3","gravatar_id":"","url":"https://api.github.com/users/thody","html_url":"https://github.com/thody","followers_url":"https://api.github.com/users/thody/followers","following_url":"https://api.github.com/users/thody/following{/other_user}","gists_url":"https://api.github.com/users/thody/gists{/gist_id}","starred_url":"https://api.github.com/users/thody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thody/subscriptions","organizations_url":"https://api.github.com/users/thody/orgs","repos_url":"https://api.github.com/users/thody/repos","events_url":"https://api.github.com/users/thody/events{/privacy}","received_events_url":"https://api.github.com/users/thody/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thody/generator-hapi-service","description":"Hapi API Yeoman Generator","fork":true,"url":"https://api.github.com/repos/thody/generator-hapi-service","forks_url":"https://api.github.com/repos/thody/generator-hapi-service/forks","keys_url":"https://api.github.com/repos/thody/generator-hapi-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thody/generator-hapi-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thody/generator-hapi-service/teams","hooks_url":"https://api.github.com/repos/thody/generator-hapi-service/hooks","issue_events_url":"https://api.github.com/repos/thody/generator-hapi-service/issues/events{/number}","events_url":"https://api.github.com/repos/thody/generator-hapi-service/events","assignees_url":"https://api.github.com/repos/thody/generator-hapi-service/assignees{/user}","branches_url":"https://api.github.com/repos/thody/generator-hapi-service/branches{/branch}","tags_url":"https://api.github.com/repos/thody/generator-hapi-service/tags","blobs_url":"https://api.github.com/repos/thody/generator-hapi-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thody/generator-hapi-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thody/generator-hapi-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/thody/generator-hapi-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thody/generator-hapi-service/statuses/{sha}","languages_url":"https://api.github.com/repos/thody/generator-hapi-service/languages","stargazers_url":"https://api.github.com/repos/thody/generator-hapi-service/stargazers","contributors_url":"https://api.github.com/repos/thody/generator-hapi-service/contributors","subscribers_url":"https://api.github.com/repos/thody/generator-hapi-service/subscribers","subscription_url":"https://api.github.com/repos/thody/generator-hapi-service/subscription","commits_url":"https://api.github.com/repos/thody/generator-hapi-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/thody/generator-hapi-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/thody/generator-hapi-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/thody/generator-hapi-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/thody/generator-hapi-service/contents/{+path}","compare_url":"https://api.github.com/repos/thody/generator-hapi-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thody/generator-hapi-service/merges","archive_url":"https://api.github.com/repos/thody/generator-hapi-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thody/generator-hapi-service/downloads","issues_url":"https://api.github.com/repos/thody/generator-hapi-service/issues{/number}","pulls_url":"https://api.github.com/repos/thody/generator-hapi-service/pulls{/number}","milestones_url":"https://api.github.com/repos/thody/generator-hapi-service/milestones{/number}","notifications_url":"https://api.github.com/repos/thody/generator-hapi-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thody/generator-hapi-service/labels{/name}","releases_url":"https://api.github.com/repos/thody/generator-hapi-service/releases{/id}","created_at":"2015-03-01T13:44:29Z","updated_at":"2015-03-01T16:48:44Z","pushed_at":"2015-03-02T19:14:35Z","git_url":"git://github.com/thody/generator-hapi-service.git","ssh_url":"git@github.com:thody/generator-hapi-service.git","clone_url":"https://github.com/thody/generator-hapi-service.git","svn_url":"https://github.com/thody/generator-hapi-service","homepage":null,"size":203,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"normative:master","ref":"master","sha":"ef04fc17fa819db8f4a161986aa07fe0d77ba925","user":{"login":"normative","id":370933,"avatar_url":"https://avatars.githubusercontent.com/u/370933?v=3","gravatar_id":"","url":"https://api.github.com/users/normative","html_url":"https://github.com/normative","followers_url":"https://api.github.com/users/normative/followers","following_url":"https://api.github.com/users/normative/following{/other_user}","gists_url":"https://api.github.com/users/normative/gists{/gist_id}","starred_url":"https://api.github.com/users/normative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normative/subscriptions","organizations_url":"https://api.github.com/users/normative/orgs","repos_url":"https://api.github.com/users/normative/repos","events_url":"https://api.github.com/users/normative/events{/privacy}","received_events_url":"https://api.github.com/users/normative/received_events","type":"Organization","site_admin":false},"repo":{"id":30661586,"name":"generator-hapi-service","full_name":"normative/generator-hapi-service","owner":{"login":"normative","id":370933,"avatar_url":"https://avatars.githubusercontent.com/u/370933?v=3","gravatar_id":"","url":"https://api.github.com/users/normative","html_url":"https://github.com/normative","followers_url":"https://api.github.com/users/normative/followers","following_url":"https://api.github.com/users/normative/following{/other_user}","gists_url":"https://api.github.com/users/normative/gists{/gist_id}","starred_url":"https://api.github.com/users/normative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normative/subscriptions","organizations_url":"https://api.github.com/users/normative/orgs","repos_url":"https://api.github.com/users/normative/repos","events_url":"https://api.github.com/users/normative/events{/privacy}","received_events_url":"https://api.github.com/users/normative/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/normative/generator-hapi-service","description":"Yeoman Generator for hapi.js services","fork":false,"url":"https://api.github.com/repos/normative/generator-hapi-service","forks_url":"https://api.github.com/repos/normative/generator-hapi-service/forks","keys_url":"https://api.github.com/repos/normative/generator-hapi-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/normative/generator-hapi-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/normative/generator-hapi-service/teams","hooks_url":"https://api.github.com/repos/normative/generator-hapi-service/hooks","issue_events_url":"https://api.github.com/repos/normative/generator-hapi-service/issues/events{/number}","events_url":"https://api.github.com/repos/normative/generator-hapi-service/events","assignees_url":"https://api.github.com/repos/normative/generator-hapi-service/assignees{/user}","branches_url":"https://api.github.com/repos/normative/generator-hapi-service/branches{/branch}","tags_url":"https://api.github.com/repos/normative/generator-hapi-service/tags","blobs_url":"https://api.github.com/repos/normative/generator-hapi-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/normative/generator-hapi-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/normative/generator-hapi-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/normative/generator-hapi-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/normative/generator-hapi-service/statuses/{sha}","languages_url":"https://api.github.com/repos/normative/generator-hapi-service/languages","stargazers_url":"https://api.github.com/repos/normative/generator-hapi-service/stargazers","contributors_url":"https://api.github.com/repos/normative/generator-hapi-service/contributors","subscribers_url":"https://api.github.com/repos/normative/generator-hapi-service/subscribers","subscription_url":"https://api.github.com/repos/normative/generator-hapi-service/subscription","commits_url":"https://api.github.com/repos/normative/generator-hapi-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/normative/generator-hapi-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/normative/generator-hapi-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/normative/generator-hapi-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/normative/generator-hapi-service/contents/{+path}","compare_url":"https://api.github.com/repos/normative/generator-hapi-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/normative/generator-hapi-service/merges","archive_url":"https://api.github.com/repos/normative/generator-hapi-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/normative/generator-hapi-service/downloads","issues_url":"https://api.github.com/repos/normative/generator-hapi-service/issues{/number}","pulls_url":"https://api.github.com/repos/normative/generator-hapi-service/pulls{/number}","milestones_url":"https://api.github.com/repos/normative/generator-hapi-service/milestones{/number}","notifications_url":"https://api.github.com/repos/normative/generator-hapi-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/normative/generator-hapi-service/labels{/name}","releases_url":"https://api.github.com/repos/normative/generator-hapi-service/releases{/id}","created_at":"2015-02-11T18:01:00Z","updated_at":"2015-03-01T17:16:25Z","pushed_at":"2015-03-01T17:16:25Z","git_url":"git://github.com/normative/generator-hapi-service.git","ssh_url":"git@github.com:normative/generator-hapi-service.git","clone_url":"https://github.com/normative/generator-hapi-service.git","svn_url":"https://github.com/normative/generator-hapi-service","homepage":"","size":203,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/normative/generator-hapi-service/pulls/17"},"html":{"href":"https://github.com/normative/generator-hapi-service/pull/17"},"issue":{"href":"https://api.github.com/repos/normative/generator-hapi-service/issues/17"},"comments":{"href":"https://api.github.com/repos/normative/generator-hapi-service/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/normative/generator-hapi-service/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/normative/generator-hapi-service/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/normative/generator-hapi-service/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/normative/generator-hapi-service/statuses/7ab7e572b6528e26a9fd62c55b07859178a95595"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":66,"deletions":107,"changed_files":6}}