<commit_before><p><%= h @version.title %>.</p>
<p><%= @version.urls.map{|url| link_to url, url}.join("<br />") %></p>

<p><%= auto_link @version.description %></p>

<hr />

<%#= debug @version.maintainer %> 

<p>
  <strong>Maintainer</strong>: <%= link_to @version.maintainer.name, @version.maintainer rescue nil %><br />
  <strong>Authors</strong>: <%=h @version.author  %>
</p>
<p><strong>License</strong>: <%=h @version.license  %></p>

<% version_uses = (@version.depends.map{|p| link_to p.name, p} + @version.suggests.map{|p| content_tag(:em, link_to(p.name, p))}).join(", ") %>

<p><strong>Uses</strong>:<%= version_uses.not_blank? ? version_uses : "Does not use any package" -%></p>

<% unless @version.date.blank? -%>
  <p>Released <%= time_ago_in_words @version.date %> ago.</p>
<% end -%>

<hr />

<% if false %> 
<ul>
  <li><%= textilize @version.readme %></li>
  <li><%= textilize @version.changelog %></li>
  <li><%= textilize @version.news %></li>
</ul> <commit_msg>Version description partial:   * don't try to display maintainer if maintainer_id is nil   * auto_link email addresses in the authors list   * whitespace cleanup<commit_after><p><%= h @version.title %>.</p>
<p><%= @version.urls.map{|url| link_to url, url}.join("<br />") %></p>

<p><%= auto_link @version.description %></p>

<hr />

<p>
  <% unless @version.maintainer.blank? %>
    <strong>Maintainer</strong>:
    <%= link_to @version.maintainer.name, @version.maintainer %><br />
  <% end %>
  <strong>Author(s)</strong>: <%= auto_link(h(@version.author)) %>
</p>
<p><strong>License</strong>: <%= h @version.license %></p>

<% version_uses = (@version.depends.map{|p| link_to p.name, p} + @version.suggests.map{|p| content_tag(:em, link_to(p.name, p))}).join(", ") %>

<p><strong>Uses</strong>:<%= version_uses.not_blank? ? version_uses : "Does not use any package" -%></p>

<% unless @version.date.blank? -%>
  <p>Released <%= time_ago_in_words @version.date %> ago.</p>
<% end -%>

<hr />

<% if false %>
<ul>
  <li><%= textilize @version.readme %></li>
  <li><%= textilize @version.changelog %></li>
  <li><%= textilize @version.news %></li>
</ul>
{'fraction_non_alphanumeric': 0.24800750117205814, 'fraction_numerical': 0.0, 'mean_word_length': 4.601049868766404, 'pattern_counts': {'":': 0, '<': 104, '<?xml version=': 0, '>': 104, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6121902', 'n_tokens_mistral': 877, 'n_tokens_neox': 811, 'n_words': 168}