middleman/middleman-sprockets — pull request #48 by bhollis (2013-11-25 07:36:48+00:00)
Title: Switch Sprockets extension to be a new-style Middleman::Extension

Should be a good start to simplifying this a bit.