coverband 0.0.22 → 0.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,6 +14,14 @@ module Coverband
14
14
  attr_accessor :configuration
15
15
  end
16
16
 
17
+ def self.parse_baseline(baseline_file = './tmp/coverband_baseline.json')
18
+ baseline = if File.exist?(baseline_file)
19
+ JSON.parse(File.read(baseline_file))
20
+ else
21
+ {}
22
+ end
23
+ end
24
+
17
25
  def self.configure(file = nil)
18
26
  self.configuration ||= Configuration.new
19
27
  if block_given?
@@ -1,3 +1,3 @@
1
1
  module Coverband
2
- VERSION = "0.0.22"
2
+ VERSION = "0.0.23"
3
3
  end
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.22
4
+ version: 0.0.23
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-03-29 00:00:00.000000000 Z
12
+ date: 2014-04-05 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: -4510058149658372560
187
+ hash: -254609835401553241
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: -4510058149658372560
196
+ hash: -254609835401553241
197
197
  requirements: []
198
198
  rubyforge_project:
199
199
  rubygems_version: 1.8.23