{"action":"created","comment":{"url":"https://api.github.com/repos/codeclimate/codeclimate/pulls/comments/33303399","id":33303399,"diff_hunk":"@@ -70,7 +72,7 @@ def engines\n         @engines ||= config.engine_names.map do |engine_name|\n           Engine.new(\n             engine_name,\n-            engine_registry[engine_name],\n+            @dev_mode ? make_registry_entry(engine_name) : engine_registry[engine_name],","path":"lib/cc/cli/analyze.rb","position":14,"original_position":14,"commit_id":"b3a358fb34c5ae600e49c9fd934f18de4795b6e5","original_commit_id":"b3a358fb34c5ae600e49c9fd934f18de4795b6e5","user":{"login":"mrb","id":2878,"avatar_url":"https://avatars.githubusercontent.com/u/2878?v=3","gravatar_id":"","url":"https://api.github.com/users/mrb","html_url":"https://github.com/mrb","followers_url":"https://api.github.com/users/mrb/followers","following_url":"https://api.github.com/users/mrb/following{/other_user}","gists_url":"https://api.github.com/users/mrb/gists{/gist_id}","starred_url":"https://api.github.com/users/mrb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrb/subscriptions","organizations_url":"https://api.github.com/users/mrb/orgs","repos_url":"https://api.github.com/users/mrb/repos","events_url":"https://api.github.com/users/mrb/events{/privacy}","received_events_url":"https://api.github.com/users/mrb/received_events","type":"User","site_admin":false},"body":"Can do.","created_at":"2015-06-25T20:50:42Z","updated_at":"2015-06-25T20:50:42Z","html_url":"https://github.com/codeclimate/codeclimate/pull/31#discussion_r33303399","pull_request_url":"https://api.github.com/repos/codeclimate/codeclimate/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/codeclimate/codeclimate/pulls/comments/33303399"},"html":{"href":"https://github.com/codeclimate/codeclimate/pull/31#discussion_r33303399"},"pull_request":{"href":"https://api.github.com/repos/codeclimate/codeclimate/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/codeclimate/codeclimate/pulls/31","id":38590606,"html_url":"https://github.com/codeclimate/codeclimate/pull/31","diff_url":"https://github.com/codeclimate/codeclimate/pull/31.diff","patch_url":"https://github.com/codeclimate/codeclimate/pull/31.patch","issue_url":"https://api.github.com/repos/codeclimate/codeclimate/issues/31","number":31,"state":"open","locked":false,"title":"Add -dev flag to analyze command","user":{"login":"mrb","id":2878,"avatar_url":"https://avatars.githubusercontent.com/u/2878?v=3","gravatar_id":"","url":"https://api.github.com/users/mrb","html_url":"https://github.com/mrb","followers_url":"https://api.github.com/users/mrb/followers","following_url":"https://api.github.com/users/mrb/following{/other_user}","gists_url":"https://api.github.com/users/mrb/gists{/gist_id}","starred_url":"https://api.github.com/users/mrb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrb/subscriptions","organizations_url":"https://api.github.com/users/mrb/orgs","repos_url":"https://api.github.com/users/mrb/repos","events_url":"https://api.github.com/users/mrb/events{/privacy}","received_events_url":"https://api.github.com/users/mrb/received_events","type":"User","site_admin":false},"body":"Adds `-dev` flag to analyze command. Allows for easy local testing with CLI during engine hacking. Steps to test your in-progress engine locally with the CLI now become:\r\n\r\n1. Add the engine name to the `.codeclimate.yml` file in the project you wish to analyze\r\n2. Run `codeclimate analyze -dev` in that directory\r\n\r\nThe CLI will look for `codecliamte/codeclimate-YOUR_ENGINE_NAME:latest` in the Docker registry.\r\n\r\n![screenshot 2015-06-25 16 37 13](https://cloud.githubusercontent.com/assets/2878/8365058/b92d974a-1b58-11e5-8076-991f123a67f9.png)\r\n","created_at":"2015-06-25T20:39:05Z","updated_at":"2015-06-25T20:50:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f0013af7acd76680ca29e830c70029882a8809ce","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codeclimate/codeclimate/pulls/31/commits","review_comments_url":"https://api.github.com/repos/codeclimate/codeclimate/pulls/31/comments","review_comment_url":"https://api.github.com/repos/codeclimate/codeclimate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codeclimate/codeclimate/issues/31/comments","statuses_url":"https://api.github.com/repos/codeclimate/codeclimate/statuses/b3a358fb34c5ae600e49c9fd934f18de4795b6e5","head":{"label":"codeclimate:analyze_dev_mode","ref":"analyze_dev_mode","sha":"b3a358fb34c5ae600e49c9fd934f18de4795b6e5","user":{"login":"codeclimate","id":789641,"avatar_url":"https://avatars.githubusercontent.com/u/789641?v=3","gravatar_id":"","url":"https://api.github.com/users/codeclimate","html_url":"https://github.com/codeclimate","followers_url":"https://api.github.com/users/codeclimate/followers","following_url":"https://api.github.com/users/codeclimate/following{/other_user}","gists_url":"https://api.github.com/users/codeclimate/gists{/gist_id}","starred_url":"https://api.github.com/users/codeclimate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeclimate/subscriptions","organizations_url":"https://api.github.com/users/codeclimate/orgs","repos_url":"https://api.github.com/users/codeclimate/repos","events_url":"https://api.github.com/users/codeclimate/events{/privacy}","received_events_url":"https://api.github.com/users/codeclimate/received_events","type":"Organization","site_admin":false},"repo":{"id":37724576,"name":"codeclimate","full_name":"codeclimate/codeclimate","owner":{"login":"codeclimate","id":789641,"avatar_url":"https://avatars.githubusercontent.com/u/789641?v=3","gravatar_id":"","url":"https://api.github.com/users/codeclimate","html_url":"https://github.com/codeclimate","followers_url":"https://api.github.com/users/codeclimate/followers","following_url":"https://api.github.com/users/codeclimate/following{/other_user}","gists_url":"https://api.github.com/users/codeclimate/gists{/gist_id}","starred_url":"https://api.github.com/users/codeclimate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeclimate/subscriptions","organizations_url":"https://api.github.com/users/codeclimate/orgs","repos_url":"https://api.github.com/users/codeclimate/repos","events_url":"https://api.github.com/users/codeclimate/events{/privacy}","received_events_url":"https://api.github.com/users/codeclimate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codeclimate/codeclimate","description":"Code Climate CLI","fork":false,"url":"https://api.github.com/repos/codeclimate/codeclimate","forks_url":"https://api.github.com/repos/codeclimate/codeclimate/forks","keys_url":"https://api.github.com/repos/codeclimate/codeclimate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codeclimate/codeclimate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codeclimate/codeclimate/teams","hooks_url":"https://api.github.com/repos/codeclimate/codeclimate/hooks","issue_events_url":"https://api.github.com/repos/codeclimate/codeclimate/issues/events{/number}","events_url":"https://api.github.com/repos/codeclimate/codeclimate/events","assignees_url":"https://api.github.com/repos/codeclimate/codeclimate/assignees{/user}","branches_url":"https://api.github.com/repos/codeclimate/codeclimate/branches{/branch}","tags_url":"https://api.github.com/repos/codeclimate/codeclimate/tags","blobs_url":"https://api.github.com/repos/codeclimate/codeclimate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codeclimate/codeclimate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codeclimate/codeclimate/git/refs{/sha}","trees_url":"https://api.github.com/repos/codeclimate/codeclimate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codeclimate/codeclimate/statuses/{sha}","languages_url":"https://api.github.com/repos/codeclimate/codeclimate/languages","stargazers_url":"https://api.github.com/repos/codeclimate/codeclimate/stargazers","contributors_url":"https://api.github.com/repos/codeclimate/codeclimate/contributors","subscribers_url":"https://api.github.com/repos/codeclimate/codeclimate/subscribers","subscription_url":"https://api.github.com/repos/codeclimate/codeclimate/subscription","commits_url":"https://api.github.com/repos/codeclimate/codeclimate/commits{/sha}","git_commits_url":"https://api.github.com/repos/codeclimate/codeclimate/git/commits{/sha}","comments_url":"https://api.github.com/repos/codeclimate/codeclimate/comments{/number}","issue_comment_url":"https://api.github.com/repos/codeclimate/codeclimate/issues/comments{/number}","contents_url":"https://api.github.com/repos/codeclimate/codeclimate/contents/{+path}","compare_url":"https://api.github.com/repos/codeclimate/codeclimate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codeclimate/codeclimate/merges","archive_url":"https://api.github.com/repos/codeclimate/codeclimate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codeclimate/codeclimate/downloads","issues_url":"https://api.github.com/repos/codeclimate/codeclimate/issues{/number}","pulls_url":"https://api.github.com/repos/codeclimate/codeclimate/pulls{/number}","milestones_url":"https://api.github.com/repos/codeclimate/codeclimate/milestones{/number}","notifications_url":"https://api.github.com/repos/codeclimate/codeclimate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codeclimate/codeclimate/labels{/name}","releases_url":"https://api.github.com/repos/codeclimate/codeclimate/releases{/id}","created_at":"2015-06-19T13:54:41Z","updated_at":"2015-06-25T19:11:36Z","pushed_at":"2015-06-25T20:39:55Z","git_url":"git://github.com/codeclimate/codeclimate.git","ssh_url":"git@github.com:codeclimate/codeclimate.git","clone_url":"https://github.com/codeclimate/codeclimate.git","svn_url":"https://github.com/codeclimate/codeclimate","homepage":null,"size":592,"stargazers_count":321,"watchers_count":321,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":12,"forks":17,"open_issues":12,"watchers":321,"default_branch":"master"}},"base":{"label":"codeclimate:master","ref":"master","sha":"7ca72bb02fe407b05ae529e851b772f544b9a6d6","user":{"login":"codeclimate","id":789641,"avatar_url":"https://avatars.githubusercontent.com/u/789641?v=3","gravatar_id":"","url":"https://api.github.com/users/codeclimate","html_url":"https://github.com/codeclimate","followers_url":"https://api.github.com/users/codeclimate/followers","following_url":"https://api.github.com/users/codeclimate/following{/other_user}","gists_url":"https://api.github.com/users/codeclimate/gists{/gist_id}","starred_url":"https://api.github.com/users/codeclimate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeclimate/subscriptions","organizations_url":"https://api.github.com/users/codeclimate/orgs","repos_url":"https://api.github.com/users/codeclimate/repos","events_url":"https://api.github.com/users/codeclimate/events{/privacy}","received_events_url":"https://api.github.com/users/codeclimate/received_events","type":"Organization","site_admin":false},"repo":{"id":37724576,"name":"codeclimate","full_name":"codeclimate/codeclimate","owner":{"login":"codeclimate","id":789641,"avatar_url":"https://avatars.githubusercontent.com/u/789641?v=3","gravatar_id":"","url":"https://api.github.com/users/codeclimate","html_url":"https://github.com/codeclimate","followers_url":"https://api.github.com/users/codeclimate/followers","following_url":"https://api.github.com/users/codeclimate/following{/other_user}","gists_url":"https://api.github.com/users/codeclimate/gists{/gist_id}","starred_url":"https://api.github.com/users/codeclimate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeclimate/subscriptions","organizations_url":"https://api.github.com/users/codeclimate/orgs","repos_url":"https://api.github.com/users/codeclimate/repos","events_url":"https://api.github.com/users/codeclimate/events{/privacy}","received_events_url":"https://api.github.com/users/codeclimate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codeclimate/codeclimate","description":"Code Climate CLI","fork":false,"url":"https://api.github.com/repos/codeclimate/codeclimate","forks_url":"https://api.github.com/repos/codeclimate/codeclimate/forks","keys_url":"https://api.github.com/repos/codeclimate/codeclimate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codeclimate/codeclimate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codeclimate/codeclimate/teams","hooks_url":"https://api.github.com/repos/codeclimate/codeclimate/hooks","issue_events_url":"https://api.github.com/repos/codeclimate/codeclimate/issues/events{/number}","events_url":"https://api.github.com/repos/codeclimate/codeclimate/events","assignees_url":"https://api.github.com/repos/codeclimate/codeclimate/assignees{/user}","branches_url":"https://api.github.com/repos/codeclimate/codeclimate/branches{/branch}","tags_url":"https://api.github.com/repos/codeclimate/codeclimate/tags","blobs_url":"https://api.github.com/repos/codeclimate/codeclimate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codeclimate/codeclimate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codeclimate/codeclimate/git/refs{/sha}","trees_url":"https://api.github.com/repos/codeclimate/codeclimate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codeclimate/codeclimate/statuses/{sha}","languages_url":"https://api.github.com/repos/codeclimate/codeclimate/languages","stargazers_url":"https://api.github.com/repos/codeclimate/codeclimate/stargazers","contributors_url":"https://api.github.com/repos/codeclimate/codeclimate/contributors","subscribers_url":"https://api.github.com/repos/codeclimate/codeclimate/subscribers","subscription_url":"https://api.github.com/repos/codeclimate/codeclimate/subscription","commits_url":"https://api.github.com/repos/codeclimate/codeclimate/commits{/sha}","git_commits_url":"https://api.github.com/repos/codeclimate/codeclimate/git/commits{/sha}","comments_url":"https://api.github.com/repos/codeclimate/codeclimate/comments{/number}","issue_comment_url":"https://api.github.com/repos/codeclimate/codeclimate/issues/comments{/number}","contents_url":"https://api.github.com/repos/codeclimate/codeclimate/contents/{+path}","compare_url":"https://api.github.com/repos/codeclimate/codeclimate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codeclimate/codeclimate/merges","archive_url":"https://api.github.com/repos/codeclimate/codeclimate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codeclimate/codeclimate/downloads","issues_url":"https://api.github.com/repos/codeclimate/codeclimate/issues{/number}","pulls_url":"https://api.github.com/repos/codeclimate/codeclimate/pulls{/number}","milestones_url":"https://api.github.com/repos/codeclimate/codeclimate/milestones{/number}","notifications_url":"https://api.github.com/repos/codeclimate/codeclimate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codeclimate/codeclimate/labels{/name}","releases_url":"https://api.github.com/repos/codeclimate/codeclimate/releases{/id}","created_at":"2015-06-19T13:54:41Z","updated_at":"2015-06-25T19:11:36Z","pushed_at":"2015-06-25T20:39:55Z","git_url":"git://github.com/codeclimate/codeclimate.git","ssh_url":"git@github.com:codeclimate/codeclimate.git","clone_url":"https://github.com/codeclimate/codeclimate.git","svn_url":"https://github.com/codeclimate/codeclimate","homepage":null,"size":592,"stargazers_count":321,"watchers_count":321,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":12,"forks":17,"open_issues":12,"watchers":321,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codeclimate/codeclimate/pulls/31"},"html":{"href":"https://github.com/codeclimate/codeclimate/pull/31"},"issue":{"href":"https://api.github.com/repos/codeclimate/codeclimate/issues/31"},"comments":{"href":"https://api.github.com/repos/codeclimate/codeclimate/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/codeclimate/codeclimate/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/codeclimate/codeclimate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codeclimate/codeclimate/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/codeclimate/codeclimate/statuses/b3a358fb34c5ae600e49c9fd934f18de4795b6e5"}}}}