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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b415f8a7947dbd35f4e15bb97a14f54c5384a89a2362d5bd26767ea233505ad6
4
- data.tar.gz: b196b2c82dec2a3914d8ba6255b488b7dcd5c26ccf82a9672ff63c61ee4dbcca
3
+ metadata.gz: fb439eb426932d432434081cf9e17cce9b19b90a85c71b6a4c173d20cceb9392
4
+ data.tar.gz: a2703dd7d19a18f943dd3fdaebc34faf23cc995b1cc94b673756f1b5142cf046
5
5
  SHA512:
6
- metadata.gz: a9641af92eec955168c06ee73fcba81525a443e7eabdc44304dc6b17e25d98f469461ddc80db4c325d469ef45a4ce3387954863161dff4faa7963b0c3f8da40c
7
- data.tar.gz: fe32c17ed7508581e96dc908eb50579e692f95f1956cd68d72c2c20a961047f12eccaafabae9892a9f1506dd5847218e90d15971696d2e3d9879c104fc105dd7
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.3...HEAD
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, will default to coverage.json
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
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Undercover
4
- # :nocov:
5
- VERSION = '0.7.3'
6
- # :nocov:
4
+ VERSION = '0.7.4'
7
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: undercover
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Grodowski