views/index.erb in gemirro-0.13.2 vs views/index.erb in gemirro-0.13.3
- old
+ new
@@ -4,12 +4,12 @@
<pre class="bg-info"><code>gem sources -a <%= url("/") %></code></pre>
</div>
</div>
<div class="col-lg-12">
- <% if @gems.any? %>
+ <% if gems.any? %>
<div class="col-lg-6 center-block pull-none">
- <% @gems.by_name do |name, versions| %>
+ <% gems.by_name do |name, versions| %>
<div class="panel panel-info">
<div class="panel-heading">
<a href="<%= url("gem/#{name}") %>">
<h2 class="panel-title"><%= name %> <span class="badge pull-right"><%= versions.newest.number %></span></h2>
</a>