kettle-soup-cover 3.0.5 → 3.0.7
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 +3 -1
- data/CHANGELOG.md +88 -1
- data/README.md +16 -15
- data/exe/kettle-soup-cover +3 -1
- data/lib/kettle/soup/cover/constants.rb +2 -0
- data/lib/kettle/soup/cover/version.rb +4 -1
- data/lib/kettle/soup/cover.rb +52 -14
- data.tar.gz.sig +0 -0
- metadata +39 -18
- 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: 2a1f039346df155e65cbd6359d895f5895a998bf773f07aba366401729c901f7
|
|
4
|
+
data.tar.gz: d64db9311e425a4013b8c07a7131dde6686c84e6e1907ee6ce804907d7190f7e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ee148adff87e798b367d6c047c7f7ba5e715be7c6257064aeab788c169c0c5a532237426982eff722d70a0edd2a56c458ed6112e16a369bf9a6023a6d1187057
|
|
7
|
+
data.tar.gz: a069ee14f04941ed213529793414092d79640793a7c1c2715a5330b9c9306bc14663de96646a69b15e1fd5c6bcebe4bf1aa230d7f9e5bd23ea25e9847cb60aaa
|
checksums.yaml.gz.sig
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,89 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
30
30
|
|
|
31
31
|
### Security
|
|
32
32
|
|
|
33
|
+
## [3.0.7] - 2026-07-31
|
|
34
|
+
|
|
35
|
+
- TAG: [v3.0.7][3.0.7t]
|
|
36
|
+
- COVERAGE: 100.00% -- 282/282 lines in 12 files
|
|
37
|
+
- BRANCH COVERAGE: 91.67% -- 77/84 branches in 12 files
|
|
38
|
+
- 20.00% documented
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
|
|
42
|
+
- kettle-jem-template-20260729-005 - Gemspec metadata now publishes this
|
|
43
|
+
project's RubyForum tag as `mailing_list_uri`, and support docs link to the
|
|
44
|
+
tagged RubyForum community alongside Discord.
|
|
45
|
+
|
|
46
|
+
### Fixed
|
|
47
|
+
|
|
48
|
+
- kettle-jem-template-20260728-003 - Generated dep-heads workflows now run
|
|
49
|
+
TruffleRuby jobs with current RubyGems and Bundler, avoiding setup failures
|
|
50
|
+
before the test suite starts.
|
|
51
|
+
- kettle-jem-template-20260728-004 - Generated dep-heads workflows now use the
|
|
52
|
+
setup-ruby Bundler install path for direct appraisal Gemfiles, avoiding rv
|
|
53
|
+
lockfile parser failures on Git and path dependencies.
|
|
54
|
+
- kettle-jem-template-20260728-005 - VersionGem bootstrap now creates the
|
|
55
|
+
missing canonical version spec when a project only has shim namespace version
|
|
56
|
+
specs.
|
|
57
|
+
- kettle-jem-template-20260729-001 - Generated JRuby 9.4 workflows now use the
|
|
58
|
+
legacy manual bundle install path, avoiding setup-time Bundler full-index
|
|
59
|
+
failures against `gem.coop`.
|
|
60
|
+
- kettle-jem-template-20260729-002 - VersionGem bootstrap now preserves
|
|
61
|
+
and templates dedicated `version_gem.rb` entrypoints even when the gemspec
|
|
62
|
+
dependency is intentionally omitted, and generated anonymous-loader specs
|
|
63
|
+
cover both `version.rb` and `version_gem.rb`.
|
|
64
|
+
- kettle-jem-template-20260729-003 - Old-Ruby gems below the VersionGem runtime
|
|
65
|
+
floor now get managed minimal `version.rb` files and anonymous-loader version
|
|
66
|
+
specs without adding `version_gem`.
|
|
67
|
+
- kettle-jem-template-20260730-001 - Gemspec package file enumeration now runs
|
|
68
|
+
relative to the gemspec directory, so release package contents stay correct
|
|
69
|
+
even when the gemspec is loaded from another working directory.
|
|
70
|
+
|
|
71
|
+
## [3.0.6] - 2026-07-28
|
|
72
|
+
|
|
73
|
+
- TAG: [v3.0.6][3.0.6t]
|
|
74
|
+
- COVERAGE: 98.58% -- 278/282 lines in 12 files
|
|
75
|
+
- BRANCH COVERAGE: 91.67% -- 77/84 branches in 12 files
|
|
76
|
+
- 20.00% documented
|
|
77
|
+
|
|
78
|
+
### Added
|
|
79
|
+
|
|
80
|
+
- kettle-jem-template-20260726-001 - Projects now include YARD lint
|
|
81
|
+
configuration and documentation dependencies so documentation issues fail
|
|
82
|
+
before generated docs are refreshed.
|
|
83
|
+
|
|
84
|
+
- kettle-jem-template-20260727-001 - Spec harness documentation now lists the
|
|
85
|
+
RSpec helpers provided by `kettle-test`.
|
|
86
|
+
|
|
87
|
+
### Changed
|
|
88
|
+
|
|
89
|
+
- The `kettle-soup-cover` executable startup header is now shown only when
|
|
90
|
+
`--verbose` is passed; `-v` and `--version` still print just the executable
|
|
91
|
+
version and exit.
|
|
92
|
+
- Turbo test parent collation now runs every configured SimpleCov formatter
|
|
93
|
+
while suppressing repeated formatter status lines, keeping default task
|
|
94
|
+
coverage output compact without reducing formatter coverage.
|
|
95
|
+
|
|
96
|
+
- kettle-jem-template-20260725-002 - Version specs now use `anonymous_loader` to
|
|
97
|
+
cover `version.rb` without redefining constants, or are removed when version
|
|
98
|
+
specs are not managed for the project.
|
|
99
|
+
|
|
100
|
+
- kettle-jem-template-20260728-001 - Generated Ruby workflows now use clearer
|
|
101
|
+
setup-ruby-flash planning and can prepare appraisal-only jobs without
|
|
102
|
+
installing the main Gemfile bundle.
|
|
103
|
+
|
|
104
|
+
### Fixed
|
|
105
|
+
|
|
106
|
+
- kettle-jem-template-20260726-002 - Generated version files now document their
|
|
107
|
+
version namespace and constants, reducing warning-only YARD lint output.
|
|
108
|
+
|
|
109
|
+
- kettle-jem-template-20260726-003 - Coverage upload steps now treat Coveralls,
|
|
110
|
+
QLTY, and Codecov as optional, so provider outages do not fail CI when local
|
|
111
|
+
coverage thresholds still pass.
|
|
112
|
+
- kettle-jem-template-20260728-002 - Generated RuboCop configs now ignore the
|
|
113
|
+
same `gemfiles/vendor/bundle` tree as `.gitignore`, so vendored dependency
|
|
114
|
+
installs are not reported as project lint debt.
|
|
115
|
+
|
|
33
116
|
## [3.0.5] - 2026-07-25
|
|
34
117
|
|
|
35
118
|
- TAG: [v3.0.5][3.0.5t]
|
|
@@ -622,7 +705,11 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
622
705
|
|
|
623
706
|
- Initial release
|
|
624
707
|
|
|
625
|
-
[Unreleased]: https://github.com/kettle-dev/kettle-soup-cover/compare/v3.0.
|
|
708
|
+
[Unreleased]: https://github.com/kettle-dev/kettle-soup-cover/compare/v3.0.7...HEAD
|
|
709
|
+
[3.0.7]: https://github.com/kettle-dev/kettle-soup-cover/compare/v3.0.6...v3.0.7
|
|
710
|
+
[3.0.7t]: https://github.com/kettle-dev/kettle-soup-cover/releases/tag/v3.0.7
|
|
711
|
+
[3.0.6]: https://github.com/kettle-dev/kettle-soup-cover/compare/v3.0.5...v3.0.6
|
|
712
|
+
[3.0.6t]: https://github.com/kettle-dev/kettle-soup-cover/releases/tag/v3.0.6
|
|
626
713
|
[3.0.5]: https://github.com/kettle-dev/kettle-soup-cover/compare/v3.0.4...v3.0.5
|
|
627
714
|
[3.0.5t]: https://github.com/kettle-dev/kettle-soup-cover/releases/tag/v3.0.5
|
|
628
715
|
[3.0.4]: https://github.com/kettle-dev/kettle-soup-cover/compare/v3.0.3...v3.0.4
|
data/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
# 🥘 Kettle::Soup::Cover
|
|
4
4
|
|
|
5
|
-
[![Version][👽versioni]][👽version] [![GitHub tag (latest SemVer)][⛳️tag-img]][⛳️tag] [![License: AGPL-3.0-only][📄license-img]][📄license] [![Downloads Rank][👽dl-ranki]][👽dl-rank] [![CodeCov Test Coverage][🏀codecovi]][🏀codecov] [![Coveralls Test Coverage][🏀coveralls-img]][🏀coveralls] [![QLTY Test Coverage][🏀qlty-covi]][🏀qlty-cov] [![QLTY Maintainability][🏀qlty-mnti]][🏀qlty-mnt] [![CI Heads][🚎3-hd-wfi]][🚎3-hd-wf] [![CI Runtime Dependencies @ HEAD][🚎12-crh-wfi]][🚎12-crh-wf] [![CI Current][🚎11-c-wfi]][🚎11-c-wf] [![CI Truffle Ruby][🚎9-t-wfi]][🚎9-t-wf] [![CI JRuby][🚎10-j-wfi]][🚎10-j-wf] [![Deps Locked][🚎13-🔒️-wfi]][🚎13-🔒️-wf] [![Deps Unlocked][🚎14-🔓️-wfi]][🚎14-🔓️-wf] [![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf] [![CI Style][🚎5-st-wfi]][🚎5-st-wf]
|
|
5
|
+
[![Version][👽versioni]][👽version] [![Ruby Users Forum][✉️ruby-forum-top-img]][✉️ruby-forum] [![GitHub tag (latest SemVer)][⛳️tag-img]][⛳️tag] [![License: AGPL-3.0-only][📄license-img]][📄license] [![Downloads Rank][👽dl-ranki]][👽dl-rank] [![CodeCov Test Coverage][🏀codecovi]][🏀codecov] [![Coveralls Test Coverage][🏀coveralls-img]][🏀coveralls] [![QLTY Test Coverage][🏀qlty-covi]][🏀qlty-cov] [![QLTY Maintainability][🏀qlty-mnti]][🏀qlty-mnt] [![CI Heads][🚎3-hd-wfi]][🚎3-hd-wf] [![CI Runtime Dependencies @ HEAD][🚎12-crh-wfi]][🚎12-crh-wf] [![CI Current][🚎11-c-wfi]][🚎11-c-wf] [![CI Truffle Ruby][🚎9-t-wfi]][🚎9-t-wf] [![CI JRuby][🚎10-j-wfi]][🚎10-j-wf] [![Deps Locked][🚎13-🔒️-wfi]][🚎13-🔒️-wf] [![Deps Unlocked][🚎14-🔓️-wfi]][🚎14-🔓️-wf] [![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf] [![CI Style][🚎5-st-wfi]][🚎5-st-wf]
|
|
6
6
|
|
|
7
|
-
`if ci_badges.map(&:color).detect { it != "green"}` ☝️ [let me know][✉️discord-invite], as I may have missed the
|
|
7
|
+
`if ci_badges.map(&:color).detect { it != "green"}` ☝️ [let me know on Discord][✉️discord-invite] or [RubyForum][✉️ruby-forum], as I may have missed the notification.
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
@@ -125,17 +125,14 @@ The _amazing_ test matrix is powered by the kettle-dev stack.
|
|
|
125
125
|
<details markdown="1">
|
|
126
126
|
<summary>Find this repo on federated forges (Coming soon!)</summary>
|
|
127
127
|
|
|
128
|
-
| Federated [DVCS][💎d-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI |
|
|
129
|
-
|
|
130
|
-
| 🧪 [kettle-dev/kettle-soup-cover on GitLab][📜src-gl] | The Truth | [💚][🤝gl-issues] | [💚][🤝gl-pulls] | [💚][📜gl-wiki] | 🐭 Tiny Matrix |
|
|
131
|
-
| 🧊 [kettle-dev/kettle-soup-cover on CodeBerg][📜src-cb] | An Ethical Mirror ([Donate][🤝cb-donate]) | [💚][🤝cb-issues] | [💚][🤝cb-pulls] | ➖ | ⭕️ No Matrix |
|
|
132
|
-
| 🐙 [kettle-dev/kettle-soup-cover on GitHub][📜src-gh] | Another Mirror | [💚][🤝gh-issues] | [💚][🤝gh-pulls] | [💚][📜gh-wiki] | 💯 Full Matrix |
|
|
133
|
-
| 🎮️ [Discord Server][✉️discord-invite] | [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite] | [Let's][✉️discord-invite] | [talk][✉️discord-invite] | [about][✉️discord-invite] | [this][✉️discord-invite] | [library!][✉️discord-invite] |
|
|
128
|
+
| Federated [DVCS][💎d-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI |
|
|
129
|
+
|-------------------------------------------------|-------------------------------------------|-------------------|------------------|-----------------|----------------|
|
|
130
|
+
| 🧪 [kettle-dev/kettle-soup-cover on GitLab][📜src-gl] | The Truth | [💚][🤝gl-issues] | [💚][🤝gl-pulls] | [💚][📜gl-wiki] | 🐭 Tiny Matrix |
|
|
131
|
+
| 🧊 [kettle-dev/kettle-soup-cover on CodeBerg][📜src-cb] | An Ethical Mirror ([Donate][🤝cb-donate]) | [💚][🤝cb-issues] | [💚][🤝cb-pulls] | ➖ | ⭕️ No Matrix |
|
|
132
|
+
| 🐙 [kettle-dev/kettle-soup-cover on GitHub][📜src-gh] | Another Mirror | [💚][🤝gh-issues] | [💚][🤝gh-pulls] | [💚][📜gh-wiki] | 💯 Full Matrix |
|
|
134
133
|
|
|
135
134
|
</details>
|
|
136
135
|
|
|
137
|
-
[gh-discussions]: https://github.com/kettle-dev/kettle-soup-cover/discussions
|
|
138
|
-
|
|
139
136
|
### Enterprise Support [](https://tidelift.com/subscription/pkg/rubygems-kettle-soup-cover?utm_source=rubygems-kettle-soup-cover&utm_medium=referral&utm_campaign=readme)
|
|
140
137
|
|
|
141
138
|
Available as part of the Tidelift Subscription.
|
|
@@ -153,6 +150,7 @@ The maintainers of this and thousands of other packages are working with Tidelif
|
|
|
153
150
|
|
|
154
151
|
Alternatively:
|
|
155
152
|
|
|
153
|
+
- [![Ruby Users Forum][✉️ruby-forum-img]][✉️ruby-forum]
|
|
156
154
|
- [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
|
|
157
155
|
- [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork]
|
|
158
156
|
- [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor]
|
|
@@ -196,6 +194,7 @@ setting is read from `K_SOUP_COV_DIR`.
|
|
|
196
194
|
| `K_SOUP_COV_MULTI_FORMATTERS` | `true` on CI; otherwise `true` when any formatter is configured | Uses SimpleCov's multi-formatter support. |
|
|
197
195
|
| `K_SOUP_COV_OPEN_BIN` | `open` on macOS, `xdg-open` elsewhere | Browser-opening command for `rake coverage`. Set empty to only print the report path. |
|
|
198
196
|
| `K_SOUP_COV_PREFIX` | `K_SOUP_COV_` | Alternate namespace for all `K_SOUP_COV_*` variables. |
|
|
197
|
+
| `K_SOUP_COV_QUIET_COLLATION` | `true` | Suppresses repeated SimpleCov formatter status lines during turbo_tests2 parent collation while still running all configured formatters. Set `false` to debug formatter output. |
|
|
199
198
|
| `K_SOUP_COV_TURBO_TESTS` | `true` | Enables turbo_tests2 worker coverage isolation when `TEST_ENV_NUMBER` is present. |
|
|
200
199
|
| `K_SOUP_COV_TURBO_TESTS_DIR` | `turbo_tests` | Subdirectory for worker coverage under `K_SOUP_COV_DIR`. |
|
|
201
200
|
| `K_SOUP_COV_USE_MERGING` | `true` | Enables SimpleCov result merging. |
|
|
@@ -638,11 +637,12 @@ I'm hoping to be able to pay for my kids' health insurance this month,
|
|
|
638
637
|
so if you value the work I am doing, I need your support.
|
|
639
638
|
Please consider sponsoring me or the project.
|
|
640
639
|
|
|
641
|
-
To join the community or get help
|
|
640
|
+
To join the community or get help, use the RubyForum or Discord.
|
|
642
641
|
|
|
642
|
+
[![Ruby Users Forum][✉️ruby-forum-img]][✉️ruby-forum]
|
|
643
643
|
[![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
|
|
644
644
|
|
|
645
|
-
To say "thanks!" ☝️ Join the
|
|
645
|
+
To say "thanks!" ☝️ Join the community or 👇️ send money.
|
|
646
646
|
|
|
647
647
|
[![Sponsor kettle-dev/kettle-soup-cover on Open Source Collective][🖇osc-all-bottom-img]][🖇osc] 💌 [![Sponsor me on GitHub Sponsors][🖇sponsor-bottom-img]][🖇sponsor] 💌 [![Sponsor me on Liberapay][⛳liberapay-bottom-img]][⛳liberapay] 💌 [![Donate on PayPal][🖇paypal-bottom-img]][🖇paypal]
|
|
648
648
|
|
|
@@ -683,8 +683,9 @@ Thanks for RTFM. ☺️
|
|
|
683
683
|
[✉️discord-invite-img-ftb]: https://img.shields.io/discord/1373797679469170758?style=for-the-badge&logo=discord
|
|
684
684
|
[✉️ruby-friends-img]: https://img.shields.io/badge/daily.dev-%F0%9F%92%8E_Ruby_Friends-0A0A0A?style=for-the-badge&logo=dailydotdev&logoColor=white
|
|
685
685
|
[✉️ruby-friends]: https://app.daily.dev/squads/rubyfriends
|
|
686
|
-
[✉️ruby-forum-img]: https://img.shields.io/
|
|
687
|
-
[✉️ruby-forum]: https://
|
|
686
|
+
[✉️ruby-forum-top-img]: https://img.shields.io/discourse/topics?server=https%3A%2F%2Fwww.rubyforum.org&style=flat&logo=discourse&label=Ruby%20Users%20Forum
|
|
687
|
+
[✉️ruby-forum-img]: https://img.shields.io/discourse/topics?server=https%3A%2F%2Fwww.rubyforum.org&style=for-the-badge&logo=discourse&label=Ruby%20Users%20Forum
|
|
688
|
+
[✉️ruby-forum]: https://www.rubyforum.org/tag/kettle-dev
|
|
688
689
|
|
|
689
690
|
[✇bundle-group-pattern]: https://gist.github.com/pboling/4564780
|
|
690
691
|
[⛳️gem-namespace]: https://github.com/kettle-dev/kettle-soup-cover
|
|
@@ -814,7 +815,7 @@ Thanks for RTFM. ☺️
|
|
|
814
815
|
[📌gitmoji]: https://gitmoji.dev
|
|
815
816
|
[📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
|
|
816
817
|
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
|
|
817
|
-
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.
|
|
818
|
+
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.282-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
|
|
818
819
|
[🔐security]: https://github.com/kettle-dev/kettle-soup-cover/blob/main/SECURITY.md
|
|
819
820
|
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
|
|
820
821
|
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
data/exe/kettle-soup-cover
CHANGED
|
@@ -33,6 +33,7 @@ max_details = 20
|
|
|
33
33
|
show_detail = false
|
|
34
34
|
coverage_path = nil
|
|
35
35
|
explicit_coverage_path = false
|
|
36
|
+
show_header = false
|
|
36
37
|
|
|
37
38
|
opts = OptionParser.new do |opt|
|
|
38
39
|
opt.banner = "Usage: kettle-soup-cover [options] [coverage.json path]"
|
|
@@ -49,6 +50,7 @@ opts = OptionParser.new do |opt|
|
|
|
49
50
|
puts opt
|
|
50
51
|
exit
|
|
51
52
|
end
|
|
53
|
+
opt.on("--verbose", "Show startup header") { show_header = true }
|
|
52
54
|
opt.on("-v", "--version", "Show version") {}
|
|
53
55
|
opt.on("-l", "--lines", "Show only line coverage") { @show_lines = true }
|
|
54
56
|
opt.on("-b", "--branches", "Show only branch coverage") { @show_branches = true }
|
|
@@ -58,7 +60,7 @@ end
|
|
|
58
60
|
|
|
59
61
|
opts.parse!(ARGV)
|
|
60
62
|
|
|
61
|
-
puts "== #{script_basename} v#{Kettle::Soup::Cover::Version::VERSION} =="
|
|
63
|
+
puts "== #{script_basename} v#{Kettle::Soup::Cover::Version::VERSION} ==" if show_header
|
|
62
64
|
|
|
63
65
|
# If a positional arg is present (leftover after parsing) treat it as coverage json path
|
|
64
66
|
project_root = Dir.pwd
|
|
@@ -125,6 +125,7 @@ module Kettle
|
|
|
125
125
|
# Default merge timeout of 1 hour (3600 seconds) - enough for most test suites
|
|
126
126
|
# Set K_SOUP_COV_MERGE_TIMEOUT to override
|
|
127
127
|
MERGE_TIMEOUT = ENV_GET.call("MERGE_TIMEOUT", "3600").to_i
|
|
128
|
+
QUIET_COLLATION = ENV_GET.call("QUIET_COLLATION", Constants::TRUE).casecmp?(Constants::TRUE)
|
|
128
129
|
VERBOSE = ENV_GET.call("VERBOSE", Constants::FALSE).casecmp?(Constants::TRUE)
|
|
129
130
|
|
|
130
131
|
WASHED_CONSTANTS = {
|
|
@@ -152,6 +153,7 @@ module Kettle
|
|
|
152
153
|
MULTI_FORMATTERS
|
|
153
154
|
OPEN_BIN
|
|
154
155
|
PREFIX
|
|
156
|
+
QUIET_COLLATION
|
|
155
157
|
SIMPLECOV_COMMAND_NAME
|
|
156
158
|
TRUE
|
|
157
159
|
TEST_ENV_NUMBER
|
|
@@ -3,9 +3,12 @@
|
|
|
3
3
|
module Kettle
|
|
4
4
|
module Soup
|
|
5
5
|
module Cover
|
|
6
|
+
# Version namespace for this gem.
|
|
6
7
|
module Version
|
|
7
|
-
|
|
8
|
+
# Current gem version.
|
|
9
|
+
VERSION = "3.0.7"
|
|
8
10
|
end
|
|
11
|
+
# Current gem version exposed at the traditional constant location.
|
|
9
12
|
VERSION = Version::VERSION # Traditional Constant Location
|
|
10
13
|
end
|
|
11
14
|
end
|
data/lib/kettle/soup/cover.rb
CHANGED
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
require "fileutils"
|
|
23
23
|
require "json"
|
|
24
24
|
require "rbconfig"
|
|
25
|
+
require "stringio"
|
|
25
26
|
|
|
26
27
|
# This gem
|
|
27
28
|
require_relative "cover/version"
|
|
@@ -94,20 +95,22 @@ module Kettle
|
|
|
94
95
|
|
|
95
96
|
require "simplecov"
|
|
96
97
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
98
|
+
with_quiet_collation_output do
|
|
99
|
+
SimpleCov.collate(resultsets) do
|
|
100
|
+
command_name("#{Constants::COMMAND_NAME} (turbo_tests2)")
|
|
101
|
+
enable_coverage(:branch)
|
|
102
|
+
primary_coverage(:branch)
|
|
103
|
+
skip(Constants::FILTER_DIRS)
|
|
104
|
+
coverage_dir(File.expand_path(coverage_dir, project_root))
|
|
105
|
+
|
|
106
|
+
Kettle::Soup::Cover.configure_formatters!
|
|
107
|
+
|
|
108
|
+
if Constants::MIN_COVERAGE_HARD
|
|
109
|
+
minimum_coverage(
|
|
110
|
+
branch: Constants::MIN_COVERAGE_BRANCH,
|
|
111
|
+
line: Constants::MIN_COVERAGE_LINE
|
|
112
|
+
)
|
|
113
|
+
end
|
|
111
114
|
end
|
|
112
115
|
end
|
|
113
116
|
|
|
@@ -190,6 +193,41 @@ module Kettle
|
|
|
190
193
|
right
|
|
191
194
|
end
|
|
192
195
|
|
|
196
|
+
def with_quiet_collation_output
|
|
197
|
+
return yield unless Constants::QUIET_COLLATION && !Constants::VERBOSE
|
|
198
|
+
|
|
199
|
+
stdout = StringIO.new
|
|
200
|
+
stderr = StringIO.new
|
|
201
|
+
original_stdout = $stdout
|
|
202
|
+
original_stderr = $stderr
|
|
203
|
+
|
|
204
|
+
begin
|
|
205
|
+
$stdout = stdout
|
|
206
|
+
$stderr = stderr
|
|
207
|
+
yield
|
|
208
|
+
ensure
|
|
209
|
+
$stdout = original_stdout
|
|
210
|
+
$stderr = original_stderr
|
|
211
|
+
replay_quiet_collation_output(stdout.string, original_stdout)
|
|
212
|
+
replay_quiet_collation_output(stderr.string, original_stderr)
|
|
213
|
+
end
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
def replay_quiet_collation_output(output, io)
|
|
217
|
+
output.each_line do |line|
|
|
218
|
+
io.print(line) unless quiet_collation_formatter_line?(line)
|
|
219
|
+
end
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
def quiet_collation_formatter_line?(line)
|
|
223
|
+
stripped = line.strip
|
|
224
|
+
return true if stripped.empty?
|
|
225
|
+
return true if stripped.match?(/coverage report generated/i)
|
|
226
|
+
return true if stripped.match?(/\A(?:Line|Branch) coverage:/i)
|
|
227
|
+
|
|
228
|
+
false
|
|
229
|
+
end
|
|
230
|
+
|
|
193
231
|
def coverage_task_env(coverage_dir = Constants::COVERAGE_DIR, project_root: Dir.pwd)
|
|
194
232
|
resolved_coverage_dir = File.expand_path(coverage_dir, project_root)
|
|
195
233
|
|
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: 3.0.
|
|
4
|
+
version: 3.0.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Peter H. Boling
|
|
@@ -46,7 +46,7 @@ dependencies:
|
|
|
46
46
|
version: '0.1'
|
|
47
47
|
- - ">="
|
|
48
48
|
- !ruby/object:Gem::Version
|
|
49
|
-
version: 0.1.
|
|
49
|
+
version: 0.1.3
|
|
50
50
|
type: :runtime
|
|
51
51
|
prerelease: false
|
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -56,7 +56,7 @@ dependencies:
|
|
|
56
56
|
version: '0.1'
|
|
57
57
|
- - ">="
|
|
58
58
|
- !ruby/object:Gem::Version
|
|
59
|
-
version: 0.1.
|
|
59
|
+
version: 0.1.3
|
|
60
60
|
- !ruby/object:Gem::Dependency
|
|
61
61
|
name: simplecov
|
|
62
62
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -151,20 +151,20 @@ dependencies:
|
|
|
151
151
|
requirements:
|
|
152
152
|
- - "~>"
|
|
153
153
|
- !ruby/object:Gem::Version
|
|
154
|
-
version: '2.
|
|
154
|
+
version: '2.5'
|
|
155
155
|
- - ">="
|
|
156
156
|
- !ruby/object:Gem::Version
|
|
157
|
-
version: 2.
|
|
157
|
+
version: 2.5.13
|
|
158
158
|
type: :development
|
|
159
159
|
prerelease: false
|
|
160
160
|
version_requirements: !ruby/object:Gem::Requirement
|
|
161
161
|
requirements:
|
|
162
162
|
- - "~>"
|
|
163
163
|
- !ruby/object:Gem::Version
|
|
164
|
-
version: '2.
|
|
164
|
+
version: '2.5'
|
|
165
165
|
- - ">="
|
|
166
166
|
- !ruby/object:Gem::Version
|
|
167
|
-
version: 2.
|
|
167
|
+
version: 2.5.13
|
|
168
168
|
- !ruby/object:Gem::Dependency
|
|
169
169
|
name: bundler-audit
|
|
170
170
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -219,6 +219,26 @@ dependencies:
|
|
|
219
219
|
- - ">="
|
|
220
220
|
- !ruby/object:Gem::Version
|
|
221
221
|
version: 1.0.4
|
|
222
|
+
- !ruby/object:Gem::Dependency
|
|
223
|
+
name: anonymous_loader
|
|
224
|
+
requirement: !ruby/object:Gem::Requirement
|
|
225
|
+
requirements:
|
|
226
|
+
- - "~>"
|
|
227
|
+
- !ruby/object:Gem::Version
|
|
228
|
+
version: '0.1'
|
|
229
|
+
- - ">="
|
|
230
|
+
- !ruby/object:Gem::Version
|
|
231
|
+
version: 0.1.3
|
|
232
|
+
type: :development
|
|
233
|
+
prerelease: false
|
|
234
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
235
|
+
requirements:
|
|
236
|
+
- - "~>"
|
|
237
|
+
- !ruby/object:Gem::Version
|
|
238
|
+
version: '0.1'
|
|
239
|
+
- - ">="
|
|
240
|
+
- !ruby/object:Gem::Version
|
|
241
|
+
version: 0.1.3
|
|
222
242
|
- !ruby/object:Gem::Dependency
|
|
223
243
|
name: appraisal2
|
|
224
244
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -248,7 +268,7 @@ dependencies:
|
|
|
248
268
|
version: '2.0'
|
|
249
269
|
- - ">="
|
|
250
270
|
- !ruby/object:Gem::Version
|
|
251
|
-
version: 2.0.
|
|
271
|
+
version: 2.0.17
|
|
252
272
|
type: :development
|
|
253
273
|
prerelease: false
|
|
254
274
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -258,7 +278,7 @@ dependencies:
|
|
|
258
278
|
version: '2.0'
|
|
259
279
|
- - ">="
|
|
260
280
|
- !ruby/object:Gem::Version
|
|
261
|
-
version: 2.0.
|
|
281
|
+
version: 2.0.17
|
|
262
282
|
- !ruby/object:Gem::Dependency
|
|
263
283
|
name: turbo_tests2
|
|
264
284
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -268,7 +288,7 @@ dependencies:
|
|
|
268
288
|
version: '3.2'
|
|
269
289
|
- - ">="
|
|
270
290
|
- !ruby/object:Gem::Version
|
|
271
|
-
version: 3.2.
|
|
291
|
+
version: 3.2.3
|
|
272
292
|
type: :development
|
|
273
293
|
prerelease: false
|
|
274
294
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -278,7 +298,7 @@ dependencies:
|
|
|
278
298
|
version: '3.2'
|
|
279
299
|
- - ">="
|
|
280
300
|
- !ruby/object:Gem::Version
|
|
281
|
-
version: 3.2.
|
|
301
|
+
version: 3.2.3
|
|
282
302
|
- !ruby/object:Gem::Dependency
|
|
283
303
|
name: ruby-progressbar
|
|
284
304
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -302,7 +322,7 @@ dependencies:
|
|
|
302
322
|
version: '1.0'
|
|
303
323
|
- - ">="
|
|
304
324
|
- !ruby/object:Gem::Version
|
|
305
|
-
version: 1.0.
|
|
325
|
+
version: 1.0.7
|
|
306
326
|
type: :development
|
|
307
327
|
prerelease: false
|
|
308
328
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -312,7 +332,7 @@ dependencies:
|
|
|
312
332
|
version: '1.0'
|
|
313
333
|
- - ">="
|
|
314
334
|
- !ruby/object:Gem::Version
|
|
315
|
-
version: 1.0.
|
|
335
|
+
version: 1.0.7
|
|
316
336
|
- !ruby/object:Gem::Dependency
|
|
317
337
|
name: gitmoji-regex
|
|
318
338
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -322,7 +342,7 @@ dependencies:
|
|
|
322
342
|
version: '2.0'
|
|
323
343
|
- - ">="
|
|
324
344
|
- !ruby/object:Gem::Version
|
|
325
|
-
version: 2.0.
|
|
345
|
+
version: 2.0.10
|
|
326
346
|
type: :development
|
|
327
347
|
prerelease: false
|
|
328
348
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -332,7 +352,7 @@ dependencies:
|
|
|
332
352
|
version: '2.0'
|
|
333
353
|
- - ">="
|
|
334
354
|
- !ruby/object:Gem::Version
|
|
335
|
-
version: 2.0.
|
|
355
|
+
version: 2.0.10
|
|
336
356
|
description: "\U0001F958 A Covered Kettle of Test Coverage SOUP (Software of Unknown
|
|
337
357
|
Provenance)\nFour-line SimpleCov config, w/ curated, opinionated, pre-configured,
|
|
338
358
|
dependencies\nfor every CI platform, batteries included.\nFund overlooked open source
|
|
@@ -367,14 +387,15 @@ licenses:
|
|
|
367
387
|
- AGPL-3.0-only
|
|
368
388
|
metadata:
|
|
369
389
|
homepage_uri: https://kettle-soup-cover.galtzo.com/
|
|
370
|
-
source_code_uri: https://github.com/kettle-dev/kettle-soup-cover/tree/v3.0.
|
|
371
|
-
changelog_uri: https://github.com/kettle-dev/kettle-soup-cover/blob/v3.0.
|
|
390
|
+
source_code_uri: https://github.com/kettle-dev/kettle-soup-cover/tree/v3.0.7
|
|
391
|
+
changelog_uri: https://github.com/kettle-dev/kettle-soup-cover/blob/v3.0.7/CHANGELOG.md
|
|
372
392
|
bug_tracker_uri: https://github.com/kettle-dev/kettle-soup-cover/issues
|
|
373
|
-
documentation_uri: https://www.rubydoc.info/gems/kettle-soup-cover/3.0.
|
|
393
|
+
documentation_uri: https://www.rubydoc.info/gems/kettle-soup-cover/3.0.7
|
|
374
394
|
funding_uri: https://github.com/sponsors/pboling
|
|
375
395
|
wiki_uri: https://github.com/kettle-dev/kettle-soup-cover/wiki
|
|
376
396
|
news_uri: https://www.railsbling.com/tags/kettle-soup-cover
|
|
377
397
|
discord_uri: https://discord.gg/3qme4XHNKN
|
|
398
|
+
mailing_list_uri: https://www.rubyforum.org/tag/kettle-dev
|
|
378
399
|
rubygems_mfa_required: 'true'
|
|
379
400
|
rdoc_options:
|
|
380
401
|
- "--title"
|
metadata.gz.sig
CHANGED
|
Binary file
|