Sha256: e1aa8fa77567f7d4f40e23c50b572c25bf35b7d6f07bd2af546fccb0565e6e5c
Contents?: true
Size: 1.71 KB
Versions: 2
Compression:
Stored size: 1.71 KB
Contents
<% if @gems.any? %> <a href="<%= url("/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.by_name do |name, versions| %> <li <%= %{id="jump_#{name[0..0].downcase}"} if @index_gems.delete(name[0..0].downcase) %> class="gem-version"> <h2><%= name %> (<%= versions.count == 1 ? versions.first.number : "#{versions.oldest.number} - #{versions.newest.number}" %>)</h2> <% versions.each do |version| %> <p> <code>gem install <%= version.name %> <%= "--prerelease" if version.number.to_s.match(/[a-z]/i) %> -v "<%= version.number %>"</code> <% unless version.platform =~ /^ruby/i %> <small class="platform"><%= version.platform %></small> <% end %> </p> <form class="delete-form" method="post" action="<%= url("/gems/#{version.gemfile_name}.gem") %>"> <a class="download" href="<%= url("/gems/#{version.gemfile_name}.gem") %>">download</a> <input type="hidden" name="_method" value="DELETE" /> <button type="submit">delete</button> </form> <% end %> <div class="details"> <p> <% if spec = spec_for(name, versions.first.number) %> <%= spec.description %> <br/> <span class="author">– <%= spec.authors.map do |author| "<a href='#{spec.homepage}'>#{author}</a>" end.join(', ') %></span> <% end %> </p> </div> </li> <% end %> </ul> <% end %> <a href="<%= url("/upload") %>">Upload Another Gem</a>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
geminabox-0.5.2 | views/index.erb |
geminabox-0.5.1 | views/index.erb |