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 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'))
@@ -17,6 +17,7 @@ namespace :rcov do
17
17
  puts '** rcov:stats **'
18
18
  Rake::Task['rcov:units'].invoke
19
19
  Rake::Task['rcov:functionals'].invoke
20
+ Rake::Task['rcov:generate_index'].invoke
20
21
  end
21
22
 
22
23
  desc "run general rcov tests"
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 2
7
7
  - 0
8
- - 0
9
- version: 2.0.0
8
+ - 1
9
+ version: 2.0.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Bartosz Knapik