undercover 0.7.1 → 0.7.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: cb507959b33f47004438d9cba6c7cf02dfa8d439e20e34caf341e2f2375fcc04
4
- data.tar.gz: 3f801011026a04205318a607b303199aa940c01c4421d06ff2ec99a9edba5886
3
+ metadata.gz: 7f341b6d38bd4e04ea3c1a24d16b3bc579687aa56346324a84bcc371f457bf89
4
+ data.tar.gz: 28e44ac1b1ff7238a27d4cadfcca432a17435dffcf64ddb885123260050e2788
5
5
  SHA512:
6
- metadata.gz: 0540c422fa1729247cd1136402c1246c7cec3e4276077be48368397d26947c2ca41c8247aa6488f5e1aa8d0690f239c0ef9360da8c9ba912bb3d00b92bfbafde
7
- data.tar.gz: ced783b94a0f156d89bb8fba42c737282e879320a62cca94e00021776683873eca03d0acf216c6bdb5c56b2b9c7f52ba3e313eed378c230dace2746e0ec5ee8e
6
+ metadata.gz: dc3018cc8b775516dd88f54ce3b01a1fb74e0ba0f45603ec95a73bab8ff5d927ad75db135ed9bedc5739c352fc1d3012568a1fb96ccb21b3d0feede37202a025
7
+ data.tar.gz: 2533bf76c0d0492ca6478912e1050789e83444566c29c0e6e3907c2506189a5b528f92bac77f86874d81a44eac82a8d6d7a8a22982a144a0347050e2450959ce
@@ -22,7 +22,7 @@ jobs:
22
22
  - name: undercover (local)
23
23
  run: |
24
24
  git fetch --update-head-ok origin master:master
25
- undercover --compare master
25
+ undercover --simplecov coverage/undercover_coverage.json --compare master
26
26
  - uses: actions/upload-artifact@v4
27
27
  with:
28
28
  name: undercover-${{ matrix.ruby }}-coverage
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.2] - 2025-07-07
10
+
11
+ ### Fixed
12
+ - Resolved errors when .lcov files doesn't exist using `--lcov` CLI flag and `guess_lcov_path`
13
+
9
14
  # [0.7.0] - 2025-07-03
10
15
 
11
16
  ### Added
@@ -167,7 +172,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
167
172
  ### Added
168
173
  - First release of `undercover` 🎉
169
174
 
170
- [Unreleased]: https://github.com/grodowski/undercover/compare/v0.7.0...HEAD
175
+ [Unreleased]: https://github.com/grodowski/undercover/compare/v0.7.2...HEAD
176
+ [0.7.2]: https://github.com/grodowski/undercover/compare/v0.7.1...v0.7.2
177
+ [0.7.1]: https://github.com/grodowski/undercover/compare/v0.7.0...v0.7.1
171
178
  [0.7.0]: https://github.com/grodowski/undercover/compare/v0.6.6...v0.7.0
172
179
  [0.6.6]: https://github.com/grodowski/undercover/compare/v0.6.5...0.6.6
173
180
  [0.6.5]: https://github.com/grodowski/undercover/compare/v0.6.4...0.6.5
data/Gemfile CHANGED
@@ -10,8 +10,8 @@ gem 'pry'
10
10
  gem 'rake', '~> 13.0'
11
11
  gem 'rspec', '~> 3.0'
12
12
  gem 'rubocop'
13
+ gem 'ruby-lsp-rspec', require: false
13
14
  gem 'simplecov'
14
15
  gem 'simplecov-html'
15
16
  gem 'simplecov_json_formatter'
16
- gem 'simplecov-lcov'
17
17
  gem 'timecop'
@@ -167,7 +167,8 @@ module Undercover
167
167
 
168
168
  def guess_lcov_path
169
169
  cwd = Pathname.new(File.expand_path(path))
170
- self.lcov = File.join(cwd, 'coverage', 'lcov', "#{cwd.split.last}.lcov")
170
+ try_path = File.join(cwd, 'coverage', 'lcov', "#{cwd.split.last}.lcov")
171
+ self.lcov = try_path if File.exist?(try_path)
171
172
  end
172
173
 
173
174
  def file_filters(parser)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Undercover
4
- VERSION = '0.7.1'
4
+ VERSION = '0.7.2'
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.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Grodowski
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-07-03 00:00:00.000000000 Z
10
+ date: 2025-07-07 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: base64