covered 0.24.2 → 0.24.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/bake/covered/policy.rb +2 -2
- data/lib/covered/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c31699f4bebd4eef45dfbb6812c3d68f832582824cb1ec60ebb8ed23fcfc7bc
|
4
|
+
data.tar.gz: 730d71123bc52e8efbb1d4964e98c6e5253b1e94f596e9276a32dc53e3aa4abc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52e784c077f94e9c8572a2f745b4027936a1b8e1a833dd28df41d26ea40f41970feaf2ef4545aa38cf5f85bce29729fd663ebcadd385ea0134b3d0c30c91cbbd
|
7
|
+
data.tar.gz: 905b02e133b818cdd1c9b0390faf12bd4ad8002c3b8b23f0b5f489e6877fd9c58d99b582664430f89b422f8960ba17daa6610425b46c20f7f15a4b93427e3d73
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/bake/covered/policy.rb
CHANGED
@@ -37,12 +37,12 @@ end
|
|
37
37
|
# @parameter minimum [Float] The minimum required coverage in order to pass.
|
38
38
|
# @parameter input [Covered::Policy] The input policy to validate.
|
39
39
|
def statistics(paths: nil, minimum: 1.0, input:)
|
40
|
-
|
40
|
+
input ||= context.lookup("covered:policy:current").call(paths: paths)
|
41
41
|
|
42
42
|
# Calculate statistics:
|
43
43
|
statistics = Covered::Statistics.new
|
44
44
|
|
45
|
-
|
45
|
+
input.each do |coverage|
|
46
46
|
statistics << coverage
|
47
47
|
end
|
48
48
|
|
data/lib/covered/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: covered
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.24.
|
4
|
+
version: 0.24.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
121
|
- !ruby/object:Gem::Version
|
122
122
|
version: '0'
|
123
123
|
requirements: []
|
124
|
-
rubygems_version: 3.4.
|
124
|
+
rubygems_version: 3.4.7
|
125
125
|
signing_key:
|
126
126
|
specification_version: 4
|
127
127
|
summary: A modern approach to code coverage.
|
metadata.gz.sig
CHANGED
Binary file
|