jonlives/knife-spork — pull request #111 by jcrobak (2014-03-05 16:24:25+00:00)
Title: Berkshelf fixes

Resolve two issues I've run into trying to get knife-spork working with a one-repo-per-cookbook + berkshelf setup. In particular:

* Do a guarded import of `berkshelf`, which fixes an issue with `spork-bump.rb` not seeing `::Berkshelf`.
* Load berkshelf cookbooks from their full path as returned by Berkshelf, which resolves an issue with local cookbook directories not matching their name.

These changes have been tested on Berkshelf 2.x, but AFAICT they'd be necessary for Berkshelf 3.x support as well.