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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 58f50678d96a05c31b08cb40c9bb21bb4c0909c278367e192c6614aa0448e955
4
- data.tar.gz: 9c9102ff8bbd1b3f1451c19a93c798d0dc2792386f429fb4c162e99fdf6fc06d
3
+ metadata.gz: 7c31699f4bebd4eef45dfbb6812c3d68f832582824cb1ec60ebb8ed23fcfc7bc
4
+ data.tar.gz: 730d71123bc52e8efbb1d4964e98c6e5253b1e94f596e9276a32dc53e3aa4abc
5
5
  SHA512:
6
- metadata.gz: 10feca5396c184766d265b37ad436b5e18eaf1f625916a430dd4c80fd3bc64b4ecd8c72668c15f386df7b88a9930f55dfdab0b8b39eb52b310902adc871936c7
7
- data.tar.gz: 8507be332a07da4223923b02097634be5e45aa5053462caac77e8e39a57bc4a74fb312fa46e79920712328d4c2bdc4fda7cb549c42c307ee579d2fd9835f204d
6
+ metadata.gz: 52e784c077f94e9c8572a2f745b4027936a1b8e1a833dd28df41d26ea40f41970feaf2ef4545aa38cf5f85bce29729fd663ebcadd385ea0134b3d0c30c91cbbd
7
+ data.tar.gz: 905b02e133b818cdd1c9b0390faf12bd4ad8002c3b8b23f0b5f489e6877fd9c58d99b582664430f89b422f8960ba17daa6610425b46c20f7f15a4b93427e3d73
checksums.yaml.gz.sig CHANGED
Binary file
@@ -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
- policy ||= context.lookup("covered:policy:current").call(paths: paths)
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
- policy.each do |coverage|
45
+ input.each do |coverage|
46
46
  statistics << coverage
47
47
  end
48
48
 
@@ -4,5 +4,5 @@
4
4
  # Copyright, 2018-2023, by Samuel Williams.
5
5
 
6
6
  module Covered
7
- VERSION = "0.24.2"
7
+ VERSION = "0.24.3"
8
8
  end
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.2
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.10
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