jayzes-metric_fu 0.8.0.1 → 0.8.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/tasks/flay.rake +1 -1
- data/lib/tasks/roodi.rake +1 -1
- data/metric_fu.gemspec +1 -1
- metadata +1 -1
data/lib/tasks/flay.rake
CHANGED
@@ -4,7 +4,7 @@ namespace :metrics do
|
|
4
4
|
FLAY_FILE = File.join(FLAY_DIR, 'index.html')
|
5
5
|
|
6
6
|
desc "A code duplication report using flay"
|
7
|
-
task :
|
7
|
+
task :flay do
|
8
8
|
mkdir_p(FLAY_DIR) unless File.directory?(FLAY_DIR)
|
9
9
|
`echo '<pre>' > #{FLAY_FILE}`
|
10
10
|
`flay #{RAILS_ROOT}/test/**/*.rb #{RAILS_ROOT}/app/**/*.rb >> #{FLAY_FILE}`
|
data/lib/tasks/roodi.rake
CHANGED
@@ -4,7 +4,7 @@ namespace :metrics do
|
|
4
4
|
ROODI_FILE = File.join(ROODI_DIR, 'index.html')
|
5
5
|
|
6
6
|
desc "A Ruby coding standards report using Roodi"
|
7
|
-
task :
|
7
|
+
task :roodi do
|
8
8
|
mkdir_p(ROODI_DIR) unless File.directory?(ROODI_DIR)
|
9
9
|
`echo '<pre>' > #{ROODI_FILE}`
|
10
10
|
`roodi #{RAILS_ROOT}/lib/**/*.rb #{RAILS_ROOT}/app/**/*.rb >> #{ROODI_FILE}`
|
data/metric_fu.gemspec
CHANGED