Sha256: 9fac70553580ba383d5b46b9f6e867fcd617aa01e8f368ffba08aaa2e5efab6b

Contents?: true

Size: 322 Bytes

Versions: 37

Compression:

Stored size: 322 Bytes

Contents

if Rails.env.test?
  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' # Needed to find spec_helper
  end
end

Version data entries

37 entries across 37 versions & 4 rubygems

Version Path
blog_logic-1.4.7 config/initializers/metric_fu.rb
blog_logic-1.4.6 config/initializers/metric_fu.rb
blog_logic-1.4.5 config/initializers/metric_fu.rb
blog_logic-1.4.4 config/initializers/metric_fu.rb
ppc_logic-0.8.2 config/initializers/metric_fu.rb
ppc_logic-0.8.1 config/initializers/metric_fu.rb
blog_logic-1.4.3 config/initializers/metric_fu.rb
editorial_logic-1.4.3 config/initializers/metric_fu.rb
blog_logic-1.4.2 config/initializers/metric_fu.rb
editorial_logic-1.4.2 config/initializers/metric_fu.rb
blog_logic-1.4.1 config/initializers/metric_fu.rb
ppc_logic-0.8.0 config/initializers/metric_fu.rb
editorial_logic-1.4.1 config/initializers/metric_fu.rb
blog_logic-1.4.0 config/initializers/metric_fu.rb
editorial_logic-1.4.0 config/initializers/metric_fu.rb
blog_logic-1.3.1 config/initializers/metric_fu.rb
blog_logic-1.3.0 config/initializers/metric_fu.rb
blog_logic-1.2.4 config/initializers/metric_fu.rb
blog_logic-1.2.3 config/initializers/metric_fu.rb
blog_logic-1.2.2 config/initializers/metric_fu.rb