covered 0.24.0 → 0.24.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6101920cc470784c2969e8d78252c81678104f6cd882038a306e633f3ec34267
4
- data.tar.gz: 213bc88224aba333120b869360a663f02355ace3f1dcb4106c5fcdbebd61cd7e
3
+ metadata.gz: 05e2a8d6cec9c00fffb320cdb4e6a2e7da8fd9a5361ee762d00353d576c98343
4
+ data.tar.gz: b167be6adaafcbaca11040da20e8593588c810cc20baeacccf344dad73315638
5
5
  SHA512:
6
- metadata.gz: aabfd2999173af2de001ce8a4718483c9801497bb064b27c6892d8c6cb80dc8b2207db0de41a0eb8e4116deac5a2eaf8f68cc2febe8acbea84c4795b666992c1
7
- data.tar.gz: 302d49b96fcad976a40bc86422976e1526d0b410ed72112190787a8c1ea75309015fe0c6c2fa8359b8d3cf60f9b93f63b021dab063b8e3c1a08d24cb9b79fb59
6
+ metadata.gz: fc31923a4d1dfeaed6be0e7b460c3fd4dff9b9a4d5aaad7b5a6868047eb075c5be0569f981fd274ce4e0548d8c18797dd0fc05ff0ef10a4994edda2a0e1990ab
7
+ data.tar.gz: 1a298bd1af4ac74b56418f46f4cac2d2c0d7618a34c836a404481cc6c31e38795047a7b427ac93d2a2ae85ed3f52eec4b02292e97ad3b8ce8ce26bf1bb9a17d2
checksums.yaml.gz.sig CHANGED
Binary file
@@ -67,6 +67,8 @@ module Covered
67
67
  end
68
68
 
69
69
  def merge!(other)
70
+ # If the counts are non-zero and don't match, that can indicate a problem.
71
+
70
72
  other.counts.each_with_index do |count, index|
71
73
  if count
72
74
  @counts[index] ||= 0
@@ -7,7 +7,7 @@ module Covered
7
7
  class Source
8
8
  def self.for(path, **options)
9
9
  if File.exist?(path)
10
- options[:code] ||= File.read(path)
10
+ # options[:code] ||= File.read(path)
11
11
  options[:modified_time] ||= File.mtime(path)
12
12
  end
13
13
 
@@ -4,5 +4,5 @@
4
4
  # Copyright, 2018-2023, by Samuel Williams.
5
5
 
6
6
  module Covered
7
- VERSION = "0.24.0"
7
+ VERSION = "0.24.1"
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.0
4
+ version: 0.24.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file