rcov_stats 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rcov_stats.rb +1 -1
- data/lib/rcov_stats_tasks.rb +1 -0
- metadata +2 -2
data/lib/rcov_stats.rb
CHANGED
@@ -12,7 +12,7 @@ class RcovStats
|
|
12
12
|
|
13
13
|
cattr_accessor_with_default :is_rails, Object.const_defined?('Rails')
|
14
14
|
cattr_accessor_with_default :is_merb, Object.const_defined?('Merb')
|
15
|
-
cattr_accessor_with_default :root, (@@is_rails && Rails.root) or (@@is_merb && Merb.root) or nil
|
15
|
+
cattr_accessor_with_default :root, ((@@is_rails && Rails.root) or (@@is_merb && Merb.root) or nil)
|
16
16
|
cattr_accessor_with_default :rcov_stats_dir, File.dirname(__FILE__)
|
17
17
|
cattr_accessor_with_default :rcov_stats_config_file, File.join(@@root, 'config', 'rcov_stats.yml')
|
18
18
|
cattr_accessor_with_default :use_rspec, File.exists?(File.join(@@root, 'spec'))
|
data/lib/rcov_stats_tasks.rb
CHANGED