Method: Ditz::Operator#changelog

Defined in:
lib/operator.rb

#changelog(project, config, relnames) ⇒ Object



292
293
294
295
296
297
298
# File 'lib/operator.rb', line 292

def changelog project, config, relnames
  parse_releases_arg(project, relnames).each do |r, bugs, feats|
    puts "== #{r.name} / #{r.release_time.pretty_date}" if r.released?
    feats.select { |f| f.closed? }.each { |i| puts "* #{i.title}" }
    bugs.select { |f| f.closed? }.each { |i| puts "* bugfix: #{i.title}" }
  end
end