updated internal-hubot to work with Meteor 1.4.1.1

pull/4290/head
Gabriel Engel 9 years ago
parent c1d322c8d8
commit cbdda38928
No known key found for this signature in database
GPG Key ID: A9FF0AD7DEE40258
  1. 4
      packages/rocketchat-internal-hubot/hubot.coffee
  2. 8
      packages/rocketchat-internal-hubot/package.js

@ -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

@ -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'
});

Loading…
Cancel
Save