kettle-soup-cover 3.0.13 → 3.0.15
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 +81 -9
- data/README.md +6 -41
- data/lib/kettle/soup/cover/config.rb +3 -6
- data/lib/kettle/soup/cover/constants.rb +2 -0
- data/lib/kettle/soup/cover/coverage_thresholds.rb +62 -0
- data/lib/kettle/soup/cover/version.rb +1 -1
- data/lib/kettle/soup/cover.rb +2 -6
- data.tar.gz.sig +0 -0
- metadata +18 -16
- 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: 3bb6413d706639bbf337f05ae0194e9eadadc4f1895ce15d957e7acf1cebf3c9
|
|
4
|
+
data.tar.gz: 43bef6d581344f6362fabfc8288f1bb348faf123b922bb2f159fdc5f28ecec35
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0d727362c805584e8325ac03027b9ebfba6a13a051a49eb16a0994bb42dbbb6938caa6e6d63745878b25f31b864f000606372a1dd231310c4222e0c7812eaf59
|
|
7
|
+
data.tar.gz: 324aa2a82800376f0fa641fcebd758d928c819209d0bc346acf8502f77c5b2c8d4c2dcd3860b79a154687e2980a3a1ce91d9387f807e92f54d0b24656ae07200
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -22,6 +22,80 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
22
22
|
|
|
23
23
|
### Changed
|
|
24
24
|
|
|
25
|
+
### Deprecated
|
|
26
|
+
|
|
27
|
+
### Removed
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
### Security
|
|
32
|
+
|
|
33
|
+
## [3.0.15] - 2026-10-25
|
|
34
|
+
|
|
35
|
+
- TAG: [v3.0.15][3.0.15t]
|
|
36
|
+
- COVERAGE: 99.67% -- 303/304 lines in 13 files
|
|
37
|
+
- BRANCH COVERAGE: 91.11% -- 82/90 branches in 13 files
|
|
38
|
+
- 20.99% documented
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
|
|
42
|
+
- `K_SOUP_COV_MIN_STRICT=true` opts into strict coverage criteria, enabling branch and
|
|
43
|
+
method coverage (and eval coverage where supported) and requiring 100% line, branch,
|
|
44
|
+
and method coverage when hard minimum enforcement is on.
|
|
45
|
+
|
|
46
|
+
### Changed
|
|
47
|
+
|
|
48
|
+
- [kc] kettle-jem/prepare: updated 9 project files:
|
|
49
|
+
- dependencies (9)
|
|
50
|
+
|
|
51
|
+
- [kc] kettle-jem/template: updated 4 project files:
|
|
52
|
+
- dependencies (2)
|
|
53
|
+
- documentation (1)
|
|
54
|
+
- workflows (1)
|
|
55
|
+
|
|
56
|
+
### Fixed
|
|
57
|
+
|
|
58
|
+
- Strict branch, method, and supported eval metrics stay enabled in turbo_tests2 workers
|
|
59
|
+
even though hard threshold enforcement is disabled there, allowing final collation to
|
|
60
|
+
enforce the 100% line, branch, and method minimums.
|
|
61
|
+
|
|
62
|
+
- With `K_SOUP_COV_MIN_HARD=true` and `K_SOUP_COV_MIN_STRICT` unset or false,
|
|
63
|
+
the SimpleCov config and the turbo_tests2 collation now merge
|
|
64
|
+
`K_SOUP_COV_MIN_LINE` and `K_SOUP_COV_MIN_BRANCH` into the minimums a
|
|
65
|
+
project already configured (for example with SimpleCov's `strict` profile
|
|
66
|
+
in `.simplecov`) instead of replacing them. The higher value wins for each
|
|
67
|
+
criterion, and criteria kettle-soup-cover does not manage, such as method
|
|
68
|
+
coverage, are kept. Before, a project's method minimum was silently dropped
|
|
69
|
+
and its line and branch minimums could be lowered, with no way to restore
|
|
70
|
+
them after collation.
|
|
71
|
+
|
|
72
|
+
## [3.0.14] - 2026-10-25
|
|
73
|
+
|
|
74
|
+
- TAG: [v3.0.14][3.0.14t]
|
|
75
|
+
- COVERAGE: 100.00% -- 282/282 lines in 12 files
|
|
76
|
+
- BRANCH COVERAGE: 91.67% -- 77/84 branches in 12 files
|
|
77
|
+
- 20.00% documented
|
|
78
|
+
|
|
79
|
+
### Changed
|
|
80
|
+
|
|
81
|
+
- [kc] kettle-jem/prepare: updated 19 project files:
|
|
82
|
+
- dependencies (19)
|
|
83
|
+
|
|
84
|
+
- [kc] kettle-jem/template: updated 10 project files:
|
|
85
|
+
- code and tests (2)
|
|
86
|
+
- dependencies (2)
|
|
87
|
+
- documentation (1)
|
|
88
|
+
- workflows (5)
|
|
89
|
+
|
|
90
|
+
## [3.0.13] - 2026-10-15
|
|
91
|
+
|
|
92
|
+
- TAG: [v3.0.13][3.0.13t]
|
|
93
|
+
- COVERAGE: 100.00% -- 282/282 lines in 12 files
|
|
94
|
+
- BRANCH COVERAGE: 91.67% -- 77/84 branches in 12 files
|
|
95
|
+
- 20.00% documented
|
|
96
|
+
|
|
97
|
+
### Changed
|
|
98
|
+
|
|
25
99
|
- [kc] kettle-jem/prepare: updated 7 project files:
|
|
26
100
|
- configuration (1)
|
|
27
101
|
- dependencies (6)
|
|
@@ -31,14 +105,6 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
31
105
|
- documentation (1)
|
|
32
106
|
- workflows (17)
|
|
33
107
|
|
|
34
|
-
### Deprecated
|
|
35
|
-
|
|
36
|
-
### Removed
|
|
37
|
-
|
|
38
|
-
### Fixed
|
|
39
|
-
|
|
40
|
-
### Security
|
|
41
|
-
|
|
42
108
|
## [3.0.12] - 2026-10-10
|
|
43
109
|
|
|
44
110
|
- TAG: [v3.0.12][3.0.12t]
|
|
@@ -800,7 +866,13 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
800
866
|
|
|
801
867
|
- Initial release
|
|
802
868
|
|
|
803
|
-
[Unreleased]: https://github.com/kettle-dev/kettle-soup-cover/compare/v3.0.
|
|
869
|
+
[Unreleased]: https://github.com/kettle-dev/kettle-soup-cover/compare/v3.0.15...HEAD
|
|
870
|
+
[3.0.15]: https://github.com/kettle-dev/kettle-soup-cover/compare/v3.0.14...v3.0.15
|
|
871
|
+
[3.0.15t]: https://github.com/kettle-dev/kettle-soup-cover/releases/tag/v3.0.15
|
|
872
|
+
[3.0.14]: https://github.com/kettle-dev/kettle-soup-cover/compare/v3.0.13...v3.0.14
|
|
873
|
+
[3.0.14t]: https://github.com/kettle-dev/kettle-soup-cover/releases/tag/v3.0.14
|
|
874
|
+
[3.0.13]: https://github.com/kettle-dev/kettle-soup-cover/compare/v3.0.12...v3.0.13
|
|
875
|
+
[3.0.13t]: https://github.com/kettle-dev/kettle-soup-cover/releases/tag/v3.0.13
|
|
804
876
|
[3.0.12]: https://github.com/kettle-dev/kettle-soup-cover/compare/v3.0.11...v3.0.12
|
|
805
877
|
[3.0.12t]: https://github.com/kettle-dev/kettle-soup-cover/releases/tag/v3.0.12
|
|
806
878
|
[3.0.11]: https://github.com/kettle-dev/kettle-soup-cover/compare/v3.0.10...v3.0.11
|
data/README.md
CHANGED
|
@@ -97,6 +97,7 @@ where this library is considered a package of [SOUP](https://en.wikipedia.org/wi
|
|
|
97
97
|
|
|
98
98
|
Compatible with MRI Ruby 3.2.0+, JRuby, and TruffleRuby.
|
|
99
99
|
CI workflows and Appraisals are generated for MRI Ruby 3.2.0+.
|
|
100
|
+
The current MRI CI lane runs on Linux and macOS.
|
|
100
101
|
This test floor is configured by `ruby.test_minimum` in `.kettle-jem.yml` and
|
|
101
102
|
may be higher than the gem's runtime compatibility floor when legacy Rubies are
|
|
102
103
|
not practical for the current toolchain.
|
|
@@ -120,23 +121,6 @@ The _amazing_ test matrix is powered by the kettle-dev stack.
|
|
|
120
121
|
|
|
121
122
|
</details>
|
|
122
123
|
|
|
123
|
-
### Runtime and Platform Support
|
|
124
|
-
|
|
125
|
-
Support tiers describe what this project's CI actually exercises, not what may
|
|
126
|
-
work in an untested environment:
|
|
127
|
-
|
|
128
|
-
- **Parallel support**: CI runs the test suite with multiple workers available.
|
|
129
|
-
- **Unsupported**: the engine/platform combination is not covered by CI and is
|
|
130
|
-
not a project compatibility claim.
|
|
131
|
-
|
|
132
|
-
| Ruby engine/version | Linux | macOS | Windows | Notes |
|
|
133
|
-
|---------------------|-------|-------|---------|-------|
|
|
134
|
-
| MRI 3.2-3.4 | Parallel support | Unsupported | Unsupported | Versioned Ruby workflows run on Linux. |
|
|
135
|
-
| MRI current | Parallel support | Parallel support | Unsupported | Current Ruby workflow covers the declared OS platforms. |
|
|
136
|
-
| MRI head | Parallel support | Unsupported | Unsupported | CI is allowed to fail while Ruby is in development. |
|
|
137
|
-
| JRuby (all CI lanes) | Parallel support | Unsupported | Unsupported | Engine workflows run on Linux; macOS and Windows are not exercised by CI. |
|
|
138
|
-
| TruffleRuby (all CI lanes) | Parallel support | Unsupported | Unsupported | Never shipped a Windows build (zero Windows assets across 66 releases scanned 2026-10-10); setup-ruby hard-fails ([source](https://github.com/ruby/setup-ruby/blob/master/README.md)) |
|
|
139
|
-
|
|
140
124
|
### Federated DVCS
|
|
141
125
|
|
|
142
126
|
<details markdown="1">
|
|
@@ -152,29 +136,12 @@ work in an untested environment:
|
|
|
152
136
|
|
|
153
137
|
### Enterprise Support
|
|
154
138
|
|
|
155
|
-
[
|
|
156
|
-
|
|
157
|
-
Available as part of the Tidelift Subscription.
|
|
158
|
-
|
|
159
|
-
<details markdown="1">
|
|
160
|
-
<summary>Need enterprise-level guarantees?</summary>
|
|
161
|
-
|
|
162
|
-
The maintainers of this and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source packages you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact packages you use.
|
|
163
|
-
|
|
164
|
-
[![Get help from me on Tidelift][🏙️entsup-tidelift-img]][🏙️entsup-tidelift]
|
|
139
|
+
For enterprise support from the maintainer, use [Upwork][👨🏼🏫expsup-upwork] or [CodeMentor][👨🏼🏫expsup-codementor].
|
|
165
140
|
|
|
166
|
-
|
|
167
|
-
- 💡Tidelift is part of [Sonar][🏙️entsup-tidelift-sonar]
|
|
168
|
-
- 💡Tidelift pays maintainers to maintain the software you depend on!<br/>📊`@`Pointy Haired Boss: An [enterprise support][🏙️entsup-tidelift] subscription is "[never gonna let you down][🧮kloc]", and *supports* open source maintainers
|
|
169
|
-
|
|
170
|
-
Alternatively:
|
|
141
|
+
Other support channels:
|
|
171
142
|
|
|
172
143
|
- [![Ruby Users Forum][✉️ruby-forum-img]][✉️ruby-forum]
|
|
173
144
|
- [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
|
|
174
|
-
- [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork]
|
|
175
|
-
- [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor]
|
|
176
|
-
|
|
177
|
-
</details>
|
|
178
145
|
|
|
179
146
|
## ✨ Installation
|
|
180
147
|
|
|
@@ -630,6 +597,7 @@ See [LICENSE.md][📄license] for the official copyright notice.
|
|
|
630
597
|
<summary>Copyright holders</summary>
|
|
631
598
|
|
|
632
599
|
- Copyright (c) 2023-2026 Peter H. Boling
|
|
600
|
+
- Copyright (c) 2026 Erik Berlin
|
|
633
601
|
|
|
634
602
|
</details>
|
|
635
603
|
|
|
@@ -727,9 +695,6 @@ Thanks for RTFM. ☺️
|
|
|
727
695
|
[👨🏼🏫expsup-upwork-img]: https://img.shields.io/badge/UpWork-13544E?style=for-the-badge&logo=Upwork&logoColor=white
|
|
728
696
|
[👨🏼🏫expsup-codementor]: https://www.codementor.io/peterboling?utm_source=github&utm_medium=button&utm_term=peterboling&utm_campaign=github
|
|
729
697
|
[👨🏼🏫expsup-codementor-img]: https://img.shields.io/badge/CodeMentor-Get_Help-1abc9c?style=for-the-badge&logo=CodeMentor&logoColor=white
|
|
730
|
-
[🏙️entsup-tidelift]: https://tidelift.com/subscription/pkg/rubygems-kettle-soup-cover?utm_source=rubygems-kettle-soup-cover&utm_medium=referral&utm_campaign=readme
|
|
731
|
-
[🏙️entsup-tidelift-img]: https://img.shields.io/badge/Tidelift_and_Sonar-Enterprise_Support-FD3456?style=for-the-badge&logo=sonar&logoColor=white
|
|
732
|
-
[🏙️entsup-tidelift-sonar]: https://blog.tidelift.com/tidelift-joins-sonar
|
|
733
698
|
[💁🏼♂️peterboling]: http://www.peterboling.com
|
|
734
699
|
[🚂railsbling]: http://www.railsbling.com
|
|
735
700
|
[📜src-gl-img]: https://img.shields.io/badge/GitLab-FBA326?style=for-the-badge&logo=Gitlab&logoColor=orange
|
|
@@ -819,7 +784,7 @@ Thanks for RTFM. ☺️
|
|
|
819
784
|
[📌gitmoji]: https://gitmoji.dev
|
|
820
785
|
[📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
|
|
821
786
|
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
|
|
822
|
-
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.
|
|
787
|
+
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.304-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
|
|
823
788
|
[🔐security]: https://github.com/kettle-dev/kettle-soup-cover/blob/main/SECURITY.md
|
|
824
789
|
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
|
|
825
790
|
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
|
@@ -849,5 +814,5 @@ Thanks for RTFM. ☺️
|
|
|
849
814
|
| Homepage | https://github.com/kettle-dev/kettle-soup-cover |
|
|
850
815
|
| Source | https://github.com/kettle-dev/kettle-soup-cover |
|
|
851
816
|
| License | `AGPL-3.0-only` |
|
|
852
|
-
| Funding | https://github.com/sponsors/pboling, https://ko-fi.com/pboling, https://liberapay.com/pboling/donate, https://opencollective.com/kettle-dev, https://thanks.dev/u/gh/pboling, https://
|
|
817
|
+
| Funding | https://github.com/sponsors/pboling, https://ko-fi.com/pboling, https://liberapay.com/pboling/donate, https://opencollective.com/kettle-dev, https://thanks.dev/u/gh/pboling, https://www.buymeacoffee.com/pboling |
|
|
853
818
|
<!-- kettle-jem:metadata:end -->
|
|
@@ -20,6 +20,8 @@ require_relative "constants" unless defined?(Kettle::Soup::Cover::Constants)
|
|
|
20
20
|
require_relative "loaders" unless defined?(Kettle::Soup::Cover::Loaders)
|
|
21
21
|
require_relative "formatters" unless defined?(Kettle::Soup::Cover) && Kettle::Soup::Cover.respond_to?(:configure_formatters!)
|
|
22
22
|
|
|
23
|
+
require_relative "coverage_thresholds" unless defined?(Kettle::Soup::Cover::CoverageThresholds)
|
|
24
|
+
|
|
23
25
|
SimpleCov.configure do
|
|
24
26
|
cover("lib/**/*.rb")
|
|
25
27
|
|
|
@@ -54,12 +56,7 @@ SimpleCov.configure do
|
|
|
54
56
|
# - If explicitly set to false (K_SOUP_COV_MIN_HARD=false), never enforce minimum coverage
|
|
55
57
|
# - If explicitly set to true (K_SOUP_COV_MIN_HARD=true), always enforce minimum coverage
|
|
56
58
|
# - If not set, defaults to IS_CI (enforce in CI, don't enforce locally)
|
|
57
|
-
|
|
58
|
-
minimum_coverage(
|
|
59
|
-
branch: Kettle::Soup::Cover::Constants::MIN_COVERAGE_BRANCH,
|
|
60
|
-
line: Kettle::Soup::Cover::Constants::MIN_COVERAGE_LINE
|
|
61
|
-
)
|
|
62
|
-
end
|
|
59
|
+
Kettle::Soup::Cover::CoverageThresholds.configure!(self)
|
|
63
60
|
end
|
|
64
61
|
|
|
65
62
|
# Clean up stale resultset entries from prior runs before SimpleCov.start.
|
|
@@ -76,6 +76,7 @@ module Kettle
|
|
|
76
76
|
end
|
|
77
77
|
MIN_COVERAGE_BRANCH = ENV_GET.call("MIN_BRANCH", "80").to_i
|
|
78
78
|
MIN_COVERAGE_LINE = ENV_GET.call("MIN_LINE", "80").to_i
|
|
79
|
+
MIN_COVERAGE_STRICT = ENV_GET.call("MIN_STRICT", Constants::FALSE).casecmp?(Constants::TRUE)
|
|
79
80
|
MULTI_FORMATTERS_DEFAULT = if IS_CI
|
|
80
81
|
Constants::TRUE
|
|
81
82
|
else
|
|
@@ -147,6 +148,7 @@ module Kettle
|
|
|
147
148
|
MERGE_TIMEOUT
|
|
148
149
|
MIN_COVERAGE_BRANCH
|
|
149
150
|
MIN_COVERAGE_LINE
|
|
151
|
+
MIN_COVERAGE_STRICT
|
|
150
152
|
MIN_COVERAGE_HARD
|
|
151
153
|
MIN_COVERAGE_HARD_REQUESTED
|
|
152
154
|
MULTI_FORMATTERS_DEFAULT
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Kettle
|
|
4
|
+
module Soup
|
|
5
|
+
module Cover
|
|
6
|
+
# Applies the selected SimpleCov minimum coverage policy.
|
|
7
|
+
module CoverageThresholds
|
|
8
|
+
module_function
|
|
9
|
+
|
|
10
|
+
def configure!(configuration)
|
|
11
|
+
configure_strict_criteria!(configuration)
|
|
12
|
+
configure_minimum!(configuration) if Constants::MIN_COVERAGE_HARD
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def configure_strict_criteria!(configuration)
|
|
16
|
+
return unless Constants::MIN_COVERAGE_STRICT
|
|
17
|
+
|
|
18
|
+
configuration.enable_coverage(:branch)
|
|
19
|
+
configuration.enable_coverage(:method)
|
|
20
|
+
if SimpleCov::Configuration.method_defined?(:coverage_for_eval_supported?) &&
|
|
21
|
+
configuration.coverage_for_eval_supported?
|
|
22
|
+
configuration.enable_coverage(:eval)
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
def configure_minimum!(configuration)
|
|
27
|
+
if Constants::MIN_COVERAGE_STRICT
|
|
28
|
+
configuration.minimum_coverage(line: 100, branch: 100, method: 100)
|
|
29
|
+
else
|
|
30
|
+
# SimpleCov's `minimum_coverage(hash)` replaces the whole minimums
|
|
31
|
+
# Hash, so merge into the minimums already configured (for example
|
|
32
|
+
# by the project's .simplecov) instead of dropping or lowering them.
|
|
33
|
+
configuration.minimum_coverage(
|
|
34
|
+
merge_minimum_coverage(
|
|
35
|
+
configuration.minimum_coverage,
|
|
36
|
+
branch: Constants::MIN_COVERAGE_BRANCH,
|
|
37
|
+
line: Constants::MIN_COVERAGE_LINE
|
|
38
|
+
)
|
|
39
|
+
)
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Merges minimums into minimums that are already configured.
|
|
44
|
+
#
|
|
45
|
+
# For each criterion the higher of the two values wins, so a minimum
|
|
46
|
+
# the project set itself is never lowered. Criteria only `existing`
|
|
47
|
+
# has, such as method coverage, are kept as they are.
|
|
48
|
+
#
|
|
49
|
+
# @param existing [Hash{Symbol => Numeric}] the current minimums, as
|
|
50
|
+
# answered by SimpleCov's `minimum_coverage` reader (empty when
|
|
51
|
+
# nothing is configured)
|
|
52
|
+
# @param minimums [Hash{Symbol => Numeric}] the minimums to merge in
|
|
53
|
+
# @return [Hash{Symbol => Numeric}] a new Hash (`existing` is left unmodified)
|
|
54
|
+
def merge_minimum_coverage(existing, minimums)
|
|
55
|
+
existing.merge(minimums) do |_criterion, current, minimum|
|
|
56
|
+
[current, minimum].compact.max
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
@@ -6,7 +6,7 @@ module Kettle
|
|
|
6
6
|
# Version namespace for this gem.
|
|
7
7
|
module Version
|
|
8
8
|
# Current gem version.
|
|
9
|
-
VERSION = "3.0.
|
|
9
|
+
VERSION = "3.0.15"
|
|
10
10
|
end
|
|
11
11
|
# Current gem version exposed at the traditional constant location.
|
|
12
12
|
VERSION = Version::VERSION # Traditional Constant Location
|
data/lib/kettle/soup/cover.rb
CHANGED
|
@@ -29,6 +29,7 @@ require "stringio"
|
|
|
29
29
|
require_relative "cover/constants"
|
|
30
30
|
require_relative "cover/loaders"
|
|
31
31
|
require_relative "cover/formatters"
|
|
32
|
+
require_relative "cover/coverage_thresholds"
|
|
32
33
|
require_relative "cover/version"
|
|
33
34
|
|
|
34
35
|
module Kettle
|
|
@@ -105,12 +106,7 @@ module Kettle
|
|
|
105
106
|
|
|
106
107
|
Kettle::Soup::Cover.configure_formatters!
|
|
107
108
|
|
|
108
|
-
|
|
109
|
-
minimum_coverage(
|
|
110
|
-
branch: Constants::MIN_COVERAGE_BRANCH,
|
|
111
|
-
line: Constants::MIN_COVERAGE_LINE
|
|
112
|
-
)
|
|
113
|
-
end
|
|
109
|
+
Kettle::Soup::Cover::CoverageThresholds.configure!(self)
|
|
114
110
|
end
|
|
115
111
|
end
|
|
116
112
|
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
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.15
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Peter H. Boling
|
|
8
|
+
- Erik Berlin
|
|
8
9
|
bindir: exe
|
|
9
10
|
cert_chain:
|
|
10
11
|
- |
|
|
@@ -46,7 +47,7 @@ dependencies:
|
|
|
46
47
|
version: '0.1'
|
|
47
48
|
- - ">="
|
|
48
49
|
- !ruby/object:Gem::Version
|
|
49
|
-
version: 0.1.
|
|
50
|
+
version: 0.1.13
|
|
50
51
|
type: :runtime
|
|
51
52
|
prerelease: false
|
|
52
53
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -56,7 +57,7 @@ dependencies:
|
|
|
56
57
|
version: '0.1'
|
|
57
58
|
- - ">="
|
|
58
59
|
- !ruby/object:Gem::Version
|
|
59
|
-
version: 0.1.
|
|
60
|
+
version: 0.1.13
|
|
60
61
|
- !ruby/object:Gem::Dependency
|
|
61
62
|
name: simplecov
|
|
62
63
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -154,7 +155,7 @@ dependencies:
|
|
|
154
155
|
version: '1.1'
|
|
155
156
|
- - ">="
|
|
156
157
|
- !ruby/object:Gem::Version
|
|
157
|
-
version: 1.1.
|
|
158
|
+
version: 1.1.17
|
|
158
159
|
type: :runtime
|
|
159
160
|
prerelease: false
|
|
160
161
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -164,7 +165,7 @@ dependencies:
|
|
|
164
165
|
version: '1.1'
|
|
165
166
|
- - ">="
|
|
166
167
|
- !ruby/object:Gem::Version
|
|
167
|
-
version: 1.1.
|
|
168
|
+
version: 1.1.17
|
|
168
169
|
- !ruby/object:Gem::Dependency
|
|
169
170
|
name: kettle-dev
|
|
170
171
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -174,7 +175,7 @@ dependencies:
|
|
|
174
175
|
version: '3.1'
|
|
175
176
|
- - ">="
|
|
176
177
|
- !ruby/object:Gem::Version
|
|
177
|
-
version: 3.1.
|
|
178
|
+
version: 3.1.25
|
|
178
179
|
type: :development
|
|
179
180
|
prerelease: false
|
|
180
181
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -184,7 +185,7 @@ dependencies:
|
|
|
184
185
|
version: '3.1'
|
|
185
186
|
- - ">="
|
|
186
187
|
- !ruby/object:Gem::Version
|
|
187
|
-
version: 3.1.
|
|
188
|
+
version: 3.1.25
|
|
188
189
|
- !ruby/object:Gem::Dependency
|
|
189
190
|
name: bundler-audit
|
|
190
191
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -248,7 +249,7 @@ dependencies:
|
|
|
248
249
|
version: '0.1'
|
|
249
250
|
- - ">="
|
|
250
251
|
- !ruby/object:Gem::Version
|
|
251
|
-
version: 0.1.
|
|
252
|
+
version: 0.1.5
|
|
252
253
|
type: :development
|
|
253
254
|
prerelease: false
|
|
254
255
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -258,7 +259,7 @@ dependencies:
|
|
|
258
259
|
version: '0.1'
|
|
259
260
|
- - ">="
|
|
260
261
|
- !ruby/object:Gem::Version
|
|
261
|
-
version: 0.1.
|
|
262
|
+
version: 0.1.5
|
|
262
263
|
- !ruby/object:Gem::Dependency
|
|
263
264
|
name: appraisal2
|
|
264
265
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -268,7 +269,7 @@ dependencies:
|
|
|
268
269
|
version: '3.2'
|
|
269
270
|
- - ">="
|
|
270
271
|
- !ruby/object:Gem::Version
|
|
271
|
-
version: 3.2.
|
|
272
|
+
version: 3.2.6
|
|
272
273
|
type: :development
|
|
273
274
|
prerelease: false
|
|
274
275
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -278,7 +279,7 @@ dependencies:
|
|
|
278
279
|
version: '3.2'
|
|
279
280
|
- - ">="
|
|
280
281
|
- !ruby/object:Gem::Version
|
|
281
|
-
version: 3.2.
|
|
282
|
+
version: 3.2.6
|
|
282
283
|
- !ruby/object:Gem::Dependency
|
|
283
284
|
name: kettle-test
|
|
284
285
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -288,7 +289,7 @@ dependencies:
|
|
|
288
289
|
version: '2.0'
|
|
289
290
|
- - ">="
|
|
290
291
|
- !ruby/object:Gem::Version
|
|
291
|
-
version: 2.0.
|
|
292
|
+
version: 2.0.28
|
|
292
293
|
type: :development
|
|
293
294
|
prerelease: false
|
|
294
295
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -298,7 +299,7 @@ dependencies:
|
|
|
298
299
|
version: '2.0'
|
|
299
300
|
- - ">="
|
|
300
301
|
- !ruby/object:Gem::Version
|
|
301
|
-
version: 2.0.
|
|
302
|
+
version: 2.0.28
|
|
302
303
|
- !ruby/object:Gem::Dependency
|
|
303
304
|
name: turbo_tests2
|
|
304
305
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -392,6 +393,7 @@ files:
|
|
|
392
393
|
- lib/kettle/soup/cover.rb
|
|
393
394
|
- lib/kettle/soup/cover/config.rb
|
|
394
395
|
- lib/kettle/soup/cover/constants.rb
|
|
396
|
+
- lib/kettle/soup/cover/coverage_thresholds.rb
|
|
395
397
|
- lib/kettle/soup/cover/filters/gt_line_filter.rb
|
|
396
398
|
- lib/kettle/soup/cover/filters/lt_line_filter.rb
|
|
397
399
|
- lib/kettle/soup/cover/formatters.rb
|
|
@@ -407,10 +409,10 @@ licenses:
|
|
|
407
409
|
- AGPL-3.0-only
|
|
408
410
|
metadata:
|
|
409
411
|
homepage_uri: https://kettle-soup-cover.galtzo.com/
|
|
410
|
-
source_code_uri: https://github.com/kettle-dev/kettle-soup-cover/tree/v3.0.
|
|
411
|
-
changelog_uri: https://github.com/kettle-dev/kettle-soup-cover/blob/v3.0.
|
|
412
|
+
source_code_uri: https://github.com/kettle-dev/kettle-soup-cover/tree/v3.0.15
|
|
413
|
+
changelog_uri: https://github.com/kettle-dev/kettle-soup-cover/blob/v3.0.15/CHANGELOG.md
|
|
412
414
|
bug_tracker_uri: https://github.com/kettle-dev/kettle-soup-cover/issues
|
|
413
|
-
documentation_uri: https://www.rubydoc.info/gems/kettle-soup-cover/3.0.
|
|
415
|
+
documentation_uri: https://www.rubydoc.info/gems/kettle-soup-cover/3.0.15
|
|
414
416
|
funding_uri: https://github.com/sponsors/pboling
|
|
415
417
|
wiki_uri: https://github.com/kettle-dev/kettle-soup-cover/wiki
|
|
416
418
|
news_uri: https://www.railsbling.com/tags/kettle-soup-cover
|
metadata.gz.sig
CHANGED
|
Binary file
|