coverband 0.1.0.preRC4 → 0.1.0.preRC5

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: c2b8156d50c00462d50ecf5e65c584a16a027357
4
- data.tar.gz: 508cfa3982dbd3235af6ebf854799076d1e821ee
3
+ metadata.gz: 1d01fc363cee5b7e35807ee4892cc9513871b5a9
4
+ data.tar.gz: 19fb35db6d177cc13a516fc173bab315a0066422
5
5
  SHA512:
6
- metadata.gz: cceef094ab5d86065ac8748174394fe5350f805e31314023040a0eae0c69bbd91355018bcaeda9739c45f5577346c8ca2a2123d5e5802537791bc0c3eefe099c
7
- data.tar.gz: 061f6b81c43f3180665529e298c17fb893c57972dc4c319d5da9f932dd0cd14403dcf68077cfa74128ca4f99fbe6e721abf163040d4725503cf389a7ef9017ed
6
+ metadata.gz: 4753806080e748d8482677c3521999a0f221f8c99e66e33d361dc30e4c5a86f08f2d48ec0424e0580f869ec4b1048f77b52b12fcde32b755a22d49e5bd4fb7ef
7
+ data.tar.gz: 97448d1f6233016403996b9ceb85ddc5dd74869a1684d95eedbdbb9cd78f27cd03a86586e3f127b7c35bfec4458c5346a0ce4c2a9421ac78cf4773760ca7b9ff
data/lib/coverband.rb CHANGED
@@ -11,7 +11,7 @@ require 'coverband/middleware'
11
11
  module Coverband
12
12
 
13
13
  class << self
14
- attr_accessor :configuration
14
+ attr_accessor :configuration_data
15
15
  end
16
16
 
17
17
  def self.parse_baseline(baseline_file = './tmp/coverband_baseline.json')
@@ -23,7 +23,7 @@ module Coverband
23
23
  end
24
24
 
25
25
  def self.configure(file = nil)
26
- self.configuration ||= Configuration.new
26
+ self.configuration_data ||= Configuration.new
27
27
  if block_given?
28
28
  yield(configuration)
29
29
  else
@@ -31,5 +31,9 @@ module Coverband
31
31
  require file
32
32
  end
33
33
  end
34
+
35
+ def self.configuration
36
+ self.configuration_data ||= Configuration.new
37
+ end
34
38
 
35
39
  end
@@ -15,5 +15,10 @@ module Coverband
15
15
  @logger = Logger.new(STDOUT)
16
16
  @startup_delay = 0
17
17
  end
18
+
19
+ def logger
20
+ @logger ||= Logger.new(STDOUT)
21
+ end
22
+
18
23
  end
19
24
  end
@@ -1,3 +1,3 @@
1
1
  module Coverband
2
- VERSION = "0.1.0.preRC4"
2
+ VERSION = "0.1.0.preRC5"
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.1.0.preRC4
4
+ version: 0.1.0.preRC5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Mayer