{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/FreeAllMedia/stimpak/pulls/3","id":70163807,"html_url":"https://github.com/FreeAllMedia/stimpak/pull/3","diff_url":"https://github.com/FreeAllMedia/stimpak/pull/3.diff","patch_url":"https://github.com/FreeAllMedia/stimpak/pull/3.patch","issue_url":"https://api.github.com/repos/FreeAllMedia/stimpak/issues/3","number":3,"state":"closed","locked":false,"title":"Add support for locally installed generator modules.","user":{"login":"danielwippermann","id":1997538,"avatar_url":"https://avatars.githubusercontent.com/u/1997538?v=3","gravatar_id":"","url":"https://api.github.com/users/danielwippermann","html_url":"https://github.com/danielwippermann","followers_url":"https://api.github.com/users/danielwippermann/followers","following_url":"https://api.github.com/users/danielwippermann/following{/other_user}","gists_url":"https://api.github.com/users/danielwippermann/gists{/gist_id}","starred_url":"https://api.github.com/users/danielwippermann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielwippermann/subscriptions","organizations_url":"https://api.github.com/users/danielwippermann/orgs","repos_url":"https://api.github.com/users/danielwippermann/repos","events_url":"https://api.github.com/users/danielwippermann/events{/privacy}","received_events_url":"https://api.github.com/users/danielwippermann/received_events","type":"User","site_admin":false},"body":"This commit extends the CLI generator module search functionality\r\nto also look in the current working directory. That way users\r\nof stimpak can install the generator locally before running\r\nthe stimpak CLI.\r\n\r\nIt also refactors the CLI spec setup (creating directories and\r\nsymlinks) into a separate helper module to be able to use it in\r\ndifferent specs.\r\n\r\nThe factored out CLI spec setup uses a slightly different directory\r\nlayout. Previously the test only passed, because the test generators\r\nwhere symlinked into \"((stimpak-path))/node_modules/stimpak-test-((x))\"\r\nwhich is most probably not the case on end-user systems. The\r\nrefactored CLI spec setup \"simulates\" installing \"stimpak\" and some\r\ntest generators pseudo-globally  and some test generators locally to\r\nthe end user project directory.","created_at":"2016-05-16T08:14:46Z","updated_at":"2016-05-17T23:28:26Z","closed_at":"2016-05-17T23:28:26Z","merged_at":"2016-05-17T23:28:26Z","merge_commit_sha":"860ecf19156f0d4d3d1e248c51b4d0bd5a738309","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FreeAllMedia/stimpak/pulls/3/commits","review_comments_url":"https://api.github.com/repos/FreeAllMedia/stimpak/pulls/3/comments","review_comment_url":"https://api.github.com/repos/FreeAllMedia/stimpak/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FreeAllMedia/stimpak/issues/3/comments","statuses_url":"https://api.github.com/repos/FreeAllMedia/stimpak/statuses/e59c0be67429cd3902218e1f93be9b93cf8a0f34","head":{"label":"danielwippermann:feature/cli-local-require","ref":"feature/cli-local-require","sha":"e59c0be67429cd3902218e1f93be9b93cf8a0f34","user":{"login":"danielwippermann","id":1997538,"avatar_url":"https://avatars.githubusercontent.com/u/1997538?v=3","gravatar_id":"","url":"https://api.github.com/users/danielwippermann","html_url":"https://github.com/danielwippermann","followers_url":"https://api.github.com/users/danielwippermann/followers","following_url":"https://api.github.com/users/danielwippermann/following{/other_user}","gists_url":"https://api.github.com/users/danielwippermann/gists{/gist_id}","starred_url":"https://api.github.com/users/danielwippermann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielwippermann/subscriptions","organizations_url":"https://api.github.com/users/danielwippermann/orgs","repos_url":"https://api.github.com/users/danielwippermann/repos","events_url":"https://api.github.com/users/danielwippermann/events{/privacy}","received_events_url":"https://api.github.com/users/danielwippermann/received_events","type":"User","site_admin":false},"repo":{"id":58730878,"name":"stimpak","full_name":"danielwippermann/stimpak","owner":{"login":"danielwippermann","id":1997538,"avatar_url":"https://avatars.githubusercontent.com/u/1997538?v=3","gravatar_id":"","url":"https://api.github.com/users/danielwippermann","html_url":"https://github.com/danielwippermann","followers_url":"https://api.github.com/users/danielwippermann/followers","following_url":"https://api.github.com/users/danielwippermann/following{/other_user}","gists_url":"https://api.github.com/users/danielwippermann/gists{/gist_id}","starred_url":"https://api.github.com/users/danielwippermann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielwippermann/subscriptions","organizations_url":"https://api.github.com/users/danielwippermann/orgs","repos_url":"https://api.github.com/users/danielwippermann/repos","events_url":"https://api.github.com/users/danielwippermann/events{/privacy}","received_events_url":"https://api.github.com/users/danielwippermann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danielwippermann/stimpak","description":"(Re)Generate code for projects with ease!","fork":true,"url":"https://api.github.com/repos/danielwippermann/stimpak","forks_url":"https://api.github.com/repos/danielwippermann/stimpak/forks","keys_url":"https://api.github.com/repos/danielwippermann/stimpak/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danielwippermann/stimpak/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danielwippermann/stimpak/teams","hooks_url":"https://api.github.com/repos/danielwippermann/stimpak/hooks","issue_events_url":"https://api.github.com/repos/danielwippermann/stimpak/issues/events{/number}","events_url":"https://api.github.com/repos/danielwippermann/stimpak/events","assignees_url":"https://api.github.com/repos/danielwippermann/stimpak/assignees{/user}","branches_url":"https://api.github.com/repos/danielwippermann/stimpak/branches{/branch}","tags_url":"https://api.github.com/repos/danielwippermann/stimpak/tags","blobs_url":"https://api.github.com/repos/danielwippermann/stimpak/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danielwippermann/stimpak/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danielwippermann/stimpak/git/refs{/sha}","trees_url":"https://api.github.com/repos/danielwippermann/stimpak/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danielwippermann/stimpak/statuses/{sha}","languages_url":"https://api.github.com/repos/danielwippermann/stimpak/languages","stargazers_url":"https://api.github.com/repos/danielwippermann/stimpak/stargazers","contributors_url":"https://api.github.com/repos/danielwippermann/stimpak/contributors","subscribers_url":"https://api.github.com/repos/danielwippermann/stimpak/subscribers","subscription_url":"https://api.github.com/repos/danielwippermann/stimpak/subscription","commits_url":"https://api.github.com/repos/danielwippermann/stimpak/commits{/sha}","git_commits_url":"https://api.github.com/repos/danielwippermann/stimpak/git/commits{/sha}","comments_url":"https://api.github.com/repos/danielwippermann/stimpak/comments{/number}","issue_comment_url":"https://api.github.com/repos/danielwippermann/stimpak/issues/comments{/number}","contents_url":"https://api.github.com/repos/danielwippermann/stimpak/contents/{+path}","compare_url":"https://api.github.com/repos/danielwippermann/stimpak/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danielwippermann/stimpak/merges","archive_url":"https://api.github.com/repos/danielwippermann/stimpak/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danielwippermann/stimpak/downloads","issues_url":"https://api.github.com/repos/danielwippermann/stimpak/issues{/number}","pulls_url":"https://api.github.com/repos/danielwippermann/stimpak/pulls{/number}","milestones_url":"https://api.github.com/repos/danielwippermann/stimpak/milestones{/number}","notifications_url":"https://api.github.com/repos/danielwippermann/stimpak/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danielwippermann/stimpak/labels{/name}","releases_url":"https://api.github.com/repos/danielwippermann/stimpak/releases{/id}","deployments_url":"https://api.github.com/repos/danielwippermann/stimpak/deployments","created_at":"2016-05-13T10:50:48Z","updated_at":"2016-05-13T10:50:49Z","pushed_at":"2016-05-17T18:19:54Z","git_url":"git://github.com/danielwippermann/stimpak.git","ssh_url":"git@github.com:danielwippermann/stimpak.git","clone_url":"https://github.com/danielwippermann/stimpak.git","svn_url":"https://github.com/danielwippermann/stimpak","homepage":null,"size":94,"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":"develop"}},"base":{"label":"FreeAllMedia:feature/cli","ref":"feature/cli","sha":"a9bd95ef952bbab1b5ceaba35b2560c25089d43f","user":{"login":"FreeAllMedia","id":6484409,"avatar_url":"https://avatars.githubusercontent.com/u/6484409?v=3","gravatar_id":"","url":"https://api.github.com/users/FreeAllMedia","html_url":"https://github.com/FreeAllMedia","followers_url":"https://api.github.com/users/FreeAllMedia/followers","following_url":"https://api.github.com/users/FreeAllMedia/following{/other_user}","gists_url":"https://api.github.com/users/FreeAllMedia/gists{/gist_id}","starred_url":"https://api.github.com/users/FreeAllMedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FreeAllMedia/subscriptions","organizations_url":"https://api.github.com/users/FreeAllMedia/orgs","repos_url":"https://api.github.com/users/FreeAllMedia/repos","events_url":"https://api.github.com/users/FreeAllMedia/events{/privacy}","received_events_url":"https://api.github.com/users/FreeAllMedia/received_events","type":"Organization","site_admin":false},"repo":{"id":57423445,"name":"stimpak","full_name":"FreeAllMedia/stimpak","owner":{"login":"FreeAllMedia","id":6484409,"avatar_url":"https://avatars.githubusercontent.com/u/6484409?v=3","gravatar_id":"","url":"https://api.github.com/users/FreeAllMedia","html_url":"https://github.com/FreeAllMedia","followers_url":"https://api.github.com/users/FreeAllMedia/followers","following_url":"https://api.github.com/users/FreeAllMedia/following{/other_user}","gists_url":"https://api.github.com/users/FreeAllMedia/gists{/gist_id}","starred_url":"https://api.github.com/users/FreeAllMedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FreeAllMedia/subscriptions","organizations_url":"https://api.github.com/users/FreeAllMedia/orgs","repos_url":"https://api.github.com/users/FreeAllMedia/repos","events_url":"https://api.github.com/users/FreeAllMedia/events{/privacy}","received_events_url":"https://api.github.com/users/FreeAllMedia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FreeAllMedia/stimpak","description":"(Re)Generate code for projects with ease!","fork":false,"url":"https://api.github.com/repos/FreeAllMedia/stimpak","forks_url":"https://api.github.com/repos/FreeAllMedia/stimpak/forks","keys_url":"https://api.github.com/repos/FreeAllMedia/stimpak/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FreeAllMedia/stimpak/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FreeAllMedia/stimpak/teams","hooks_url":"https://api.github.com/repos/FreeAllMedia/stimpak/hooks","issue_events_url":"https://api.github.com/repos/FreeAllMedia/stimpak/issues/events{/number}","events_url":"https://api.github.com/repos/FreeAllMedia/stimpak/events","assignees_url":"https://api.github.com/repos/FreeAllMedia/stimpak/assignees{/user}","branches_url":"https://api.github.com/repos/FreeAllMedia/stimpak/branches{/branch}","tags_url":"https://api.github.com/repos/FreeAllMedia/stimpak/tags","blobs_url":"https://api.github.com/repos/FreeAllMedia/stimpak/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FreeAllMedia/stimpak/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FreeAllMedia/stimpak/git/refs{/sha}","trees_url":"https://api.github.com/repos/FreeAllMedia/stimpak/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FreeAllMedia/stimpak/statuses/{sha}","languages_url":"https://api.github.com/repos/FreeAllMedia/stimpak/languages","stargazers_url":"https://api.github.com/repos/FreeAllMedia/stimpak/stargazers","contributors_url":"https://api.github.com/repos/FreeAllMedia/stimpak/contributors","subscribers_url":"https://api.github.com/repos/FreeAllMedia/stimpak/subscribers","subscription_url":"https://api.github.com/repos/FreeAllMedia/stimpak/subscription","commits_url":"https://api.github.com/repos/FreeAllMedia/stimpak/commits{/sha}","git_commits_url":"https://api.github.com/repos/FreeAllMedia/stimpak/git/commits{/sha}","comments_url":"https://api.github.com/repos/FreeAllMedia/stimpak/comments{/number}","issue_comment_url":"https://api.github.com/repos/FreeAllMedia/stimpak/issues/comments{/number}","contents_url":"https://api.github.com/repos/FreeAllMedia/stimpak/contents/{+path}","compare_url":"https://api.github.com/repos/FreeAllMedia/stimpak/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FreeAllMedia/stimpak/merges","archive_url":"https://api.github.com/repos/FreeAllMedia/stimpak/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FreeAllMedia/stimpak/downloads","issues_url":"https://api.github.com/repos/FreeAllMedia/stimpak/issues{/number}","pulls_url":"https://api.github.com/repos/FreeAllMedia/stimpak/pulls{/number}","milestones_url":"https://api.github.com/repos/FreeAllMedia/stimpak/milestones{/number}","notifications_url":"https://api.github.com/repos/FreeAllMedia/stimpak/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FreeAllMedia/stimpak/labels{/name}","releases_url":"https://api.github.com/repos/FreeAllMedia/stimpak/releases{/id}","deployments_url":"https://api.github.com/repos/FreeAllMedia/stimpak/deployments","created_at":"2016-04-30T02:20:39Z","updated_at":"2016-05-12T17:04:31Z","pushed_at":"2016-05-17T23:28:26Z","git_url":"git://github.com/FreeAllMedia/stimpak.git","ssh_url":"git@github.com:FreeAllMedia/stimpak.git","clone_url":"https://github.com/FreeAllMedia/stimpak.git","svn_url":"https://github.com/FreeAllMedia/stimpak","homepage":null,"size":90,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/FreeAllMedia/stimpak/pulls/3"},"html":{"href":"https://github.com/FreeAllMedia/stimpak/pull/3"},"issue":{"href":"https://api.github.com/repos/FreeAllMedia/stimpak/issues/3"},"comments":{"href":"https://api.github.com/repos/FreeAllMedia/stimpak/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/FreeAllMedia/stimpak/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/FreeAllMedia/stimpak/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FreeAllMedia/stimpak/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/FreeAllMedia/stimpak/statuses/e59c0be67429cd3902218e1f93be9b93cf8a0f34"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dcrockwell","id":53482,"avatar_url":"https://avatars.githubusercontent.com/u/53482?v=3","gravatar_id":"","url":"https://api.github.com/users/dcrockwell","html_url":"https://github.com/dcrockwell","followers_url":"https://api.github.com/users/dcrockwell/followers","following_url":"https://api.github.com/users/dcrockwell/following{/other_user}","gists_url":"https://api.github.com/users/dcrockwell/gists{/gist_id}","starred_url":"https://api.github.com/users/dcrockwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcrockwell/subscriptions","organizations_url":"https://api.github.com/users/dcrockwell/orgs","repos_url":"https://api.github.com/users/dcrockwell/repos","events_url":"https://api.github.com/users/dcrockwell/events{/privacy}","received_events_url":"https://api.github.com/users/dcrockwell/received_events","type":"User","site_admin":false},"comments":3,"review_comments":1,"commits":2,"additions":250,"deletions":274,"changed_files":10}}