{"action":"created","issue":{"url":"https://api.github.com/repos/github/generator-hubot/issues/6","labels_url":"https://api.github.com/repos/github/generator-hubot/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/github/generator-hubot/issues/6/comments","events_url":"https://api.github.com/repos/github/generator-hubot/issues/6/events","html_url":"https://github.com/github/generator-hubot/pull/6","id":46854794,"number":6,"title":"Fixed Mocha for CoffeeScript 1.7+","user":{"login":"MrSaints","id":68859,"avatar_url":"https://avatars.githubusercontent.com/u/68859?v=3","gravatar_id":"","url":"https://api.github.com/users/MrSaints","html_url":"https://github.com/MrSaints","followers_url":"https://api.github.com/users/MrSaints/followers","following_url":"https://api.github.com/users/MrSaints/following{/other_user}","gists_url":"https://api.github.com/users/MrSaints/gists{/gist_id}","starred_url":"https://api.github.com/users/MrSaints/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrSaints/subscriptions","organizations_url":"https://api.github.com/users/MrSaints/orgs","repos_url":"https://api.github.com/users/MrSaints/repos","events_url":"https://api.github.com/users/MrSaints/events{/privacy}","received_events_url":"https://api.github.com/users/MrSaints/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-10-26T21:07:38Z","updated_at":"2015-02-20T20:37:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/github/generator-hubot/pulls/6","html_url":"https://github.com/github/generator-hubot/pull/6","diff_url":"https://github.com/github/generator-hubot/pull/6.diff","patch_url":"https://github.com/github/generator-hubot/pull/6.patch"},"body":"`Gruntfile.js` and `test` are not currently compatible with CoffeeScript 1.7+ and they return the following error when executed:\r\n\r\n```\r\nError: Use CoffeeScript.register() or require the coffee-script/register module to require .coffee.md files.\r\n```\r\n\r\nAccording to CoffeeScript's change log:\r\n\r\n```\r\nWhen requiring CoffeeScript files in Node you must now explicitly register the compiler. This can be done with require 'coffee-script/register' or CoffeeScript.register(). Also for configuration such as Mocha's, use coffee-script/register.\r\n```\r\n\r\nThese changes fixes the error for when CoffeeScript 1.7+ is installed globally.\r\n\r\nAlso, https://github.com/hubot-scripts/hubot-example (which uses ~1.6) should probably be removed or edited to reflect the recent changes (Yeoman generator)."},"comment":{"url":"https://api.github.com/repos/github/generator-hubot/issues/comments/75314944","html_url":"https://github.com/github/generator-hubot/pull/6#issuecomment-75314944","issue_url":"https://api.github.com/repos/github/generator-hubot/issues/6","id":75314944,"user":{"login":"technicalpickles","id":159,"avatar_url":"https://avatars.githubusercontent.com/u/159?v=3","gravatar_id":"","url":"https://api.github.com/users/technicalpickles","html_url":"https://github.com/technicalpickles","followers_url":"https://api.github.com/users/technicalpickles/followers","following_url":"https://api.github.com/users/technicalpickles/following{/other_user}","gists_url":"https://api.github.com/users/technicalpickles/gists{/gist_id}","starred_url":"https://api.github.com/users/technicalpickles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technicalpickles/subscriptions","organizations_url":"https://api.github.com/users/technicalpickles/orgs","repos_url":"https://api.github.com/users/technicalpickles/repos","events_url":"https://api.github.com/users/technicalpickles/events{/privacy}","received_events_url":"https://api.github.com/users/technicalpickles/received_events","type":"User","site_admin":true},"created_at":"2015-02-20T20:37:49Z","updated_at":"2015-02-20T20:37:49Z","body":"Thanks for digging into this. Working through https://github.com/github/hubot/pull/863 and running basically into the same problems."}}