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 +4 -4
- data/lib/coverband.rb +6 -2
- data/lib/coverband/configuration.rb +5 -0
- data/lib/coverband/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d01fc363cee5b7e35807ee4892cc9513871b5a9
|
4
|
+
data.tar.gz: 19fb35db6d177cc13a516fc173bab315a0066422
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 :
|
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.
|
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
|
data/lib/coverband/version.rb
CHANGED