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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 577f3ba7a0b16748ac4ea09192da659ec70a2e9a
4
- data.tar.gz: 2a56294e904a385080a97970830c23652f6323d0
3
+ metadata.gz: ff5daaf6442d4b70be9c7f3888150f0a12a70661
4
+ data.tar.gz: b0c48c0017f95a99b2a2215bbee1109808e8c5a8
5
5
  SHA512:
6
- metadata.gz: 3feecaf7cf2c268f03a23090f341b0102654ad546c2df8f5a47b6d0f7a807a67af70d6e357d8f4134b848b272afb7ee725d905728a501ade5acda02b18a2daa7
7
- data.tar.gz: 9af8b91ba39ea2759cb59c97b8fd52f8fa803ec46566c49ac6bdcdfb3bc576b366c3379538531214bcb548f862238b96710238ba9115c0b418427a7240b535a8
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
@@ -13,7 +13,7 @@ module Coverband
13
13
  Coverband.configuration.logger.info results.inspect
14
14
  end
15
15
 
16
- File.open('./tmp/coverband_baseline.json', 'w') {|f| f.write(results.to_json) }
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 = {})
@@ -1,3 +1,3 @@
1
1
  module Coverband
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
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.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-27 00:00:00.000000000 Z
11
+ date: 2014-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler