undercover 0.8.0 → 0.8.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: 8c8f43820b6be7cbae834f152ed56778f8fb3540e878a012ce0bb5274be7b0e3
4
- data.tar.gz: '0798f165b6deef05078311ff04822bc4c1dc708e3830b569b5575be2d1f8a3fe'
3
+ metadata.gz: 522b27800c01ddd2ed70108b080f709d4c4ec12d338c4c8ba204b54cb4c464bc
4
+ data.tar.gz: 8208f484eb86247a02b0c58d5007ce6a80e29ce125a2a39516e5ee4b8acdd43b
5
5
  SHA512:
6
- metadata.gz: 922c43acac57c8e57df9c902b9739c4f084a090e6afc9b838868e80ce8c39ea5d5e087952c40e7446fceaa97313ee686aacfef1e8a62af8dd01879d665e5abda
7
- data.tar.gz: 3d538e5526d124c9ffba53c53de75dd2e6009b0abf1de4a333ccd3e013da195b15811217d0e1a8b1b12bd7c34d47cac47c42dd6e4838cd82e3a571602c0e5966
6
+ metadata.gz: a65331bb82a3a31845fea782519a4254449264b914c26d8c54277a00a9ae4653bb183aa5bdc1f66982e991ccadea1b8a066553d616bbcc2c033bcc2c0550f0c0
7
+ data.tar.gz: d60a04cbd89cda50b486f850e68a0843aae0db0da5acc93acab565ba93e9eaf7090c14898140b0c120cd25ddd0164a3fbcd544f794859e3c466eccaa62a3afb7
@@ -7,7 +7,7 @@ jobs:
7
7
  matrix:
8
8
  ruby: ['3.4', '3.0']
9
9
  steps:
10
- - uses: actions/checkout@v4
10
+ - uses: actions/checkout@v5
11
11
  with:
12
12
  fetch-depth: 0 # fetch all since test fixtures depend on history
13
13
  - name: Set up Ruby ${{ matrix.ruby }}
@@ -31,7 +31,7 @@ jobs:
31
31
  runs-on: ubuntu-latest
32
32
  needs: build
33
33
  steps:
34
- - uses: actions/download-artifact@v4
34
+ - uses: actions/download-artifact@v5
35
35
  with:
36
36
  name: undercover-3.4-coverage
37
37
  - name: Upload coverage
data/CHANGELOG.md CHANGED
@@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ # [0.8.1] - 2025-09-27
10
+
11
+ ### Fixed
12
+ - Fix missing require in the simplecov formatter causing potential load errors if SimpleCov wasn't required first
13
+ - Fix SimpleCov filters ([#239](https://github.com/grodowski/undercover/pull/239) by [@loadkpi](https://github.com/loadkpi))
14
+
9
15
  # [0.8.0] - 2025-08-28
10
16
 
11
17
  ### Added
@@ -24,6 +24,7 @@ module Undercover
24
24
 
25
25
  def ignored_by_simplecov?(filepath)
26
26
  simplecov_filters.any? do |filter|
27
+ filter = filter.transform_keys(&:to_sym)
27
28
  if filter[:string]
28
29
  filepath.include?(filter[:string])
29
30
  elsif filter[:regex]
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'simplecov'
3
4
  require 'simplecov_json_formatter'
4
5
 
5
6
  # Patch ResultExporter to allow setting a custom export_path
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Undercover
4
- VERSION = '0.8.0'
4
+ VERSION = '0.8.1'
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: undercover
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Grodowski
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-08-28 00:00:00.000000000 Z
10
+ date: 2025-09-27 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: base64