Gem in a Box Gem in a Box <%= url '/atom.xml' %> <% @gems.by_name do |name, versions| %> <% newest_gem = versions.newest %> <% spec = spec_for(name, newest_gem.number, newest_gem.platform) %> <%= name %> <%= spec.date.w3cdtf %> <%= name %> (<%= versions.size == 1 ? versions.oldest.number : "#{versions.oldest.number} - #{versions.newest.number}" %>) <%= spec.authors.join(", ") %> <% versions.each do |version| %> " /> <% end %> <% end %> <% if newest_gem = @gems.newest %> <%= spec_for(newest_gem.name, newest_gem.number, newest_gem.platform).date.w3cdtf %> <% else %> <%= Date.today %> <% end %>