Sha256: 9be7d6c8a96c7e99307eccc0da13c867549b636c88dbd505c2a0e5decb06e6f9

Contents?: true

Size: 769 Bytes

Versions: 4

Compression:

Stored size: 769 Bytes

Contents

<%
  # note: this file depends on constants defined in Rakefile

  require 'history'
  require 'date'
  require 'time'
%>
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
  <title><%= PROJECT_NAME %></title>
  <link><%= PROJECT_URL %></link>
  <description><%= PROJECT_DETAIL %></description>
<%
  @history.each do |entry|
    link = HISTORY_URL + '#' + entry['Version']

    stamp = Time.parse entry['Date'].to_s
    rfc822 = stamp.strftime "%a, %d %b %Y 00:00:00 %Z"
%>
  <item>
    <title>Version <%= entry['Version'] %> released</title>
    <link><%= link %></link>
    <guid><%= link %></guid>
    <description><%=ERB::Util.h entry['Summary'].redcloth %></description>
    <pubDate><%= rfc822 %></pubDate>
  </item>
<% end %>
</channel>
</rss>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby-vpi-12.0.1 doc/rss.erb
ruby-vpi-12.1.0 doc/rss.erb
ruby-vpi-12.0.2 doc/rss.erb
ruby-vpi-13.0.0 doc/rss.erb