Rakefile in gravatarify-1.1.0 vs Rakefile in gravatarify-1.2.0

- old
+ new

@@ -62,19 +62,19 @@ desc 'Report code statistics for library and tests to shell.' task :stats do |t| require 'code_statistics' dirs = { 'Libraries' => 'lib', - 'Unit tests' => 'test' + 'Unit tests' => 'test/unit' }.map { |name,dir| [name, File.join(File.dirname(__FILE__), dir)] } CodeStatistics.new(*dirs).to_s end desc 'Report code coverage to HTML (doc/coverage) and shell (requires rcov).' task :coverage do |t| rm_f "doc/coverage" mkdir_p "doc/coverage" - rcov = %(rcov -Ilib:test --exclude '\/gems\/' -o doc/coverage -T test/*_test.rb ) + rcov = %(rcov -Ilib:test --exclude '\/gems\/' -o doc/coverage -T test/unit/*_test.rb ) system rcov end desc 'Report the fishy smell of bad code (requires reek)' task :smelly do |t|