From cbdda38928affc10f8d9dc8d46c6ced2f73f4967 Mon Sep 17 00:00:00 2001 From: Gabriel Engel Date: Tue, 13 Sep 2016 15:41:31 -0300 Subject: [PATCH] updated internal-hubot to work with Meteor 1.4.1.1 --- packages/rocketchat-internal-hubot/hubot.coffee | 4 ++-- packages/rocketchat-internal-hubot/package.js | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/rocketchat-internal-hubot/hubot.coffee b/packages/rocketchat-internal-hubot/hubot.coffee index e33d44a616b..9a258ef681f 100644 --- a/packages/rocketchat-internal-hubot/hubot.coffee +++ b/packages/rocketchat-internal-hubot/hubot.coffee @@ -167,8 +167,8 @@ class HubotScripts scriptFile = s.trim(scriptFile) Npm.require('hubot-scripts/src/scripts/'+scriptFile)(robot) - # robot.loadFile __meteor_bootstrap__.serverDir+'/npm/rocketchat_internal-hubot/node_modules/hubot-scripts/src/scripts', scriptFile - robot.parseHelp __meteor_bootstrap__.serverDir+'/npm/rocketchat_internal-hubot/node_modules/hubot-scripts/src/scripts/'+scriptFile + # robot.loadFile __meteor_bootstrap__.serverDir+'/npm/node_modules/meteor/rocketchat_internal-hubot/node_modules/hubot-scripts/src/scripts', scriptFile + robot.parseHelp __meteor_bootstrap__.serverDir+'/npm/node_modules/meteor/rocketchat_internal-hubot/node_modules/hubot-scripts/src/scripts/'+scriptFile console.log "Loaded #{scriptFile}".green catch e console.log "can't load #{scriptFile}".red diff --git a/packages/rocketchat-internal-hubot/package.js b/packages/rocketchat-internal-hubot/package.js index 66a81647560..9738f930c61 100644 --- a/packages/rocketchat-internal-hubot/package.js +++ b/packages/rocketchat-internal-hubot/package.js @@ -29,8 +29,8 @@ Package.onUse(function(api) { }); Npm.depends({ - 'coffee-script': '1.9.3', - 'hubot': '2.13.1', - 'hubot-scripts': '2.16.2', - 'hubot-help': '0.1.2' + 'coffee-script': '1.10.0', + 'hubot': '2.19.0', + 'hubot-scripts': '2.17.1', + 'hubot-help': '0.2.0' });