Run bundle update.
Upgrade Font Awesome to version 4.0.3.
Fix Font Awesome classes.
Manage Font Awesome as an asset gem.

This greatly simplifies the installation and update of Font Awesome in a Middleman project. The Rake task is not needed any longer. There is no need to copy Font Awesome files in the fonts and stylesheets directories: fonts are transparently available and the line `@import "font-awesome";` in `main.css.scss` will do.

The `:require => false` bit in the Gemfile is
important (see http://middlemanapp.com/asset-pipeline/).

I have also had to remove the version constraint
for the middleman gem in the Gemfile because it was
causing errors when `bundle update` was trying to
resolve dependencies (I have no idea why).
Upgrade to use Foundation 5.

Foundation 5 upgrades are managed through Bower. As suggested at http://foundation.zurb.com/docs/upgrading.html, a file called bower.json has been added to the project root. After cloning this repository, install Foundation with:

    bower install

Update Foundation with:

    bower update

The foundation gem is not strictly necessary, but it has been added for the sake of completeness.

A couple of search paths have been added to config.rb to make Middleman aware of Foundation, one for SCSS files (via Compass's config.add_import_path) and one for JavaScript scripts (via Sprockets's append_path). The style files are then imported as usual in main.css.scss. To reduce the number of scripts, jQuery and Foundation are both included in foundation.js (via Sprockets's require). Since Modernizr goes inside <head>, it stays in its own file.
Remove Rakefile.

We don't need custom upgrade tasks any  longer.
Update foundation.js.

Ops, forgot to add it!
Run bundle update.
Update README.