{"action":"created","comment":{"url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/pulls/comments/40256313","id":40256313,"diff_hunk":"@@ -0,0 +1,115 @@\n+var _ = require('underscore');\n+var color = require('cli-color');\n+\n+// Set underscore's template system to use handlebars syntax\n+_.templateSettings = {\n+  interpolate: /\\{\\{(.+?)\\}\\}/g\n+};\n+\n+/**\n+ * Warning message that is displayed post-build when the user does\n+ * not have a global instillation of gulp.\n+ *\n+ * Any indentation added to this string will also show up as output.\n+ * @type {String}\n+ */\n+var gulpInstallWarningRaw =\n+'\\n{{warningSign}} We have installed gulp {{locally}} to build your-torso-project. \\\n+To use the gulp tasks setup by quick-sip, you will need to use the \\\n+npm run cli with the following command:\\n\\\n+  {{localGulpCmdSubTemplate}}\\n\\n\\\n+To remove gulp {{locally}} and setup gulp {{globally}}, run the following command:\\n\\\n+  {{setupGlobalGulpCmdSubTemplate}}';\n+\n+/**\n+ * Command that the user can run to execute gulp tasks.\n+ * @type {String}\n+ */\n+var localGulpCmdRaw = '{{prompt}} npm run gulp <task>';\n+\n+/**\n+ * Command that the user can run to uninstall a local gulp installation\n+ * and install gulp globally.\n+ * @type {String}\n+ */\n+var setupGlobalGulpCmdRaw = '{{prompt}} npm uninstall gulp && npm install -g gulp';\n+\n+/**\n+ * Template for the message output from logWarningMessage.\n+ * @type {String}\n+ */\n+var warningMessageRaw = '{{warningSign}} {{message}}';\n+\n+/**\n+ * Object containing context for template compilation\n+ * and functions for text stylingContext.\n+ * @type {Object}\n+ */\n+var stylingContext = {\n+  warningSign: color.bold.cyanBright('<' + color.bold.redBright('!') + '>'),\n+  prompt: color.cyanBright('$'),\n+  locally: color.yellow('locally'),\n+  globally: color.yellow('globally')\n+};\n+\n+/**\n+ * Styles command strings\n+ * @type {Function}\n+ */\n+var styleCommand = color.magenta;\n+\n+/**\n+ * Styles warning strings\n+ * @type {[type]}\n+ */\n+var styleWarning = color.cyanBright;\n+\n+/**\n+ * Creates a new object containing both the stylingContext\n+ * and additional elements specific to the template\n+ * @param  {Object} templateContext object containing elements specific to given template\n+ * @return {Object}                 the full context object to be used to build the styled template\n+ */\n+function generateContext(templateContext) {\n+  return _.extend({}, stylingContext, templateContext);\n+}\n+\n+/**\n+ * Compiles all the templates for the install warning that is triggered\n+ * when no global installation of gulp is detected\n+ * @return {String} the styled message for use in yeoman installation\n+ */\n+function compileGulpInstallWarningMessage() {","path":"messages.js","position":82,"original_position":82,"commit_id":"fc417d731106ab6ad4ecd70e35d8e4fc507597f9","original_commit_id":"fc417d731106ab6ad4ecd70e35d8e4fc507597f9","user":{"login":"mandragorn","id":807561,"avatar_url":"https://avatars.githubusercontent.com/u/807561?v=3","gravatar_id":"","url":"https://api.github.com/users/mandragorn","html_url":"https://github.com/mandragorn","followers_url":"https://api.github.com/users/mandragorn/followers","following_url":"https://api.github.com/users/mandragorn/following{/other_user}","gists_url":"https://api.github.com/users/mandragorn/gists{/gist_id}","starred_url":"https://api.github.com/users/mandragorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mandragorn/subscriptions","organizations_url":"https://api.github.com/users/mandragorn/orgs","repos_url":"https://api.github.com/users/mandragorn/repos","events_url":"https://api.github.com/users/mandragorn/events{/privacy}","received_events_url":"https://api.github.com/users/mandragorn/received_events","type":"User","site_admin":false},"body":"compile this once and serve up the result.","created_at":"2015-09-23T20:52:40Z","updated_at":"2015-09-23T20:52:40Z","html_url":"https://github.com/vecnatechnologies/generator-torso-brec/pull/24#discussion_r40256313","pull_request_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/pulls/comments/40256313"},"html":{"href":"https://github.com/vecnatechnologies/generator-torso-brec/pull/24#discussion_r40256313"},"pull_request":{"href":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/pulls/24","id":44560807,"html_url":"https://github.com/vecnatechnologies/generator-torso-brec/pull/24","diff_url":"https://github.com/vecnatechnologies/generator-torso-brec/pull/24.diff","patch_url":"https://github.com/vecnatechnologies/generator-torso-brec/pull/24.patch","issue_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/issues/24","number":24,"state":"open","locked":false,"title":"#20 allows the generator to build the application using local gulp module","user":{"login":"blakejwc","id":979760,"avatar_url":"https://avatars.githubusercontent.com/u/979760?v=3","gravatar_id":"","url":"https://api.github.com/users/blakejwc","html_url":"https://github.com/blakejwc","followers_url":"https://api.github.com/users/blakejwc/followers","following_url":"https://api.github.com/users/blakejwc/following{/other_user}","gists_url":"https://api.github.com/users/blakejwc/gists{/gist_id}","starred_url":"https://api.github.com/users/blakejwc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blakejwc/subscriptions","organizations_url":"https://api.github.com/users/blakejwc/orgs","repos_url":"https://api.github.com/users/blakejwc/repos","events_url":"https://api.github.com/users/blakejwc/events{/privacy}","received_events_url":"https://api.github.com/users/blakejwc/received_events","type":"User","site_admin":false},"body":"Sorry for the messy commits.","created_at":"2015-09-09T15:01:14Z","updated_at":"2015-09-23T20:52:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"09978cf51b1d383a4f23ceee1527cca55614d167","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/pulls/24/commits","review_comments_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/pulls/24/comments","review_comment_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/issues/24/comments","statuses_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/statuses/fc417d731106ab6ad4ecd70e35d8e4fc507597f9","head":{"label":"blakejwc:master","ref":"master","sha":"fc417d731106ab6ad4ecd70e35d8e4fc507597f9","user":{"login":"blakejwc","id":979760,"avatar_url":"https://avatars.githubusercontent.com/u/979760?v=3","gravatar_id":"","url":"https://api.github.com/users/blakejwc","html_url":"https://github.com/blakejwc","followers_url":"https://api.github.com/users/blakejwc/followers","following_url":"https://api.github.com/users/blakejwc/following{/other_user}","gists_url":"https://api.github.com/users/blakejwc/gists{/gist_id}","starred_url":"https://api.github.com/users/blakejwc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blakejwc/subscriptions","organizations_url":"https://api.github.com/users/blakejwc/orgs","repos_url":"https://api.github.com/users/blakejwc/repos","events_url":"https://api.github.com/users/blakejwc/events{/privacy}","received_events_url":"https://api.github.com/users/blakejwc/received_events","type":"User","site_admin":false},"repo":{"id":41447292,"name":"generator-torso-brec","full_name":"blakejwc/generator-torso-brec","owner":{"login":"blakejwc","id":979760,"avatar_url":"https://avatars.githubusercontent.com/u/979760?v=3","gravatar_id":"","url":"https://api.github.com/users/blakejwc","html_url":"https://github.com/blakejwc","followers_url":"https://api.github.com/users/blakejwc/followers","following_url":"https://api.github.com/users/blakejwc/following{/other_user}","gists_url":"https://api.github.com/users/blakejwc/gists{/gist_id}","starred_url":"https://api.github.com/users/blakejwc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blakejwc/subscriptions","organizations_url":"https://api.github.com/users/blakejwc/orgs","repos_url":"https://api.github.com/users/blakejwc/repos","events_url":"https://api.github.com/users/blakejwc/events{/privacy}","received_events_url":"https://api.github.com/users/blakejwc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/blakejwc/generator-torso-brec","description":"Yeoman generator for a project that uses torso and brec","fork":true,"url":"https://api.github.com/repos/blakejwc/generator-torso-brec","forks_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/forks","keys_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/teams","hooks_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/hooks","issue_events_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/issues/events{/number}","events_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/events","assignees_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/assignees{/user}","branches_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/branches{/branch}","tags_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/tags","blobs_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/git/refs{/sha}","trees_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/statuses/{sha}","languages_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/languages","stargazers_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/stargazers","contributors_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/contributors","subscribers_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/subscribers","subscription_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/subscription","commits_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/commits{/sha}","git_commits_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/git/commits{/sha}","comments_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/comments{/number}","issue_comment_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/issues/comments{/number}","contents_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/contents/{+path}","compare_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/merges","archive_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/downloads","issues_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/issues{/number}","pulls_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/pulls{/number}","milestones_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/milestones{/number}","notifications_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/labels{/name}","releases_url":"https://api.github.com/repos/blakejwc/generator-torso-brec/releases{/id}","created_at":"2015-08-26T20:06:41Z","updated_at":"2015-08-26T20:06:42Z","pushed_at":"2015-09-23T20:42:22Z","git_url":"git://github.com/blakejwc/generator-torso-brec.git","ssh_url":"git@github.com:blakejwc/generator-torso-brec.git","clone_url":"https://github.com/blakejwc/generator-torso-brec.git","svn_url":"https://github.com/blakejwc/generator-torso-brec","homepage":null,"size":136,"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":"vecnatechnologies:master","ref":"master","sha":"0d556ab5926d76f447a43b42656ead6dd3a3ade3","user":{"login":"vecnatechnologies","id":781589,"avatar_url":"https://avatars.githubusercontent.com/u/781589?v=3","gravatar_id":"","url":"https://api.github.com/users/vecnatechnologies","html_url":"https://github.com/vecnatechnologies","followers_url":"https://api.github.com/users/vecnatechnologies/followers","following_url":"https://api.github.com/users/vecnatechnologies/following{/other_user}","gists_url":"https://api.github.com/users/vecnatechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/vecnatechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vecnatechnologies/subscriptions","organizations_url":"https://api.github.com/users/vecnatechnologies/orgs","repos_url":"https://api.github.com/users/vecnatechnologies/repos","events_url":"https://api.github.com/users/vecnatechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/vecnatechnologies/received_events","type":"Organization","site_admin":false},"repo":{"id":35238813,"name":"generator-torso-brec","full_name":"vecnatechnologies/generator-torso-brec","owner":{"login":"vecnatechnologies","id":781589,"avatar_url":"https://avatars.githubusercontent.com/u/781589?v=3","gravatar_id":"","url":"https://api.github.com/users/vecnatechnologies","html_url":"https://github.com/vecnatechnologies","followers_url":"https://api.github.com/users/vecnatechnologies/followers","following_url":"https://api.github.com/users/vecnatechnologies/following{/other_user}","gists_url":"https://api.github.com/users/vecnatechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/vecnatechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vecnatechnologies/subscriptions","organizations_url":"https://api.github.com/users/vecnatechnologies/orgs","repos_url":"https://api.github.com/users/vecnatechnologies/repos","events_url":"https://api.github.com/users/vecnatechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/vecnatechnologies/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vecnatechnologies/generator-torso-brec","description":"Yeoman generator for a project that uses torso and brec","fork":false,"url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec","forks_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/forks","keys_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/teams","hooks_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/hooks","issue_events_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/issues/events{/number}","events_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/events","assignees_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/assignees{/user}","branches_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/branches{/branch}","tags_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/tags","blobs_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/git/refs{/sha}","trees_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/statuses/{sha}","languages_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/languages","stargazers_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/stargazers","contributors_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/contributors","subscribers_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/subscribers","subscription_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/subscription","commits_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/commits{/sha}","git_commits_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/git/commits{/sha}","comments_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/comments{/number}","issue_comment_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/issues/comments{/number}","contents_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/contents/{+path}","compare_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/merges","archive_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/downloads","issues_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/issues{/number}","pulls_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/pulls{/number}","milestones_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/milestones{/number}","notifications_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/labels{/name}","releases_url":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/releases{/id}","created_at":"2015-05-07T19:17:29Z","updated_at":"2015-05-08T18:00:25Z","pushed_at":"2015-09-23T20:42:22Z","git_url":"git://github.com/vecnatechnologies/generator-torso-brec.git","ssh_url":"git@github.com:vecnatechnologies/generator-torso-brec.git","clone_url":"https://github.com/vecnatechnologies/generator-torso-brec.git","svn_url":"https://github.com/vecnatechnologies/generator-torso-brec","homepage":null,"size":270,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":15,"forks":3,"open_issues":15,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/pulls/24"},"html":{"href":"https://github.com/vecnatechnologies/generator-torso-brec/pull/24"},"issue":{"href":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/issues/24"},"comments":{"href":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/vecnatechnologies/generator-torso-brec/statuses/fc417d731106ab6ad4ecd70e35d8e4fc507597f9"}}}}