lib/mina/helpers/internal.rb in mina-1.0.7 vs lib/mina/helpers/internal.rb in mina-1.1.0
- old
+ new
@@ -35,10 +35,10 @@
end
def report_time
time_start = Time.now
output = yield
- print_info "Elapsed time: %.2f seconds" % [Time.now - time_start]
+ print_info "Elapsed time: %.2f seconds" % [Time.now - time_start] unless fetch(:skip_report_time)
output
end
def next_version
case fetch(:version_scheme)