summaryrefslogtreecommitdiff
path: root/lib/tasks/coverage.rake
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2010-03-02 20:21:16 +0100
committerhukl <contact@smyck.org>2010-03-02 20:21:16 +0100
commit99ea43fca9cfe209c75c9361df81a8137d4d6e84 (patch)
tree68481fa49f7f05f608698f9925825eccab68f68f /lib/tasks/coverage.rake
parenta6c90c54431c11064e09c760e946cf98f55d6863 (diff)
ruby 1.9 compatibility
Diffstat (limited to 'lib/tasks/coverage.rake')
-rw-r--r--lib/tasks/coverage.rake8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/tasks/coverage.rake b/lib/tasks/coverage.rake
index a40af20..13e66de 100644
--- a/lib/tasks/coverage.rake
+++ b/lib/tasks/coverage.rake
@@ -24,10 +24,10 @@ def run_coverage(files)
24 reg_exp = [] 24 reg_exp = []
25 for show_type in show_only 25 for show_type in show_only
26 reg_exp << case show_type 26 reg_exp << case show_type
27 when 'm', 'models' : 'app\/models' 27 when 'm', 'models' then 'app\/models'
28 when 'c', 'controllers' : 'app\/controllers' 28 when 'c', 'controllers' then 'app\/controllers'
29 when 'h', 'helpers' : 'app\/helpers' 29 when 'h', 'helpers' then 'app\/helpers'
30 when 'l', 'lib' : 'lib' 30 when 'l', 'lib' then 'lib'
31 else 31 else
32 show_type 32 show_type
33 end 33 end