factory_inspector 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module FactoryInspector
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -21,10 +21,10 @@ module FactoryInspector
21
21
  file = File.open(output_filename, 'w')
22
22
 
23
23
  file.write "FACTORY INSPECTOR - #{@reports.values.size} FACTORIES USED\n"
24
- file.write " FACTORY NAME TOTAL OVERALL TIME PER LONGEST STRATEGIES\n"
25
- file.write " CALLS TIME (s) CALL (s) CALL (s) \n"
24
+ file.write " FACTORY NAME TOTAL OVERALL TIME PER LONGEST STRATEGIES\n"
25
+ file.write " CALLS TIME (s) CALL (s) CALL (s) \n"
26
26
  @reports.sort_by{ |name,report| report.time_per_call_in_seconds }.reverse.each do |report_name, report|
27
- line = sprintf(" %-25.25s % 5.0d %5.4f %5.5f %5.4f %s\n",
27
+ line = sprintf(" %-30.30s % 5.0d %8.4f %5.5f %5.4f %s\n",
28
28
  report.factory_name,
29
29
  report.calls,
30
30
  report.total_time_in_seconds,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factory_inspector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: