Sha256: ca49d8aea92f63c489c4f02fa8eca846deb5d2fceac9feb95de47715cd2e9fa4

Contents?: true

Size: 708 Bytes

Versions: 4

Compression:

Stored size: 708 Bytes

Contents

$LOAD_PATH << '.'
begin
  require 'spec/rake/spectask'
  desc "Run all specs in spec directory"
  Spec::Rake::SpecTask.new(:spec) do |t|
    t.spec_files = FileList['spec/**/*_spec.rb']
  end
rescue LoadError
  require 'rspec/core/rake_task'
  desc "Run all specs in spec directory"
  RSpec::Core::RakeTask.new(:spec)
end

require File.expand_path File.join(File.dirname(__FILE__),'lib/metric_fu')

MetricFu::Configuration.run do |config|
  config.roodi    = config.roodi.merge(:roodi_config => 'config/roodi_config.yml')
  config.churn    = { :start_date => "1 year ago", :minimum_churn_count => 10}
  config.hotspots = { :start_date => "1 year ago", :minimum_churn_count => 10}
end

task :default => :spec

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bf4-metric_fu-2.1.3.4 Rakefile
bf4-metric_fu-2.1.3.3 Rakefile
bf4-metric_fu-2.1.3.2 Rakefile
bf4-metric_fu-2.1.3.1 Rakefile