build errors if it tries to connect to pub

fixes the build errors if it tries to connect to pub. It now uses the
new pubspec format and works fine.
Merge pull request #36 from mrwonderman/master

Fix for pub errors due to old style