Rakefile in rails-footnotes-3.6.5 vs Rakefile in rails-footnotes-3.6.6

- old
+ new

@@ -4,11 +4,11 @@ begin require 'jeweler' Jeweler::Tasks.new do |s| s.name = "rails-footnotes" - s.version = "3.6.5" + s.version = "3.6.6" s.rubyforge_project = "rails-footnotes" s.summary = "Every Rails page has footnotes that gives information about your application and links back to your editor." s.email = "jose@plataformatec.com.br" s.homepage = "http://github.com/josevalim/rails-footnotes" s.description = "Every Rails page has footnotes that gives information about your application and links back to your editor." @@ -33,6 +33,17 @@ rdoc.title = 'Footnotes' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README') rdoc.rdoc_files.include('MIT-LICENSE') rdoc.rdoc_files.include('lib/**/*.rb') +end + +begin + require 'metric_fu' + MetricFu::Configuration.run do |config| + #skipping: churn, :stats + config.metrics = [:saikuro, :flog, :flay, :reek, :roodi, :rcov] + # config.graphs = [:flog, :flay, :reek, :roodi, :rcov] + config.rcov[:rcov_opts] << "-Itest" + end +rescue LoadError end