Update nodemailer, yamljs, q

This commit is contained in:
calzoneman 2014-08-19 00:36:31 -05:00
parent c693e84a46
commit 4eb81a84d9
3 changed files with 4 additions and 7 deletions

View File

@ -97,7 +97,6 @@ io:
# see https://github.com/andris9/Nodemailer # see https://github.com/andris9/Nodemailer
mail: mail:
enabled: false enabled: false
transport: 'SMTP'
config: config:
service: 'Gmail' service: 'Gmail'
auth: auth:

View File

@ -59,7 +59,6 @@ var defaults = {
}, },
mail: { mail: {
enabled: false, enabled: false,
transport: "SMTP",
/* the key "config" is omitted because the format depends on the /* the key "config" is omitted because the format depends on the
service the owner is configuring for nodemailer */ service the owner is configuring for nodemailer */
"from-address": "some.user@gmail.com" "from-address": "some.user@gmail.com"
@ -215,7 +214,6 @@ function preprocessConfig(cfg) {
// Setup nodemailer // Setup nodemailer
cfg.mail.nodemailer = nodemailer.createTransport( cfg.mail.nodemailer = nodemailer.createTransport(
cfg.mail.transport,
cfg.mail.config cfg.mail.config
); );

View File

@ -16,12 +16,12 @@
"jade": "~1.1.5", "jade": "~1.1.5",
"json-typecheck": "^0.1.0", "json-typecheck": "^0.1.0",
"morgan": "^1.2.3", "morgan": "^1.2.3",
"mysql": "~2.0.1", "mysql": "^2.4.2",
"nodemailer": "~0.6.0", "nodemailer": "^1.2.0",
"oauth": "^0.9.11", "oauth": "^0.9.11",
"q": "^1.0.0", "q": "^1.0.1",
"serve-static": "^1.5.3", "serve-static": "^1.5.3",
"socket.io": "~0.9.16", "socket.io": "~0.9.16",
"yamljs": "~0.1.4" "yamljs": "^0.1.5"
} }
} }