coverband 0.0.23 → 0.0.24
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/coverband/reporter.rb +6 -2
- data/lib/coverband/version.rb +1 -1
- metadata +4 -4
data/lib/coverband/reporter.rb
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
require 'simplecov'
|
2
|
-
|
3
1
|
module Coverband
|
4
2
|
class Reporter
|
5
3
|
|
@@ -16,6 +14,12 @@ module Coverband
|
|
16
14
|
end
|
17
15
|
|
18
16
|
def self.report(options = {})
|
17
|
+
begin
|
18
|
+
require 'simplecov' if Coverband.configuration.reporter=='scov'
|
19
|
+
rescue
|
20
|
+
puts "coverband requires simplecov in order to generate a report, when configured for the scov report style."
|
21
|
+
return
|
22
|
+
end
|
19
23
|
redis = Coverband.configuration.redis
|
20
24
|
roots = Coverband.configuration.root_paths
|
21
25
|
existing_coverage = Coverband.configuration.coverage_baseline
|
data/lib/coverband/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coverband
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.24
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-04-
|
12
|
+
date: 2014-04-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -184,7 +184,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
184
184
|
version: '0'
|
185
185
|
segments:
|
186
186
|
- 0
|
187
|
-
hash:
|
187
|
+
hash: 2870225562195560051
|
188
188
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
189
189
|
none: false
|
190
190
|
requirements:
|
@@ -193,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
193
193
|
version: '0'
|
194
194
|
segments:
|
195
195
|
- 0
|
196
|
-
hash:
|
196
|
+
hash: 2870225562195560051
|
197
197
|
requirements: []
|
198
198
|
rubyforge_project:
|
199
199
|
rubygems_version: 1.8.23
|