Sha256: ceeb610bcb42b1bff2e12c6cf3392fbc170bdd317deefe07d660291f1b9fc1f9

Contents?: true

Size: 705 Bytes

Versions: 6

Compression:

Stored size: 705 Bytes

Contents

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

  <ul class="gemlist">
    <% @gems.each do |name, versions| %>
      <li>
        <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.7 views/index.erb
geminabox-0.2.6 views/index.erb
geminabox-0.2.5 views/index.erb
geminabox-0.2.4 views/index.erb
geminabox-0.2.3 views/index.erb
geminabox-0.2.2 views/index.erb