You can clone with
Visiting /atom.xml shows the Sinatra 500 screen with an error of "undefined method `size' for nil:NilClass" and a stack trace pointing to line 10 of atom.erb. Perusal of the code suggests that this is pretty fundamentally broken:
@gems.each do |name, versions|
# call versions.size
...but since @gems.each falls through to calling each on an array, the second parameter is nil, and so versions.size (and other calls to methods on versions) all asplode.
Has the atom functionality been abandoned? Am I misreading or misconfiguring something somehow? I'd be willing to re-implement the atom feed if that would be helpful; I just want to check that I'm not duplicating somebody else's efforts or misconfiguring something first.
Fix atom feed.
This should be done with an actual RSS/ATOM generator, but I'm not overly concerned right now. If anyone fancies doing it right, be my guest.
This fix is shoddy, but it was utterly broken.
I need to do some refactoring around Geminabox::GemVersionCollection before we do anything proper. I have no idea what that class represents, but I'm fairly sure it's not a collection of gem versions. It also needs to provide access to the actual gemspec from Geminabox::GemVersion, rather than using the (useless) spec_for helper.
Anyway, this makes test pass, and I've overstayed my welcome on the Westfield Center's rather comfy sofas ;)