Sha256: da7583f37d22a9d601fb03d3a14d8359717adef2c5f4a39eb83cbb6050786388
Contents?: true
Size: 1.48 KB
Versions: 9
Compression:
Stored size: 1.48 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> <div class="delete-form"> <a class="download" href="<%= url("/gems/#{version.gemfile_name}.gem") %>">download</a> <% if @allow_delete %> <form method="post" action="<%= url("/gems/#{version.gemfile_name}.gem") %>"> <input type="hidden" name="_method" value="DELETE" /> <button type="submit">delete</button> </form> <% end %> </div> <% 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='#{href(spec.homepage)}'>#{author}</a>" end.join(', ') %></span> <% end %> </p> </div> </li> <% end %> </ul>
Version data entries
9 entries across 9 versions & 1 rubygems