lib/cutting_edge/templates/mail.html.erb in cutting_edge-0.2 vs lib/cutting_edge/templates/mail.html.erb in cutting_edge-0.2.1
- old
+ new
@@ -122,9 +122,10 @@
</p>
<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">
This is <a href="<%= url %>">CuttingEdge</a> informing you that the dependency status for <a href="<%= "#{url}/#{project}/info" %>"><%= project %></a> has changed.
</p>
<% specs[:locations].each do |filename, spec| %>
+ <% next if spec.values.flatten.empty? %>
<p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">
In <b><%= filename %></b>:
<% spec.each do |type, dependencies|
next if dependencies.empty?
%>
\ No newline at end of file