lib/base/configuration.rb in metric_fu-1.2.0 vs lib/base/configuration.rb in metric_fu-1.3.0
- old
+ new
@@ -107,11 +107,12 @@
'lib', 'templates')
@template_class = AwesomeTemplate
set_metrics
set_graphs
set_code_dirs
- @flay = { :dirs_to_flay => @code_dirs }
+ @flay = { :dirs_to_flay => @code_dirs,
+ :minimum_score => 100 }
@flog = { :dirs_to_flog => @code_dirs }
@reek = { :dirs_to_reek => @code_dirs }
@roodi = { :dirs_to_roodi => @code_dirs }
@saikuro = { :output_directory => @scratch_directory + '/saikuro',
:input_directory => @code_dirs,
@@ -120,10 +121,11 @@
:warn_cyclo => "5",
:error_cyclo => "7",
:formater => "text"}
@churn = {}
@stats = {}
- @rcov = { :test_files => ['test/**/*_test.rb',
+ @rcov = { :environment => 'test',
+ :test_files => ['test/**/*_test.rb',
'spec/**/*_spec.rb'],
:rcov_opts => ["--sort coverage",
"--no-html",
"--text-coverage",
"--no-color",