Sha256: 250a86637106111db1033d99ba4a14fe62b8d99528a6268925470e5e70b12a5b

Contents?: true

Size: 330 Bytes

Versions: 30

Compression:

Stored size: 330 Bytes

Contents

if Rails.env.test? && Object.const_defined?('MetricFu')
  require 'metric_fu'
  MetricFu::Configuration.run do |config|
    config.metrics  = [:churn, :saikuro, :stats, :flog, :flay]
    config.graphs   = [:flog, :flay, :stats]
    config.rcov[:test_files] = ['spec/**/*_spec.rb']
    config.rcov[:rcov_opts] << '-Ispec'
  end
end

Version data entries

30 entries across 30 versions & 4 rubygems

Version Path
blog_logic-1.4.15 config/initializers/metric_fu.rb
blog_logic-1.4.14 config/initializers/metric_fu.rb
editorial_logic-1.4.5 config/initializers/metric_fu.rb
site_logic-1.9.13 config/initializers/metric_fu.rb
site_logic-1.9.12 config/initializers/metric_fu.rb
campfire_logic-2.0.7 config/initializers/metric_fu.rb
blog_logic-1.4.13 config/initializers/metric_fu.rb
blog_logic-1.4.12 config/initializers/metric_fu.rb
blog_logic-1.4.11 config/initializers/metric_fu.rb
campfire_logic-2.0.6 config/initializers/metric_fu.rb
campfire_logic-2.0.5 config/initializers/metric_fu.rb
campfire_logic-2.0.4 config/initializers/metric_fu.rb
campfire_logic-2.0.3 config/initializers/metric_fu.rb
site_logic-1.9.11 config/initializers/metric_fu.rb
campfire_logic-2.0.2 config/initializers/metric_fu.rb
campfire_logic-2.0.1 config/initializers/metric_fu.rb
blog_logic-1.4.10 config/initializers/metric_fu.rb
site_logic-1.9.10 config/initializers/metric_fu.rb
campfire_logic-2.0.0 config/initializers/metric_fu.rb
campfire_logic-1.2.1 config/initializers/metric_fu.rb