sendgrid/sendgrid-nodejs — pull request #36 by theycallmeswift (2012-06-21 19:00:28+00:00)
Title: Upgrade nodemailer dependencies and document tests

This contains two changes:

1. __The nodemailer API changed recently, I updated our implementation to use the new API__

Anyone who does an `npm install` on the current library will have broken SMTP support. I also had to patch one of the dependencies (`mimelib`), which was returning an object instead of an array and causing our tests to fail. (https://github.com/andris9/mimelib/commit/a1bdf17e4d66ed0eb11521038abe0a94dd2f9802)

Also, included a `shrinkwrap.js` to prevent this from happening in the future.

2. __Updated the tests and documents them__

I updated our `test` command to use the local copy of mocha instead of the system copy. Also, changed the `test/test.setup` file to be `test/config.js` since that's a standard.

This should be a patch level version bump, since it wasn't our API that changed. Also, we should start enforcing strict dependency versioning since this is an open source project.