Version 0.3.0 of sinatra-bundles is out and powering the blog for a week or so.
It's cold out there, so bundle up:
% gem install sinatra-bundles require 'sinatra/bundles'
Version 0.3.0 has a new feature and a slight API change.
Custom path prefixes
set(:js, 'js') set(:css, 'css')
Before, the URL that was generated for a bundle had the timestamp after the URL as part of the query string. This is fine, but some caching proxies don't like this. Squid, with default settings, won't cache those things. Now, the timestamp is in the URL in a better way. You don't have to do anything, it just works. View source on this page if you want to check it out.
That's all for now. I have some other features I'd like to add, but they don't actually benefit me personally. If you use sinatra-bundles and what to help, check the issues list to see what's up and maybe even add a feature.