Sha256: ba9ba152ad502db8fa6a9fb357d71ecef8060135ce7d323cf2dc361c4bbf2acf
Contents?: true
Size: 1.33 KB
Versions: 9
Compression:
Stored size: 1.33 KB
Contents
<div class="col-lg-12"> <div class="col-lg-3 center-block pull-none"> <pre class="bg-info"><code>gem sources -a <%= url("/") %></code></pre> </div> </div> <div class="col-lg-12"> <% if gems.any? %> <div class="col-lg-6 center-block pull-none"> <% gems.by_name do |name, versions| %> <div class="panel panel-info"> <div class="panel-heading"> <a href="<%= url("gem/#{name}") %>"> <h2 class="panel-title"><%= escape(name) %> <span class="badge pull-right"><%= escape(versions.newest.number) %></span></h2> </a> </div> <div class="panel-body"> <% spec = spec_for(name, versions.newest.number) %> <% if spec.is_a?(::Gem::Specification) %> <%= escape(spec.description) %> <% end %> <% versions.reverse_each.first(5).each do |version| %> <p> <code>gem install <%= escape(version.name) %> <%= "--prerelease" if version.number.to_s.match(/[a-z]/i) %> -v "<%= escape(version.number) %>"</code> <% unless version.platform =~ /^ruby/i %> <small class="platform"><%= escape(version.platform) %></small> <% end %> </p> <% end %> </div> </div> <% end %> </div> <% end %> </div>
Version data entries
9 entries across 9 versions & 1 rubygems