Class: Achoo::Plugin::VCS
Instance Method Summary
collapse
#get_exception_reason, #handle_exception, #handle_fatal_exception
Instance Method Details
14
15
16
17
18
19
20
21
22
|
# File 'lib/achoo/plugin/vcs.rb', line 14
def (date)
puts '-' * 80
puts "VCS logs for #{date}:"
begin
Achoo::VCS.print_logs_for(date, RC[:vcs_dirs])
rescue Exception => e
puts handle_exception("Failed to retrieve VCS logs.", e)
end
end
|
#state_ok? ⇒ Boolean
12
|
# File 'lib/achoo/plugin/vcs.rb', line 12
def state_ok?; RC.has_key?(:vcs_dirs) && !RC[:vcs_dirs].empty?; end
|