kettle-soup-cover 2.0.2 → 3.0.0.rc2
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
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +43 -1
- data/CONTRIBUTING.md +2 -2
- data/README.md +44 -20
- data/SECURITY.md +1 -1
- data/lib/kettle/soup/cover/config.rb +7 -3
- data/lib/kettle/soup/cover/constants.rb +1 -1
- data/lib/kettle/soup/cover/loaders.rb +8 -8
- data/lib/kettle/soup/cover/rakelib/coverage.rake +0 -0
- data/lib/kettle/soup/cover/version.rb +1 -1
- data/lib/kettle/soup/cover.rb +5 -1
- data/lib/kettle-soup-cover.rb +4 -0
- data/sig/kettle/soup/cover.rbs +0 -1
- data.tar.gz.sig +0 -0
- metadata +21 -53
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 340615d7a1e6c81ef8954d44bfb692965d026abe79417b7f6ab6f7f43224c7dd
|
|
4
|
+
data.tar.gz: 5ad13cfa412842ec4cd2bee15ea4805d14b73ab4bc6762e81249a1ec7242bdb0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3a8721fdfbeec82d7789030117ebcf65be1d244ade54d060c18ce1b24887bcff82e37b7652bd7a6e1ae12c7a48a8fe97bd4924f3e00b1aacff7e6a7f66ec8a11
|
|
7
|
+
data.tar.gz: 1dfba8fd2c5e3ba87f275580c6eef8556cc54e00108c78d948b95ec9c15eab3dc84225b1c3049fba7603e7710e5aaea661a63f309ca1e75a2baf242a46b7a449
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,48 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
30
30
|
|
|
31
31
|
### Security
|
|
32
32
|
|
|
33
|
+
## [3.0.0.rc2] - 2026-06-20
|
|
34
|
+
|
|
35
|
+
- TAG: [v3.0.0.rc2][3.0.0.rc2t]
|
|
36
|
+
- COVERAGE: 100.00% -- 258/258 lines in 12 files
|
|
37
|
+
- BRANCH COVERAGE: 100.00% -- 72/72 branches in 12 files
|
|
38
|
+
- 16.44% documented
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
|
|
42
|
+
- Added support for JRuby 10.1 and TruffleRuby 34.0.
|
|
43
|
+
|
|
44
|
+
### Changed
|
|
45
|
+
|
|
46
|
+
- Retemplated project metadata and CI/development automation with `kettle-jem` v7.0.0.
|
|
47
|
+
- Updated SimpleCov configuration to use the v1 `cover`, `skip`, and `merging`
|
|
48
|
+
APIs and to start coverage from the test helper instead of `.simplecov`.
|
|
49
|
+
|
|
50
|
+
### Fixed
|
|
51
|
+
|
|
52
|
+
- Fixed GitHub Actions release validation on `next` by allowing workflow push
|
|
53
|
+
triggers to run on the release branch.
|
|
54
|
+
|
|
55
|
+
## [3.0.0.rc1] - 2026-06-19
|
|
56
|
+
|
|
57
|
+
- TAG: [v3.0.0.rc1][3.0.0.rc1t]
|
|
58
|
+
- COVERAGE: 100.00% -- 247/247 lines in 11 files
|
|
59
|
+
- BRANCH COVERAGE: 100.00% -- 68/68 branches in 11 files
|
|
60
|
+
- 16.44% documented
|
|
61
|
+
|
|
62
|
+
### Changed
|
|
63
|
+
|
|
64
|
+
- Upgrade to simplecov v1.0.pre
|
|
65
|
+
- Upgrade to simplecov-cobertura v4.0.pre
|
|
66
|
+
- Upgrade to version_gem v1.1.12
|
|
67
|
+
- latest kettle-jem template
|
|
68
|
+
|
|
69
|
+
### Fixed
|
|
70
|
+
|
|
71
|
+
- Fixed LCOV formatter loading to require the maintained
|
|
72
|
+
`simplecov_lcov_formatter` dependency instead of the obsolete
|
|
73
|
+
`simplecov-lcov` library name.
|
|
74
|
+
|
|
33
75
|
## [2.0.2] - 2026-06-09
|
|
34
76
|
|
|
35
77
|
- TAG: [v2.0.2][2.0.2t]
|
|
@@ -406,7 +448,7 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
406
448
|
|
|
407
449
|
- Initial release
|
|
408
450
|
|
|
409
|
-
[Unreleased]: https://github.com/kettle-dev/kettle-soup-cover/compare/
|
|
451
|
+
[Unreleased]: https://github.com/kettle-dev/kettle-soup-cover/compare/v3.0.0.rc2...HEAD
|
|
410
452
|
[2.0.2]: https://github.com/kettle-dev/kettle-soup-cover/compare/v2.0.1...v2.0.2
|
|
411
453
|
[2.0.2t]: https://github.com/kettle-dev/kettle-soup-cover/releases/tag/v2.0.2
|
|
412
454
|
[2.0.1]: https://github.com/kettle-rb/kettle-soup-cover/compare/v2.0.0...v2.0.1
|
data/CONTRIBUTING.md
CHANGED
|
@@ -109,14 +109,14 @@ Git diff driver setup
|
|
|
109
109
|
- Git hosting forges generally ignore external diff drivers, so pull request views may still show raw textual diffs even when local `git diff` uses semantic drivers.
|
|
110
110
|
|
|
111
111
|
```console
|
|
112
|
-
K_JEM_TEMPLATING=true
|
|
112
|
+
K_JEM_TEMPLATING=true kettle-jem install
|
|
113
113
|
```
|
|
114
114
|
|
|
115
115
|
Troubleshooting Git diffs
|
|
116
116
|
- Use `git diff --no-ext-diff` to compare against Git's built-in diff output.
|
|
117
117
|
- Use `git diff --no-textconv` when a textconv projection obscures the raw file bytes you need to inspect.
|
|
118
118
|
- If Git reports a missing `smorg-*` executable, rerun `bundle install` and the setup command above, then check `git config --local --get-regexp '^diff\.smorg-'`.
|
|
119
|
-
- To remove managed local entries, run `K_JEM_TEMPLATING=true
|
|
119
|
+
- To remove managed local entries, run `K_JEM_TEMPLATING=true kettle-jem install --undo`; remove global command registrations with `git config --global --unset-all diff.smorg-ruby.command`.
|
|
120
120
|
|
|
121
121
|
For a quick starting point, this repository’s `mise.toml` defines the shared defaults, and `.env.local` can override them locally. Copy `.env.local.example` to `.env.local`, use `KEY=value` lines, and either activate `mise` in your shell or run commands through `mise exec -C /path/to/project -- ...`.
|
|
122
122
|
|
data/README.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
[![OpenCollective Backers][🖇osc-backers-i]][🖇osc-backers] [![OpenCollective Sponsors][🖇osc-sponsors-i]][🖇osc-sponsors] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate on Polar][🖇polar-img]][🖇polar] [![Donate at ko-fi.com][🖇kofi-img]][🖇kofi]
|
|
14
14
|
|
|
15
|
-
<details>
|
|
15
|
+
<details markdown="1">
|
|
16
16
|
<summary>👣 How will this project approach the September 2025 hostile takeover of RubyGems? 🚑️</summary>
|
|
17
17
|
|
|
18
18
|
I've summarized my thoughts in [this blog post](https://dev.to/galtzo/hostile-takeover-of-rubygems-my-thoughts-5hlo).
|
|
@@ -102,9 +102,9 @@ where this library is considered a package of [SOUP](https://en.wikipedia.org/wi
|
|
|
102
102
|
|
|
103
103
|
| Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
|
|
104
104
|
|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
105
|
-
| Works with JRuby | [![JRuby current Compat][💎jruby-c-i]][🚎10-j-wf] [![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf]|
|
|
106
|
-
| Works with Truffle Ruby | [![Truffle Ruby 24.2 Compat][💎truby-24.2i]][🚎truby-24.2-wf] [![Truffle Ruby 25.0 Compat][💎truby-25.0i]][🚎truby-25.0-wf] [![Truffle Ruby current Compat][💎truby-c-i]][🚎9-t-wf]|
|
|
107
|
-
| Works with MRI Ruby 4 | [![Ruby
|
|
105
|
+
| Works with JRuby | [![JRuby 10.0 Compat][💎jruby-10.0i]][🚎jruby-10.0-wf] [![JRuby current Compat][💎jruby-c-i]][🚎10-j-wf] [![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf]|
|
|
106
|
+
| Works with Truffle Ruby | [![Truffle Ruby 24.2 Compat][💎truby-24.2i]][🚎truby-24.2-wf] [![Truffle Ruby 25.0 Compat][💎truby-25.0i]][🚎truby-25.0-wf] [![Truffle Ruby 33.0 Compat][💎truby-33.0i]][🚎truby-33.0-wf] [![Truffle Ruby current Compat][💎truby-c-i]][🚎9-t-wf] [![Truffle Ruby HEAD Compat][💎truby-headi]][🚎3-hd-wf]|
|
|
107
|
+
| Works with MRI Ruby 4 | [![Ruby current Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf]|
|
|
108
108
|
| Works with MRI Ruby 3 | [![Ruby 3.2 Compat][💎ruby-3.2i]][🚎ruby-3.2-wf] [![Ruby 3.3 Compat][💎ruby-3.3i]][🚎ruby-3.3-wf] [![Ruby 3.4 Compat][💎ruby-3.4i]][🚎ruby-3.4-wf]|
|
|
109
109
|
| Support & Community | [![Join Me on Daily.dev's RubyFriends][✉️ruby-friends-img]][✉️ruby-friends] [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite] [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork] [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor] |
|
|
110
110
|
| Source | [![Source on GitLab.com][📜src-gl-img]][📜src-gl] [![Source on CodeBerg.org][📜src-cb-img]][📜src-cb] [![Source on Github.com][📜src-gh-img]][📜src-gh] [![The best SHA: dQw4w9WgXcQ!][🧮kloc-img]][🧮kloc] |
|
|
@@ -122,9 +122,24 @@ This test floor is configured by `ruby.test_minimum` in `.kettle-jem.yml` and
|
|
|
122
122
|
may be higher than the gem's runtime compatibility floor when legacy Rubies are
|
|
123
123
|
not practical for the current toolchain.
|
|
124
124
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
125
|
+
<a href="https://github.com/kettle-dev"><img alt="kettle-dev Logo by Aboling0, CC BY-SA 4.0" src="https://logos.galtzo.com/assets/images/kettle-dev/avatar-128px.svg" width="14%" align="right"/></a>
|
|
126
|
+
|
|
127
|
+
The _amazing_ test matrix is powered by the kettle-dev stack.
|
|
128
|
+
|
|
129
|
+
<details markdown="1">
|
|
130
|
+
<summary>How kettle-dev manages complexity in tests</summary>
|
|
131
|
+
|
|
132
|
+
| Gem | Source | Role | Daily download rank |
|
|
133
|
+
|-----|--------|------|---------------------|
|
|
134
|
+
| [appraisal2](https://bestgems.org/gems/appraisal2) | [GitHub](https://github.com/appraisal-rb/appraisal2) | multi-dependency Appraisal matrix generation | [](https://bestgems.org/gems/appraisal2) |
|
|
135
|
+
| [appraisal2-rubocop](https://bestgems.org/gems/appraisal2-rubocop) | [GitHub](https://github.com/appraisal-rb/appraisal2-rubocop) | RuboCop Appraisal generator integration | [](https://bestgems.org/gems/appraisal2-rubocop) |
|
|
136
|
+
| [kettle-dev](https://bestgems.org/gems/kettle-dev) | [GitHub](https://github.com/kettle-dev/kettle-dev) | development, release, and CI workflow tooling | [](https://bestgems.org/gems/kettle-dev) |
|
|
137
|
+
| [kettle-jem](https://bestgems.org/gems/kettle-jem) | [GitHub](https://github.com/kettle-dev/kettle-jem) | Appraisals & CI workflow templates | [](https://bestgems.org/gems/kettle-jem) |
|
|
138
|
+
| [kettle-test](https://bestgems.org/gems/kettle-test) | [GitHub](https://github.com/kettle-dev/kettle-test) | standard test runner and coverage harness | [](https://bestgems.org/gems/kettle-test) |
|
|
139
|
+
| [rubocop-lts](https://bestgems.org/gems/rubocop-lts) | [GitHub](https://github.com/rubocop-lts/rubocop-lts) | Ruby-version-aware linting | [](https://bestgems.org/gems/rubocop-lts) |
|
|
140
|
+
| [turbo_tests2](https://bestgems.org/gems/turbo_tests2) | [GitHub](https://github.com/galtzo-floss/turbo_tests2) | parallel test execution | [](https://bestgems.org/gems/turbo_tests2) |
|
|
141
|
+
|
|
142
|
+
</details>
|
|
128
143
|
|
|
129
144
|
### Federated DVCS
|
|
130
145
|
|
|
@@ -270,9 +285,12 @@ add two lines of code:
|
|
|
270
285
|
|
|
271
286
|
```ruby
|
|
272
287
|
require "kettle-soup-cover"
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
288
|
+
if Kettle::Soup::Cover::DO_COV
|
|
289
|
+
require "simplecov"
|
|
290
|
+
SimpleCov.start
|
|
291
|
+
# IMPORTANT: If you are using MiniTest instead of RSpec, also do this (and not in .simplecov):
|
|
292
|
+
# SimpleCov.external_at_exit = true
|
|
293
|
+
end
|
|
276
294
|
```
|
|
277
295
|
|
|
278
296
|
#### Example: Rails & RSpec
|
|
@@ -289,7 +307,10 @@ require "spec_helper"
|
|
|
289
307
|
ENV["RAILS_ENV"] ||= "test"
|
|
290
308
|
|
|
291
309
|
# Last thing before loading the app-under-test is code coverage.
|
|
292
|
-
|
|
310
|
+
if Kettle::Soup::Cover::DO_COV
|
|
311
|
+
require "simplecov"
|
|
312
|
+
SimpleCov.start
|
|
313
|
+
end
|
|
293
314
|
require File.expand_path("../config/environment", __dir__)
|
|
294
315
|
```
|
|
295
316
|
|
|
@@ -311,7 +332,8 @@ begin
|
|
|
311
332
|
require "kettle-soup-cover"
|
|
312
333
|
|
|
313
334
|
if Kettle::Soup::Cover::DO_COV
|
|
314
|
-
require "simplecov"
|
|
335
|
+
require "simplecov"
|
|
336
|
+
SimpleCov.start
|
|
315
337
|
|
|
316
338
|
# IMPORTANT: If you are using MiniTest instead of RSpec, also do this (and not in .simplecov):
|
|
317
339
|
# SimpleCov.external_at_exit = true
|
|
@@ -324,12 +346,10 @@ end
|
|
|
324
346
|
|
|
325
347
|
### All projects
|
|
326
348
|
|
|
327
|
-
In your `.simplecov` file,
|
|
349
|
+
In your `.simplecov` file, load the shared configuration:
|
|
328
350
|
|
|
329
351
|
```ruby
|
|
330
352
|
require "kettle/soup/cover/config" # 12-factor, ENV-based configuration, with good defaults!
|
|
331
|
-
# you could do this somewhere else, up to you, but you do have to do it somewhere
|
|
332
|
-
SimpleCov.start
|
|
333
353
|
```
|
|
334
354
|
|
|
335
355
|
See [Advanced Usage](#advanced-usage) below for more info,
|
|
@@ -618,7 +638,7 @@ Made with [contributors-img][🖐contrib-rocks].
|
|
|
618
638
|
|
|
619
639
|
Also see GitLab Contributors: [https://gitlab.com/kettle-dev/kettle-soup-cover/-/graphs/main][🚎contributors-gl]
|
|
620
640
|
|
|
621
|
-
<details>
|
|
641
|
+
<details markdown="1">
|
|
622
642
|
<summary>⭐️ Star History</summary>
|
|
623
643
|
|
|
624
644
|
<a href="https://star-history.com/kettle-dev/kettle-soup-cover&Date">
|
|
@@ -639,7 +659,7 @@ For most applications, prefer the [Pessimistic Version Constraint][📌pvc] with
|
|
|
639
659
|
For example:
|
|
640
660
|
|
|
641
661
|
```ruby
|
|
642
|
-
spec.add_dependency("kettle-soup-cover", "~>
|
|
662
|
+
spec.add_dependency("kettle-soup-cover", "~> 3.0")
|
|
643
663
|
```
|
|
644
664
|
|
|
645
665
|
<details markdown="1">
|
|
@@ -801,8 +821,10 @@ Thanks for RTFM. ☺️
|
|
|
801
821
|
[🚎ruby-3.2-wf]: https://github.com/kettle-dev/kettle-soup-cover/actions/workflows/ruby-3.2.yml
|
|
802
822
|
[🚎ruby-3.3-wf]: https://github.com/kettle-dev/kettle-soup-cover/actions/workflows/ruby-3.3.yml
|
|
803
823
|
[🚎ruby-3.4-wf]: https://github.com/kettle-dev/kettle-soup-cover/actions/workflows/ruby-3.4.yml
|
|
824
|
+
[🚎jruby-10.0-wf]: https://github.com/kettle-dev/kettle-soup-cover/actions/workflows/jruby-10.0.yml
|
|
804
825
|
[🚎truby-24.2-wf]: https://github.com/kettle-dev/kettle-soup-cover/actions/workflows/truffleruby-24.2.yml
|
|
805
826
|
[🚎truby-25.0-wf]: https://github.com/kettle-dev/kettle-soup-cover/actions/workflows/truffleruby-25.0.yml
|
|
827
|
+
[🚎truby-33.0-wf]: https://github.com/kettle-dev/kettle-soup-cover/actions/workflows/truffleruby-33.0.yml
|
|
806
828
|
[🚎2-cov-wf]: https://github.com/kettle-dev/kettle-soup-cover/actions/workflows/coverage.yml
|
|
807
829
|
[🚎2-cov-wfi]: https://github.com/kettle-dev/kettle-soup-cover/actions/workflows/coverage.yml/badge.svg
|
|
808
830
|
[🚎3-hd-wf]: https://github.com/kettle-dev/kettle-soup-cover/actions/workflows/heads.yml
|
|
@@ -824,12 +846,14 @@ Thanks for RTFM. ☺️
|
|
|
824
846
|
[💎ruby-3.2i]: https://img.shields.io/badge/Ruby-3.2-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
|
825
847
|
[💎ruby-3.3i]: https://img.shields.io/badge/Ruby-3.3-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
|
826
848
|
[💎ruby-3.4i]: https://img.shields.io/badge/Ruby-3.4-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
|
827
|
-
[💎ruby-4.0i]: https://img.shields.io/badge/Ruby-4.0-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
|
828
849
|
[💎ruby-c-i]: https://img.shields.io/badge/Ruby-current-CC342D?style=for-the-badge&logo=ruby&logoColor=green
|
|
829
850
|
[💎ruby-headi]: https://img.shields.io/badge/Ruby-HEAD-CC342D?style=for-the-badge&logo=ruby&logoColor=blue
|
|
830
851
|
[💎truby-24.2i]: https://img.shields.io/badge/Truffle_Ruby-24.2-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
831
852
|
[💎truby-25.0i]: https://img.shields.io/badge/Truffle_Ruby-25.0-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
853
|
+
[💎truby-33.0i]: https://img.shields.io/badge/Truffle_Ruby-33.0-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
832
854
|
[💎truby-c-i]: https://img.shields.io/badge/Truffle_Ruby-current-34BCB1?style=for-the-badge&logo=ruby&logoColor=green
|
|
855
|
+
[💎truby-headi]: https://img.shields.io/badge/Truffle_Ruby-HEAD-34BCB1?style=for-the-badge&logo=ruby&logoColor=blue
|
|
856
|
+
[💎jruby-10.0i]: https://img.shields.io/badge/JRuby-10.0-FBE742?style=for-the-badge&logo=ruby&logoColor=red
|
|
833
857
|
[💎jruby-c-i]: https://img.shields.io/badge/JRuby-current-FBE742?style=for-the-badge&logo=ruby&logoColor=green
|
|
834
858
|
[💎jruby-headi]: https://img.shields.io/badge/JRuby-HEAD-FBE742?style=for-the-badge&logo=ruby&logoColor=blue
|
|
835
859
|
[🤝gh-issues]: https://github.com/kettle-dev/kettle-soup-cover/issues
|
|
@@ -858,7 +882,7 @@ Thanks for RTFM. ☺️
|
|
|
858
882
|
[📌gitmoji]: https://gitmoji.dev
|
|
859
883
|
[📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
|
|
860
884
|
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
|
|
861
|
-
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.
|
|
885
|
+
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.258-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
|
|
862
886
|
[🔐security]: https://github.com/kettle-dev/kettle-soup-cover/blob/main/SECURITY.md
|
|
863
887
|
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
|
|
864
888
|
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
|
@@ -886,7 +910,7 @@ Thanks for RTFM. ☺️
|
|
|
886
910
|
| Package | kettle-soup-cover |
|
|
887
911
|
| Description | 🥘 A Covered Kettle of Test Coverage SOUP (Software of Unknown Provenance)<br>Four-line SimpleCov config, w/ curated, opinionated, pre-configured, dependencies<br>for every CI platform, batteries included.<br>Fund overlooked open source projects - bottom of stack, dev/test dependencies: floss-funding.dev |
|
|
888
912
|
| Homepage | https://github.com/kettle-dev/kettle-soup-cover |
|
|
889
|
-
| Source | https://github.com/kettle-dev/kettle-soup-cover
|
|
913
|
+
| Source | https://github.com/kettle-dev/kettle-soup-cover |
|
|
890
914
|
| License | `AGPL-3.0-only` |
|
|
891
915
|
| Funding | https://github.com/sponsors/pboling, https://issuehunt.io/u/pboling, https://ko-fi.com/pboling, https://liberapay.com/pboling/donate, https://opencollective.com/kettle-dev, https://opencollective.com/kettle-rb, https://patreon.com/galtzo, https://polar.sh/pboling, https://thanks.dev/u/gh/pboling, https://tidelift.com/funding/github/rubygems/kettle-soup-cover, https://www.buymeacoffee.com/pboling |
|
|
892
916
|
<!-- kettle-jem:metadata:end -->
|
data/SECURITY.md
CHANGED
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
# In your `.simplecov` file:
|
|
10
10
|
#
|
|
11
11
|
# require "kettle/soup/cover/config"
|
|
12
|
+
#
|
|
13
|
+
# In your `spec/spec_helper.rb`,
|
|
14
|
+
# after requiring SimpleCov:
|
|
15
|
+
#
|
|
12
16
|
# SimpleCov.start
|
|
13
17
|
#
|
|
14
18
|
|
|
@@ -17,7 +21,7 @@ require_relative "loaders" unless defined?(Kettle::Soup::Cover::Loaders)
|
|
|
17
21
|
require_relative "formatters" unless defined?(Kettle::Soup::Cover) && Kettle::Soup::Cover.respond_to?(:configure_formatters!)
|
|
18
22
|
|
|
19
23
|
SimpleCov.configure do
|
|
20
|
-
|
|
24
|
+
cover("lib/**/*.rb")
|
|
21
25
|
|
|
22
26
|
command_name Kettle::Soup::Cover::Constants::COMMAND_NAME
|
|
23
27
|
|
|
@@ -25,7 +29,7 @@ SimpleCov.configure do
|
|
|
25
29
|
primary_coverage :branch
|
|
26
30
|
|
|
27
31
|
# Filters (skip these paths for coverage tracking)
|
|
28
|
-
|
|
32
|
+
skip Kettle::Soup::Cover::Constants::FILTER_DIRS
|
|
29
33
|
|
|
30
34
|
# Setup Coverage Dir
|
|
31
35
|
coverage_dir(Kettle::Soup::Cover::Constants::COVERAGE_DIR)
|
|
@@ -36,7 +40,7 @@ SimpleCov.configure do
|
|
|
36
40
|
# Use Merging (merges coverage from multiple test runs, e.g., RSpec + Cucumber Test Results)
|
|
37
41
|
# This is essential for projects that split tests into multiple rake tasks
|
|
38
42
|
# (e.g., FFI specs, integration specs, unit specs run separately)
|
|
39
|
-
|
|
43
|
+
merging(Kettle::Soup::Cover::Constants::USE_MERGING) unless Kettle::Soup::Cover::Constants::USE_MERGING.nil?
|
|
40
44
|
merge_timeout(Kettle::Soup::Cover::Constants::MERGE_TIMEOUT) if Kettle::Soup::Cover::Constants::MERGE_TIMEOUT.nonzero?
|
|
41
45
|
|
|
42
46
|
# Fail build when missed coverage targets
|
|
@@ -7,18 +7,18 @@ module Kettle
|
|
|
7
7
|
def load_formatters
|
|
8
8
|
SimpleCov.formatters = Kettle::Soup::Cover::Constants::FORMATTERS
|
|
9
9
|
.each_with_object([]) do |fmt_data, formatters|
|
|
10
|
-
|
|
10
|
+
require fmt_data[:lib].to_s
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
klass = SimpleCov::Formatter.const_get(fmt_data[:klass])
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
end
|
|
14
|
+
if fmt_data[:type] == :lcov
|
|
15
|
+
klass.config do |c|
|
|
16
|
+
c.report_with_single_file = true
|
|
17
|
+
c.single_report_path = "#{Kettle::Soup::Cover::Constants::COVERAGE_DIR}/lcov.info"
|
|
19
18
|
end
|
|
19
|
+
end
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
formatters << klass
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
24
|
|
|
File without changes
|
data/lib/kettle/soup/cover.rb
CHANGED
|
@@ -11,6 +11,10 @@
|
|
|
11
11
|
# In your `.simplecov` file:
|
|
12
12
|
#
|
|
13
13
|
# require "kettle/soup/cover/config"
|
|
14
|
+
#
|
|
15
|
+
# In your `spec/spec_helper.rb`,
|
|
16
|
+
# after requiring SimpleCov:
|
|
17
|
+
#
|
|
14
18
|
# SimpleCov.start
|
|
15
19
|
#
|
|
16
20
|
|
|
@@ -101,7 +105,7 @@ module Kettle
|
|
|
101
105
|
command_name("#{Constants::COMMAND_NAME} (turbo_tests2)")
|
|
102
106
|
enable_coverage(:branch)
|
|
103
107
|
primary_coverage(:branch)
|
|
104
|
-
|
|
108
|
+
skip(Constants::FILTER_DIRS)
|
|
105
109
|
coverage_dir(File.expand_path(coverage_dir, project_root))
|
|
106
110
|
|
|
107
111
|
Kettle::Soup::Cover.configure_formatters!
|
data/lib/kettle-soup-cover.rb
CHANGED
data/sig/kettle/soup/cover.rbs
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kettle-soup-cover
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 3.0.0.rc2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Peter H. Boling
|
|
@@ -41,42 +41,30 @@ dependencies:
|
|
|
41
41
|
name: simplecov
|
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
|
43
43
|
requirements:
|
|
44
|
-
- - "~>"
|
|
45
|
-
- !ruby/object:Gem::Version
|
|
46
|
-
version: '0.22'
|
|
47
44
|
- - ">="
|
|
48
45
|
- !ruby/object:Gem::Version
|
|
49
|
-
version: 0.
|
|
46
|
+
version: 1.0.pre
|
|
50
47
|
type: :runtime
|
|
51
48
|
prerelease: false
|
|
52
49
|
version_requirements: !ruby/object:Gem::Requirement
|
|
53
50
|
requirements:
|
|
54
|
-
- - "~>"
|
|
55
|
-
- !ruby/object:Gem::Version
|
|
56
|
-
version: '0.22'
|
|
57
51
|
- - ">="
|
|
58
52
|
- !ruby/object:Gem::Version
|
|
59
|
-
version: 0.
|
|
53
|
+
version: 1.0.pre
|
|
60
54
|
- !ruby/object:Gem::Dependency
|
|
61
55
|
name: simplecov-cobertura
|
|
62
56
|
requirement: !ruby/object:Gem::Requirement
|
|
63
57
|
requirements:
|
|
64
|
-
- - "~>"
|
|
65
|
-
- !ruby/object:Gem::Version
|
|
66
|
-
version: '3.1'
|
|
67
58
|
- - ">="
|
|
68
59
|
- !ruby/object:Gem::Version
|
|
69
|
-
version:
|
|
60
|
+
version: 4.0.pre
|
|
70
61
|
type: :runtime
|
|
71
62
|
prerelease: false
|
|
72
63
|
version_requirements: !ruby/object:Gem::Requirement
|
|
73
64
|
requirements:
|
|
74
|
-
- - "~>"
|
|
75
|
-
- !ruby/object:Gem::Version
|
|
76
|
-
version: '3.1'
|
|
77
65
|
- - ">="
|
|
78
66
|
- !ruby/object:Gem::Version
|
|
79
|
-
version:
|
|
67
|
+
version: 4.0.pre
|
|
80
68
|
- !ruby/object:Gem::Dependency
|
|
81
69
|
name: simplecov-console
|
|
82
70
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -97,26 +85,6 @@ dependencies:
|
|
|
97
85
|
- - ">="
|
|
98
86
|
- !ruby/object:Gem::Version
|
|
99
87
|
version: 0.9.5
|
|
100
|
-
- !ruby/object:Gem::Dependency
|
|
101
|
-
name: simplecov-html
|
|
102
|
-
requirement: !ruby/object:Gem::Requirement
|
|
103
|
-
requirements:
|
|
104
|
-
- - "~>"
|
|
105
|
-
- !ruby/object:Gem::Version
|
|
106
|
-
version: '0.13'
|
|
107
|
-
- - ">="
|
|
108
|
-
- !ruby/object:Gem::Version
|
|
109
|
-
version: 0.13.2
|
|
110
|
-
type: :runtime
|
|
111
|
-
prerelease: false
|
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
113
|
-
requirements:
|
|
114
|
-
- - "~>"
|
|
115
|
-
- !ruby/object:Gem::Version
|
|
116
|
-
version: '0.13'
|
|
117
|
-
- - ">="
|
|
118
|
-
- !ruby/object:Gem::Version
|
|
119
|
-
version: 0.13.2
|
|
120
88
|
- !ruby/object:Gem::Dependency
|
|
121
89
|
name: simplecov_json_formatter
|
|
122
90
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -138,7 +106,7 @@ dependencies:
|
|
|
138
106
|
- !ruby/object:Gem::Version
|
|
139
107
|
version: 0.1.4
|
|
140
108
|
- !ruby/object:Gem::Dependency
|
|
141
|
-
name:
|
|
109
|
+
name: simplecov_lcov_formatter
|
|
142
110
|
requirement: !ruby/object:Gem::Requirement
|
|
143
111
|
requirements:
|
|
144
112
|
- - "~>"
|
|
@@ -186,7 +154,7 @@ dependencies:
|
|
|
186
154
|
version: '1.1'
|
|
187
155
|
- - ">="
|
|
188
156
|
- !ruby/object:Gem::Version
|
|
189
|
-
version: 1.1.
|
|
157
|
+
version: 1.1.12
|
|
190
158
|
type: :runtime
|
|
191
159
|
prerelease: false
|
|
192
160
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -196,7 +164,7 @@ dependencies:
|
|
|
196
164
|
version: '1.1'
|
|
197
165
|
- - ">="
|
|
198
166
|
- !ruby/object:Gem::Version
|
|
199
|
-
version: 1.1.
|
|
167
|
+
version: 1.1.12
|
|
200
168
|
- !ruby/object:Gem::Dependency
|
|
201
169
|
name: kettle-dev
|
|
202
170
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -206,7 +174,7 @@ dependencies:
|
|
|
206
174
|
version: '2.2'
|
|
207
175
|
- - ">="
|
|
208
176
|
- !ruby/object:Gem::Version
|
|
209
|
-
version: 2.2.
|
|
177
|
+
version: 2.2.13
|
|
210
178
|
type: :development
|
|
211
179
|
prerelease: false
|
|
212
180
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -216,7 +184,7 @@ dependencies:
|
|
|
216
184
|
version: '2.2'
|
|
217
185
|
- - ">="
|
|
218
186
|
- !ruby/object:Gem::Version
|
|
219
|
-
version: 2.2.
|
|
187
|
+
version: 2.2.13
|
|
220
188
|
- !ruby/object:Gem::Dependency
|
|
221
189
|
name: bundler-audit
|
|
222
190
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -280,7 +248,7 @@ dependencies:
|
|
|
280
248
|
version: '3.1'
|
|
281
249
|
- - ">="
|
|
282
250
|
- !ruby/object:Gem::Version
|
|
283
|
-
version: 3.1.
|
|
251
|
+
version: 3.1.2
|
|
284
252
|
type: :development
|
|
285
253
|
prerelease: false
|
|
286
254
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -290,7 +258,7 @@ dependencies:
|
|
|
290
258
|
version: '3.1'
|
|
291
259
|
- - ">="
|
|
292
260
|
- !ruby/object:Gem::Version
|
|
293
|
-
version: 3.1.
|
|
261
|
+
version: 3.1.2
|
|
294
262
|
- !ruby/object:Gem::Dependency
|
|
295
263
|
name: kettle-test
|
|
296
264
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -300,7 +268,7 @@ dependencies:
|
|
|
300
268
|
version: '2.0'
|
|
301
269
|
- - ">="
|
|
302
270
|
- !ruby/object:Gem::Version
|
|
303
|
-
version: 2.0.
|
|
271
|
+
version: 2.0.5
|
|
304
272
|
type: :development
|
|
305
273
|
prerelease: false
|
|
306
274
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -310,7 +278,7 @@ dependencies:
|
|
|
310
278
|
version: '2.0'
|
|
311
279
|
- - ">="
|
|
312
280
|
- !ruby/object:Gem::Version
|
|
313
|
-
version: 2.0.
|
|
281
|
+
version: 2.0.5
|
|
314
282
|
- !ruby/object:Gem::Dependency
|
|
315
283
|
name: turbo_tests2
|
|
316
284
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -320,7 +288,7 @@ dependencies:
|
|
|
320
288
|
version: '3.1'
|
|
321
289
|
- - ">="
|
|
322
290
|
- !ruby/object:Gem::Version
|
|
323
|
-
version: 3.1.
|
|
291
|
+
version: 3.1.4
|
|
324
292
|
type: :development
|
|
325
293
|
prerelease: false
|
|
326
294
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -330,7 +298,7 @@ dependencies:
|
|
|
330
298
|
version: '3.1'
|
|
331
299
|
- - ">="
|
|
332
300
|
- !ruby/object:Gem::Version
|
|
333
|
-
version: 3.1.
|
|
301
|
+
version: 3.1.4
|
|
334
302
|
- !ruby/object:Gem::Dependency
|
|
335
303
|
name: ruby-progressbar
|
|
336
304
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -374,7 +342,7 @@ dependencies:
|
|
|
374
342
|
version: '2.0'
|
|
375
343
|
- - ">="
|
|
376
344
|
- !ruby/object:Gem::Version
|
|
377
|
-
version: 2.0.
|
|
345
|
+
version: 2.0.2
|
|
378
346
|
type: :development
|
|
379
347
|
prerelease: false
|
|
380
348
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -384,7 +352,7 @@ dependencies:
|
|
|
384
352
|
version: '2.0'
|
|
385
353
|
- - ">="
|
|
386
354
|
- !ruby/object:Gem::Version
|
|
387
|
-
version: 2.0.
|
|
355
|
+
version: 2.0.2
|
|
388
356
|
description: "\U0001F958 A Covered Kettle of Test Coverage SOUP (Software of Unknown
|
|
389
357
|
Provenance)\nFour-line SimpleCov config, w/ curated, opinionated, pre-configured,
|
|
390
358
|
dependencies\nfor every CI platform, batteries included.\nFund overlooked open source
|
|
@@ -436,10 +404,10 @@ licenses:
|
|
|
436
404
|
- AGPL-3.0-only
|
|
437
405
|
metadata:
|
|
438
406
|
homepage_uri: https://kettle-soup-cover.galtzo.com/
|
|
439
|
-
source_code_uri: https://github.com/kettle-dev/kettle-soup-cover/tree/
|
|
440
|
-
changelog_uri: https://github.com/kettle-dev/kettle-soup-cover/blob/
|
|
407
|
+
source_code_uri: https://github.com/kettle-dev/kettle-soup-cover/tree/v3.0.0.rc2
|
|
408
|
+
changelog_uri: https://github.com/kettle-dev/kettle-soup-cover/blob/v3.0.0.rc2/CHANGELOG.md
|
|
441
409
|
bug_tracker_uri: https://github.com/kettle-dev/kettle-soup-cover/issues
|
|
442
|
-
documentation_uri: https://www.rubydoc.info/gems/kettle-soup-cover/
|
|
410
|
+
documentation_uri: https://www.rubydoc.info/gems/kettle-soup-cover/3.0.0.rc2
|
|
443
411
|
funding_uri: https://github.com/sponsors/pboling
|
|
444
412
|
wiki_uri: https://github.com/kettle-dev/kettle-soup-cover/wiki
|
|
445
413
|
news_uri: https://www.railsbling.com/tags/kettle-soup-cover
|
metadata.gz.sig
CHANGED
|
Binary file
|