Class: Omnibus::Command::ChangeLog
- Defined in:
- lib/omnibus/cli/changelog.rb
Instance Method Summary collapse
Methods inherited from Base
dispatch, exit_on_failure?, #help, #initialize
Methods included from Logging
Constructor Details
This class inherits a constructor from Omnibus::Command::Base
Instance Method Details
#generate(start_ref = nil, end_ref = nil) ⇒ Object
71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'lib/omnibus/cli/changelog.rb', line 71 def generate(start_ref = nil, end_ref = nil) @start_ref = start_ref @end_ref = end_ref diff = if @options[:skip_components] Omnibus::EmptyManifestDiff.new else Omnibus::ManifestDiff.new(old_manifest, new_manifest) end Omnibus::ChangeLogPrinter.new(ChangeLog.new(starting_revision, ending_revision), diff, @options[:source_path]).print(new_version) end |