Sha256: c59d1ca8cb31708de62b2fc3d124aa0d62fa084f9b40d31dacaa598429fb2805

Contents?: true

Size: 1.48 KB

Versions: 1

Compression:

Stored size: 1.48 KB

Contents

<?xml version="1.0" encoding="utf-8"?>

<feed xmlns="http://www.w3.org/2005/Atom">

  <title><%= title %> Feed</title>
  <subtitle>Release History</subtitle>
  <% if url %><link href="<%= url %>" rel="self" /><% end %>
  <% if homepage %><link href="<%= homepage %>" /><% end %>
  <id><% if vcs.uuid %>urn:uuid:<%= vcs.uuid %><% else %><%= vcs.repository %><% end %></id>
  <updated><%= Time.now %></updated>
  <author>
    <name><%= user %></name>
    <email><%= email %></email>
  </author>

  <% history.releases.sort.each do |release| %>
  <% tag = release.tag %>
  <entry>
    <title><%= tag.name %></title>
    <id><%= tag.revision %></id>
    <author><%= tag.author %></author>
    <updated><%= tag.date.strftime('%Y-%m-%d') %></updated>
    <summary type="html">
      <p><%= tag.message %></p>
      <% if options.extra %>
        <% release.groups.each do |number, changes| %>
          <h2><%= changes.size %> <%= changes[0].label %></h2>
          <ul class="log">
          <% changes.sort{|a,b| b.date <=> a.date}.each do |entry| %>
            <li class="entry">
            <div class="message"><%= h entry.message %></div>
            <!-- <div class="type"><%= h entry.type %></div> -->
            <div class="revision">#<%= h entry.revision %></div>
            <div class="date"><%= entry.date %></div>
            <div class="author"><%= h entry.author %></div>
            </li>
          <% end %>
          </ul>
        <% end %>
      <% end %>
    </summary>
  </entry>
  <% end %>

</feed>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vclog-1.6.0 lib/vclog/templates/history.atom.erb