Sha256: c26049fbd326a167c2f7079ca48377f80afa96059041669ea1b9903d83f1ce99

Contents?: true

Size: 496 Bytes

Versions: 6

Compression:

Stored size: 496 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|
      msg = entry.to_s(:summary=>!options.detail)

      out << msg.tabto(2).sub('  ','* ')

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

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

  end

end

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

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
rubycut-vclog-1.9.5.1 lib/vclog/templates/changelog.rdoc.rb
rubycut-vclog-1.9.5 lib/vclog/templates/changelog.rdoc.rb
rubycut-vclog-1.9.4 lib/vclog/templates/changelog.rdoc.rb
vclog-1.9.2 lib/vclog/templates/changelog.rdoc.rb
vclog-1.9.1 lib/vclog/templates/changelog.rdoc.rb
vclog-1.9.0 lib/vclog/templates/changelog.rdoc.rb