Sha256: 6a947b1bd20bfa45a270aa0be93ed3a53a0c5ece5a6bf48660a7bcfae357067b

Contents?: true

Size: 907 Bytes

Versions: 6

Compression:

Stored size: 907 Bytes

Contents

<% if @gems.any? %>
  <a href="upload">Upload Another Gem</a>

  <div id="alpha_index"><%= ("a".."z").map{|i| @index_gems.include?(i) ? "<a href='#jump_#{i}'>#{i}</a>" : i }.join(" - ") %></div>

  <ul class="gemlist">

    <% @gems.each do |name, versions| %>
      <li <%= %{id="jump_#{name[0..0]}"} if @index_gems.delete(name[0..0]) %>>
        <strong><%= name %> (<%= versions.size == 1 ? versions.first : "#{versions.first} - #{versions.last}" %>)</strong>
        <% versions.each do |version| %>
          <form class="delete-form" method="post" action="/gems/<%= name %>-<%= version %>.gem">
            <code>gem install <%= name %> -v "<%= version %>"</code>
            <input type="hidden" name="_method" value="DELETE" />
            <button type="submit">delete</button>
          </form>
        <% end %>
      </li>
    <% end %>
  </ul>
<% end %>

<a href="upload">Upload Another Gem</a>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
geminabox-0.2.13 views/index.erb
geminabox-0.2.11 views/index.erb
geminabox-0.2.10 views/index.erb
geminabox-0.2.9 views/index.erb
geminabox-0.2.9.pre1 views/index.erb
geminabox-0.2.8 views/index.erb