lib/tasks/metric_fu.rake in p8-metric_fu-0.9.0.2 vs lib/tasks/metric_fu.rake in p8-metric_fu-0.9.0.3
- old
+ new
@@ -1,9 +1,9 @@
# only load configured metrics
MetricFu.metrics.each { |task| import "#{File.dirname(__FILE__)}/#{task}.rake" }
namespace :metrics do
- if MetricFu::RAILS
+ if MetricFu.is_rails?
desc "Generate coverage, cyclomatic complexity, flog, flay, railroad, reek, roodi, stats and churn reports"
task :all => MetricFu.metrics
task :set_testing_env do
\ No newline at end of file