bin/request-log-analyzer in wvanbergen-request-log-analyzer-0.1.0 vs bin/request-log-analyzer in wvanbergen-request-log-analyzer-0.1.1

- old
+ new

@@ -36,10 +36,10 @@ def print_table(summarizer, field, amount = 20) summarizer.sort_actions_by(field).reverse[0, amount.to_i].each do |a| # As we show count by default, show totaltime if we sort by count field = :total_time if field == :count - puts "#{a[0].ljust(50)}: %10.03fs [#{green("%d requests")}]" % [a[1][field], a[1][:count]] + puts "%-50s: %10.03fs [#{green("%d requests")}]" % [a[0], a[1][field], a[1][:count]] end end # Parse the arguments given via commandline begin