lib/metric_fu/metrics/flay/init.rb in metric_fu-4.3.0 vs lib/metric_fu/metrics/flay/init.rb in metric_fu-4.3.1
- old
+ new
@@ -2,9 +2,13 @@
require 'flay'
config.add_metric(:flay)
config.add_graph(:flay)
config.configure_metric(:flay,
{ :dirs_to_flay => MetricFu.code_dirs, # was @code_dirs
- :minimum_score => 100,
- :filetypes => ['rb'] }
+ # MetricFu has been setting the minimum score as 100 for
+ # a long time. This is a really big number, considering
+ # the default is 16. Commenting it out for documentation
+ # of the setting, but to use the Flay default.
+ # :minimum_score => 100,
+ :filetypes => ['rb'] }
)
end