Sha256: fe433c12d394989d508481c1b199660dccea62797a8ddf5d399e37804c83dd27

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.markdown.rb
rubycut-vclog-1.9.5 lib/vclog/templates/changelog.markdown.rb
rubycut-vclog-1.9.4 lib/vclog/templates/changelog.markdown.rb
vclog-1.9.2 lib/vclog/templates/changelog.markdown.rb
vclog-1.9.1 lib/vclog/templates/changelog.markdown.rb
vclog-1.9.0 lib/vclog/templates/changelog.markdown.rb