Sha256: be9d9f5cce0e65add6fbb9a07c5e942797ec6fa18b945a9e62a077a6ff640d29
Contents?: true
Size: 1.39 KB
Versions: 4
Compression:
Stored size: 1.39 KB
Contents
<p> <a href="/">Back to Gem Index</a> </p> <ul class="gemlist"> <% @gem.by_name do |name, versions| %> <li class="gem-version"> <h2><%= name %> (<%= versions.count == 1 ? versions.first.number : "#{versions.oldest.number} - #{versions.newest.number}" %>)</h2> <% versions.each.reverse_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> <% newest_gem = versions.newest %> <% if spec = spec_for(name, newest_gem.number, newest_gem.platform) %> <%= spec.description %> <br/> <span class="author">– <%= spec.authors.map do |author| "<a href='#{h(spec.homepage)}'>#{author}</a>" end.join(', ') %></span> <% end %> </p> </div> </li> <% end %> </ul>
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
geminabox-0.13.9 | views/gem.erb |
geminabox-0.13.8 | views/gem.erb |
geminabox-0.13.7 | views/gem.erb |
geminabox-0.13.6 | views/gem.erb |