Sha256: 93ed14a847f5189f8977cfba3918957da7e40dbced6dcf0ac3065e97a8470ff9

Contents?: true

Size: 671 Bytes

Versions: 33

Compression:

Stored size: 671 Bytes

Contents

begin
  require 'metric_fu'
  require 'json'

  # XXX: temporary hack until metric_fu is fixed
  MetricFu::Saikuro.class_eval { include FileUtils }

  MetricFu::Configuration.run do |config|
    config.rcov = {
      :environment => 'test',
      :test_files  => %w[ spec/**/*_spec.rb ],
      :rcov_opts   => %w[
        --sort coverage
        --no-html
        --text-coverage
        --no-color
        --profile
        --exclude spec/,^/
        --include lib:spec
      ],
    }
  end
rescue LoadError
  namespace :metrics do
    task :all do
      abort 'metric_fu is not available. In order to run metrics:all, you must: gem install metric_fu'
    end
  end
end

Version data entries

33 entries across 33 versions & 6 rubygems

Version Path
fragrant-0.0.5 vendor/bundle/ruby/1.9.1/gems/virtus-0.5.2/tasks/metrics/metric_fu.rake
virtus-0.5.2 tasks/metrics/metric_fu.rake
virtus-0.5.1 tasks/metrics/metric_fu.rake
virtus-0.5.0 tasks/metrics/metric_fu.rake
virtus-0.4.2 tasks/metrics/metric_fu.rake
virtus-0.4.1 tasks/metrics/metric_fu.rake
virtus-0.4.0 tasks/metrics/metric_fu.rake
veritas-do-adapter-0.0.7 tasks/metrics/metric_fu.rake
veritas-sql-generator-0.0.7 tasks/metrics/metric_fu.rake
veritas-optimizer-0.0.7 tasks/metrics/metric_fu.rake
veritas-0.0.7 tasks/metrics/metric_fu.rake
virtus-0.3.0 tasks/metrics/metric_fu.rake
virtus-0.2.0 tasks/metrics/metric_fu.rake
virtus-0.1.0 tasks/metrics/metric_fu.rake
virtus-0.0.10 tasks/metrics/metric_fu.rake
virtus-0.0.9 tasks/metrics/metric_fu.rake
veritas-do-adapter-0.0.6 tasks/metrics/metric_fu.rake
veritas-do-adapter-0.0.5 tasks/metrics/metric_fu.rake
veritas-optimizer-0.0.6 tasks/metrics/metric_fu.rake
veritas-sql-generator-0.0.6 tasks/metrics/metric_fu.rake