Sha256: e57d7dfd782e2893ef6d4c6378a9515d1dfa1d8b8556f46b3855782ce2e8aec8

Contents?: true

Size: 451 Bytes

Versions: 6

Compression:

Stored size: 451 Bytes

Contents

out = []

out << "= #{title}"

changelog.by_date.each do |date, date_changes|

  date_changes.by_author.each do |author, author_changes|

    out << "\n== #{date} #{author}\n"

    author_changes.each do |entry|

      out << "* #{entry.message.strip}"

      if entry.type
        out.last << " [#{entry.type}]"
      end

      if options.revision
        out.last << " (##{entry.revision})"
      end

    end

  end

end

out.join("\n") + "\n\n"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vclog-1.8.2 lib/vclog/templates/changelog.rdoc.rb
vclog-1.8.1 lib/vclog/templates/changelog.rdoc.rb
vclog-1.8.0 lib/vclog/templates/changelog.rdoc.rb
vclog-1.7.0 lib/vclog/templates/changelog.rdoc.rb
vclog-1.6.1 lib/vclog/templates/changelog.rdoc.rb
vclog-1.6.0 lib/vclog/templates/changelog.rdoc.rb