slather 2.8.1 → 2.8.2

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: 05adf16363e34b66c94cd7429e974358c3db5ec6da5e793ff5153a9502e44748
4
- data.tar.gz: 6427c7163b3d175f79c9c4b02f192254081932787a9ac81c4b3ea5bd012112c6
3
+ metadata.gz: e740d04c842a31b3cdd43d34178272bd2ae1cda7621986afd77d9b11baf44cf4
4
+ data.tar.gz: 11129984c03a94983103c5dc8565eef549db17d65a3052d8e7ba7cb0b5e290e4
5
5
  SHA512:
6
- metadata.gz: d95ef950d4cdc027a1b2f3bc961523d5e58d86014a1595c9cee9a47cbd7ab6ff025952080aa443f0c790b4df9dc1289aa8ec053c71c42a906ced810f29da53a2
7
- data.tar.gz: 5504fd56de51e429d949652da30fc5ac5684a6ad6edc2f4964effc90d6f824e83a6584f0e66f866bc81ab927c9c50e8c21fbdee70780d48473c1c4302818b443
6
+ metadata.gz: a361834b1f04eef5da4b40610a33ad18112c06860584fd64c7abab2cb08115446265c69274c083ed16742b0ced9c7db77268c16d67077cffd3569771d902eff0
7
+ data.tar.gz: 9906b2918932a535ddf85a65119629405a95c09233e233b3c85a5ace8ab099f671f123b388cb189c15a60e1435416505b11e24815abf6400e26ff09bc2b096e6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## v2.8.2
4
+
5
+ * coverage_info.include_files? needs a default true return value for when source_files is empty.
6
+ [jarrodlombardo-EventBase](https://github.com/jarrodlombardo-EventBase)
7
+ [#563](https://github.com/SlatherOrg/slather/pull/563)
8
+
3
9
  ## v2.8.1
4
10
 
5
11
  * cobertura.sourceforge.net should use https instead of http
@@ -81,9 +81,12 @@ module Slather
81
81
  end
82
82
 
83
83
  def include_file?
84
+ rv = true # default true return value to fix https://github.com/SlatherOrg/slather/issues/561
84
85
  project.source_files.any? do |include|
85
- File.fnmatch(include, source_file_pathname_relative_to_repo_root)
86
+ rv = File.fnmatch(include, source_file_pathname_relative_to_repo_root)
86
87
  end
88
+
89
+ rv
87
90
  end
88
91
 
89
92
  end
@@ -1,3 +1,3 @@
1
1
  module Slather
2
- VERSION = '2.8.1' unless defined?(Slather::VERSION)
2
+ VERSION = '2.8.2' unless defined?(Slather::VERSION)
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slather
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.1
4
+ version: 2.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Larsen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-14 00:00:00.000000000 Z
11
+ date: 2024-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler