undercover 0.7.3 → 0.7.4
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 +4 -4
- data/CHANGELOG.md +7 -1
- data/README.md +2 -2
- data/lib/undercover/filter_set.rb +1 -1
- data/lib/undercover/version.rb +1 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb439eb426932d432434081cf9e17cce9b19b90a85c71b6a4c173d20cceb9392
|
4
|
+
data.tar.gz: a2703dd7d19a18f943dd3fdaebc34faf23cc995b1cc94b673756f1b5142cf046
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 034ff6bd2826c4826b06780bd874e28c04c8fbcb0fcde85a5c0a1dd8901e4f5d2ebfe6c149b828c0fcf28fd4064f14ef122f69c763f59170b62d99941281d44b
|
7
|
+
data.tar.gz: 114c9a9873fb75c17a3bfe79612bfe8d2891cd2d2b2dd68f8253d49f3529def86bca607d4774d1f113ade2fd8eb2d6d5d55e53d4b47b4a5464c3a6075eb2da3b
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
# [0.7.4] - 2025-07-13
|
10
|
+
|
11
|
+
### Fixed
|
12
|
+
- Fix `fnmatch` for `FilterSet` to support glob braces (sets) in `--include-files` and `--exclude-files`
|
13
|
+
|
9
14
|
# [0.7.3] - 2025-07-13
|
10
15
|
|
11
16
|
### Fixed
|
@@ -180,7 +185,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
180
185
|
### Added
|
181
186
|
- First release of `undercover` 🎉
|
182
187
|
|
183
|
-
[Unreleased]: https://github.com/grodowski/undercover/compare/v0.7.
|
188
|
+
[Unreleased]: https://github.com/grodowski/undercover/compare/v0.7.4...HEAD
|
189
|
+
[0.7.4]: https://github.com/grodowski/undercover/compare/v0.7.3...v0.7.4
|
184
190
|
[0.7.3]: https://github.com/grodowski/undercover/compare/v0.7.2...v0.7.3
|
185
191
|
[0.7.2]: https://github.com/grodowski/undercover/compare/v0.7.1...v0.7.2
|
186
192
|
[0.7.1]: https://github.com/grodowski/undercover/compare/v0.7.0...v0.7.1
|
data/README.md
CHANGED
@@ -49,8 +49,8 @@ end
|
|
49
49
|
require 'simplecov'
|
50
50
|
require 'undercover/simplecov_formatter'
|
51
51
|
|
52
|
-
# optional,
|
53
|
-
SimpleCov::Formatter::Undercover.output_filename = 'my_project_coverage.json'
|
52
|
+
# optional, the filename defaults to `coverage.json` and is automatically recognised by the gem
|
53
|
+
# SimpleCov::Formatter::Undercover.output_filename = 'my_project_coverage.json'
|
54
54
|
SimpleCov.formatter = SimpleCov::Formatter::Undercover
|
55
55
|
|
56
56
|
SimpleCov.start do
|
@@ -10,7 +10,7 @@ module Undercover
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def include?(filepath)
|
13
|
-
fnmatch = proc { |glob| File.fnmatch(glob, filepath) }
|
13
|
+
fnmatch = proc { |glob| File.fnmatch(glob, filepath, File::FNM_EXTGLOB) }
|
14
14
|
allow_filters.any?(fnmatch) && reject_filters.none?(fnmatch)
|
15
15
|
end
|
16
16
|
end
|
data/lib/undercover/version.rb
CHANGED