coverband 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/coverband/configuration.rb +2 -1
- data/lib/coverband/reporter.rb +1 -1
- data/lib/coverband/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff5daaf6442d4b70be9c7f3888150f0a12a70661
|
4
|
+
data.tar.gz: b0c48c0017f95a99b2a2215bbee1109808e8c5a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a273640660fe4a87f2c7bc325865ad90f5ae0ce22d9f730d9e9002f9282e6421beccab62f5a973b6c6472c4ddf41745400815c133f1094309d70a54464b2772
|
7
|
+
data.tar.gz: cac85909606d5fd2f45b93dd795dc3be8375d69e3651909d58c9982de0e1f4ff120615997e6af8031d03f8b90f889d3fc8cc2c7b6f9775433be6d8502c5860ba
|
@@ -1,12 +1,13 @@
|
|
1
1
|
module Coverband
|
2
2
|
class Configuration
|
3
|
-
attr_accessor :redis, :coverage_baseline, :root_paths, :root, :ignore, :percentage, :verbose, :reporter, :stats, :logger, :startup_delay
|
3
|
+
attr_accessor :redis, :coverage_baseline, :root_paths, :root, :ignore, :percentage, :verbose, :reporter, :stats, :logger, :startup_delay, :baseline_file
|
4
4
|
|
5
5
|
def initialize
|
6
6
|
@root = Dir.pwd
|
7
7
|
@redis = nil
|
8
8
|
@stats = nil
|
9
9
|
@coverage_baseline = {}
|
10
|
+
@baseline_file = './tmp/coverband_baseline.json'
|
10
11
|
@root_paths = []
|
11
12
|
@ignore = []
|
12
13
|
@percentage = 0.0
|
data/lib/coverband/reporter.rb
CHANGED
@@ -13,7 +13,7 @@ module Coverband
|
|
13
13
|
Coverband.configuration.logger.info results.inspect
|
14
14
|
end
|
15
15
|
|
16
|
-
File.open(
|
16
|
+
File.open(Coverband.configuration.baseline_file, 'w') {|f| f.write(results.to_json) }
|
17
17
|
end
|
18
18
|
|
19
19
|
def self.report(options = {})
|
data/lib/coverband/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coverband
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Mayer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|