Skip to content

Commit 6c13fe1

Browse files
committed
🔖 Prepare release v2.0.12
⚡️ A message from a fellow meat-based-AI ⚡️ - [❤️] Finely-crafted open-source tools like kettle-test (& many more) require time and effort. - [❤️] Though I adore my work, it lacks financial sustainability. - [❤️] Please, help me continue enhancing your tools by becoming a sponsor: - [💲] https://liberapay.com/pboling/donate - [💲] https://github.com/sponsors/pboling
1 parent 9cd079d commit 6c13fe1

10 files changed

Lines changed: 115 additions & 53 deletions

File tree

CHANGELOG.md

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,23 @@ Please file a bug if you notice a violation of semantic versioning.
2222

2323
### Changed
2424

25+
### Deprecated
26+
27+
### Removed
28+
29+
### Fixed
30+
31+
### Security
32+
33+
## [2.0.12] - 2026-07-21
34+
35+
- TAG: [v2.0.12][2.0.12t]
36+
- COVERAGE: 96.84% -- 92/95 lines in 17 files
37+
- BRANCH COVERAGE: 100.00% -- 2/2 branches in 17 files
38+
- 90.00% documented
39+
40+
### Changed
41+
2542
- kettle-jem-template-20260716-001 - Shim gemspec manifests now include
2643
`LICENSE.md` instead of nonexistent `LICENSE.txt`.
2744
- kettle-jem-template-20260716-002 - Generated gemspec manifests now ship fewer
@@ -38,14 +55,6 @@ Please file a bug if you notice a violation of semantic versioning.
3855
- kettle-jem-template-20260720-005 - Generated README Support & Community rows
3956
now include a RubyForum help badge.
4057

41-
### Deprecated
42-
43-
### Removed
44-
45-
### Fixed
46-
47-
### Security
48-
4958
## [2.0.11] - 2026-07-16
5059

5160
- TAG: [v2.0.11][2.0.11t]
@@ -427,7 +436,9 @@ Please file a bug if you notice a violation of semantic versioning.
427436
- silent_stream
428437
- timecop-rspec
429438

430-
[Unreleased]: https://github.com/kettle-dev/kettle-test/compare/v2.0.11...HEAD
439+
[Unreleased]: https://github.com/kettle-dev/kettle-test/compare/v2.0.12...HEAD
440+
[2.0.12]: https://github.com/kettle-dev/kettle-test/compare/v2.0.11...v2.0.12
441+
[2.0.12t]: https://github.com/kettle-dev/kettle-test/releases/tag/v2.0.12
431442
[2.0.11]: https://github.com/kettle-dev/kettle-test/compare/v2.0.10...v2.0.11
432443
[2.0.11t]: https://github.com/kettle-dev/kettle-test/releases/tag/v2.0.11
433444
[2.0.10]: https://github.com/kettle-dev/kettle-test/compare/v2.0.9...v2.0.10

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
kettle-test (2.0.11)
4+
kettle-test (2.0.12)
55
appraisal2 (~> 3.0, >= 3.0.6)
66
backports (~> 3.0)
77
rspec (~> 3.0)

docs/Kettle.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090

9191
<h2>Overview</h2><div class="docstring">
9292
<div class="discussion">
93-
<p>Kettle namespace for the kettle-rb ecosystem of gems.</p>
93+
<p>Kettle namespace for the kettle-dev ecosystem of gems.</p>
9494

9595

9696
</div>

docs/Kettle/Test.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090

9191
<h2>Overview</h2><div class="docstring">
9292
<div class="discussion">
93-
<p>Test support and RSpec integration for kettle-rb ecosystem.</p>
93+
<p>Test support and RSpec integration for kettle-dev ecosystem.</p>
9494

9595
<p>Exposes environment-controlled constants and helpers that tune RSpec behavior<br />
9696
(profiling, backtraces, output silencing, CI filters) and provides a minimal<br />

docs/Kettle/Test/Version.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ <h2>
9898
<dt id="VERSION-constant" class="">VERSION =
9999

100100
</dt>
101-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>2.0.11</span><span class='tstring_end'>&quot;</span></span></pre></dd>
101+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>2.0.12</span><span class='tstring_end'>&quot;</span></span></pre></dd>
102102

103103
</dl>
104104

docs/file.CHANGELOG.html

Lines changed: 48 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
and <a href="https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html">yes</a>, platform and engine support are part of the <a href="https://github.com/semver/semver/issues/716#issuecomment-869336139">public API</a>.<br>
7171
Please file a bug if you notice a violation of semantic versioning.</p>
7272

73-
<h2 id="unreleased"><a href="https://github.com/kettle-dev/kettle-test/compare/v2.0.11...HEAD">Unreleased</a></h2>
73+
<h2 id="unreleased"><a href="https://github.com/kettle-dev/kettle-test/compare/v2.0.12...HEAD">Unreleased</a></h2>
7474

7575
<h3 id="added">Added</h3>
7676

@@ -84,6 +84,38 @@ <h3 id="fixed">Fixed</h3>
8484

8585
<h3 id="security">Security</h3>
8686

87+
<h2 id="2012---2026-07-21">
88+
<a href="https://github.com/kettle-dev/kettle-test/compare/v2.0.11...v2.0.12">2.0.12</a> - 2026-07-21</h2>
89+
90+
<ul>
91+
<li>TAG: <a href="https://github.com/kettle-dev/kettle-test/releases/tag/v2.0.12">v2.0.12</a>
92+
</li>
93+
<li>COVERAGE: 96.84% – 92/95 lines in 17 files</li>
94+
<li>BRANCH COVERAGE: 100.00% – 2/2 branches in 17 files</li>
95+
<li>90.00% documented</li>
96+
</ul>
97+
98+
<h3 id="changed-1">Changed</h3>
99+
100+
<ul>
101+
<li>kettle-jem-template-20260716-001 - Shim gemspec manifests now include<br>
102+
<code>LICENSE.md</code> instead of nonexistent <code>LICENSE.txt</code>.</li>
103+
<li>
104+
<p>kettle-jem-template-20260716-002 - Generated gemspec manifests now ship fewer<br>
105+
repository-only files by default to reduce downstream distro packaging churn.</p>
106+
</li>
107+
<li>kettle-jem-template-20260720-001 - Generated READMEs can now render<br>
108+
template-managed corporate sponsor logos from project or family config.</li>
109+
<li>kettle-jem-template-20260720-002 - Generated development Gemfiles now use the<br>
110+
released <code>tree_sitter_language_pack</code> gem 1.13.3 or newer by default.</li>
111+
<li>kettle-jem-template-20260720-003 - Generated StructuredMerge Git diff driver<br>
112+
config now uses the installed <code>smorg-rb</code> Ruby driver name.</li>
113+
<li>kettle-jem-template-20260720-004 - Generated multi-engine workflow files now<br>
114+
omit JRuby and TruffleRuby jobs when project config declares MRI-only engines.</li>
115+
<li>kettle-jem-template-20260720-005 - Generated README Support &amp; Community rows<br>
116+
now include a RubyForum help badge.</li>
117+
</ul>
118+
87119
<h2 id="2011---2026-07-16">
88120
<a href="https://github.com/kettle-dev/kettle-test/compare/v2.0.10...v2.0.11">2.0.11</a> - 2026-07-16</h2>
89121

@@ -114,7 +146,7 @@ <h2 id="2010---2026-07-11">
114146
<li>90.00% documented</li>
115147
</ul>
116148

117-
<h3 id="changed-1">Changed</h3>
149+
<h3 id="changed-2">Changed</h3>
118150

119151
<ul>
120152
<li>
@@ -150,7 +182,7 @@ <h2 id="208---2026-06-27">
150182
<li>90.00% documented</li>
151183
</ul>
152184

153-
<h3 id="changed-2">Changed</h3>
185+
<h3 id="changed-3">Changed</h3>
154186

155187
<ul>
156188
<li>Runtime dependency <code>rspec-stubbed_env</code> now requires v1.0.5 or newer.</li>
@@ -167,7 +199,7 @@ <h2 id="207---2026-06-24">
167199
<li>90.00% documented</li>
168200
</ul>
169201

170-
<h3 id="changed-3">Changed</h3>
202+
<h3 id="changed-4">Changed</h3>
171203

172204
<ul>
173205
<li>Updated to latest kettle-jem template
@@ -200,7 +232,7 @@ <h3 id="added-1">Added</h3>
200232
</li>
201233
</ul>
202234

203-
<h3 id="changed-4">Changed</h3>
235+
<h3 id="changed-5">Changed</h3>
204236

205237
<ul>
206238
<li>Retemplated project metadata and CI/development automation with <code>kettle-jem</code> v7.0.0.</li>
@@ -218,7 +250,7 @@ <h2 id="205---2026-06-10">
218250
<li>90.00% documented</li>
219251
</ul>
220252

221-
<h3 id="changed-5">Changed</h3>
253+
<h3 id="changed-6">Changed</h3>
222254

223255
<ul>
224256
<li>
@@ -254,7 +286,7 @@ <h2 id="204---2026-06-08">
254286
<li>90.00% documented</li>
255287
</ul>
256288

257-
<h3 id="changed-6">Changed</h3>
289+
<h3 id="changed-7">Changed</h3>
258290

259291
<ul>
260292
<li>Retemplated project workflows with the current kettle-jem template and raised<br>
@@ -280,7 +312,7 @@ <h2 id="203---2026-06-02">
280312
<li>90.00% documented</li>
281313
</ul>
282314

283-
<h3 id="changed-7">Changed</h3>
315+
<h3 id="changed-8">Changed</h3>
284316

285317
<ul>
286318
<li>Retemplated project files with the current kettle-jem template, including<br>
@@ -307,7 +339,7 @@ <h2 id="202---2026-06-01">
307339
<li>90.00% documented</li>
308340
</ul>
309341

310-
<h3 id="changed-8">Changed</h3>
342+
<h3 id="changed-9">Changed</h3>
311343

312344
<ul>
313345
<li>Retemplated project files with the current kettle-jem template, including the<br>
@@ -336,7 +368,7 @@ <h2 id="201---2026-05-25">
336368
<li>90.00% documented</li>
337369
</ul>
338370

339-
<h3 id="changed-9">Changed</h3>
371+
<h3 id="changed-10">Changed</h3>
340372

341373
<ul>
342374
<li>Refreshed generated project templates and CI workflows.</li>
@@ -381,7 +413,7 @@ <h3 id="added-2">Added</h3>
381413
helpers and configuration constants.</li>
382414
</ul>
383415

384-
<h3 id="changed-10">Changed</h3>
416+
<h3 id="changed-11">Changed</h3>
385417

386418
<ul>
387419
<li>
@@ -391,7 +423,7 @@ <h3 id="changed-10">Changed</h3>
391423
<code>KETTLE_TEST_TURBO_NICE</code> controls for the default <code>turbo_tests2</code> runner.</li>
392424
<li>Switched the coverage test stack to <code>turbo_tests2 ~&gt; 3.0</code>.</li>
393425
<li>Migrated local development dependency wiring to the current nomono-based<br>
394-
modular Gemfile pattern used by the kettle-rb template.</li>
426+
modular Gemfile pattern used by the kettle-dev template.</li>
395427
<li>Refreshed project templating, CI workflows, and release support files from the<br>
396428
current kettle-jem full template.</li>
397429
<li>Changed the project license metadata and generated license files to<br>
@@ -411,7 +443,7 @@ <h2 id="1010---2026-02-06">
411443
<li>100.00% documented</li>
412444
</ul>
413445

414-
<h3 id="changed-11">Changed</h3>
446+
<h3 id="changed-12">Changed</h3>
415447

416448
<ul>
417449
<li>Upgraded to <a href="https://github.com/appraisal-rb/appraisal2/releases/tag/v3.0.1">appraisal2 v3.0.1</a>
@@ -463,7 +495,7 @@ <h3 id="added-4">Added</h3>
463495
</li>
464496
</ul>
465497

466-
<h3 id="changed-12">Changed</h3>
498+
<h3 id="changed-13">Changed</h3>
467499

468500
<ul>
469501
<li>Updated documentation on hostile takeover of RubyGems
@@ -550,7 +582,7 @@ <h3 id="added-8">Added</h3>
550582
<li>default config for rspec-pending_for</li>
551583
</ul>
552584

553-
<h3 id="changed-13">Changed</h3>
585+
<h3 id="changed-14">Changed</h3>
554586

555587
<ul>
556588
<li>upgraded kettle-dev to 1.1.34 for development</li>
@@ -574,7 +606,7 @@ <h3 id="added-9">Added</h3>
574606
<li>opencollective funding links to README.md</li>
575607
</ul>
576608

577-
<h3 id="changed-14">Changed</h3>
609+
<h3 id="changed-15">Changed</h3>
578610

579611
<ul>
580612
<li>kettle-dev 1.0.18 for development</li>

docs/file.CONTRIBUTING.html

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,22 @@ <h2 id="help-out">Help out!</h2>
9494
<li>Announce it in the channel for this org in the <a href="https://discord.gg/3qme4XHNKN">Discord</a>!</li>
9595
</ol>
9696

97+
<h2 id="ruby-engine-ci-branches">Ruby engine CI branches</h2>
98+
99+
<p>Pull requests run MRI workflows by default. JRuby and TruffleRuby workflows are<br>
100+
available by branch naming convention so ordinary PRs do not spend CI time on<br>
101+
alternate Ruby engines.</p>
102+
103+
<ul>
104+
<li>Use a branch named <code>jruby/*</code> to run JRuby workflows for a pull request.</li>
105+
<li>Use a branch named <code>truffleruby/*</code> to run TruffleRuby workflows for a pull<br>
106+
request.</li>
107+
<li>Use a branch named <code>engines/*</code> to run both JRuby and TruffleRuby workflows for<br>
108+
a pull request.</li>
109+
</ul>
110+
111+
<p>Pushes to the default branch continue to run the configured engine workflows.</p>
112+
97113
<h2 id="executables-vs-rake-tasks">Executables vs Rake tasks</h2>
98114

99115
<p>Executables shipped by dependencies, such as kettle-dev, and stone_checksums, are available<br>
@@ -195,7 +211,7 @@ <h2 id="environment-variables-for-local-development">Environment Variables for L
195211
<li>Use <code>git diff --no-ext-diff</code> to compare against Git’s built-in diff output.</li>
196212
<li>Use <code>git diff --no-textconv</code> when a textconv projection obscures the raw file bytes you need to inspect.</li>
197213
<li>If Git reports a missing <code>smorg-*</code> executable, rerun <code>bundle install</code> and the setup command above, then check <code>git config --local --get-regexp '^diff\.smorg-'</code>.</li>
198-
<li>To remove managed local entries, run <code>K_JEM_TEMPLATING=true kettle-jem install --undo</code>; remove global command registrations with <code>git config --global --unset-all diff.smorg-ruby.command</code>.</li>
214+
<li>To remove managed local entries, run <code>K_JEM_TEMPLATING=true kettle-jem install --undo</code>; remove global command registrations with <code>git config --global --unset-all diff.smorg-rb.command</code>, <code>git config --global --unset-all merge.smorg-rb.driver</code>, and <code>git config --global --unset-all merge.smorg-rb.name</code>.</li>
199215
</ul>
200216

201217
<p>For a quick starting point, this repository’s <code>mise.toml</code> defines the shared defaults, and <code>.env.local</code> can override them locally. Copy <code>.env.local.example</code> to <code>.env.local</code>, use <code>KEY=value</code> lines, and either activate <code>mise</code> in your shell or run commands through <code>mise exec -C /path/to/project -- ...</code>.</p>

docs/file.README.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ <h2 id="-info-you-can-shake-a-stick-at">💡 Info you can shake a stick at</h2>
168168
<tr>
169169
<td>Support &amp; Community</td>
170170
<td>
171-
<a href="https://app.daily.dev/squads/rubyfriends"><img src="https://img.shields.io/badge/daily.dev-%F0%9F%92%8E_Ruby_Friends-0A0A0A?style=for-the-badge&amp;logo=dailydotdev&amp;logoColor=white" alt="Join Me on Daily.dev's RubyFriends"></a> <a href="https://discord.gg/3qme4XHNKN"><img src="https://img.shields.io/discord/1373797679469170758?style=for-the-badge&amp;logo=discord" alt="Live Chat on Discord"></a> <a href="https://www.upwork.com/freelancers/~014942e9b056abdf86?mp_source=share"><img src="https://img.shields.io/badge/UpWork-13544E?style=for-the-badge&amp;logo=Upwork&amp;logoColor=white" alt="Get help from me on Upwork"></a> <a href="https://www.codementor.io/peterboling?utm_source=github&amp;utm_medium=button&amp;utm_term=peterboling&amp;utm_campaign=github"><img src="https://img.shields.io/badge/CodeMentor-Get_Help-1abc9c?style=for-the-badge&amp;logo=CodeMentor&amp;logoColor=white" alt="Get help from me on Codementor"></a>
171+
<a href="https://app.daily.dev/squads/rubyfriends"><img src="https://img.shields.io/badge/daily.dev-%F0%9F%92%8E_Ruby_Friends-0A0A0A?style=for-the-badge&amp;logo=dailydotdev&amp;logoColor=white" alt="Join Me on Daily.dev's RubyFriends"></a> <a href="https://www.rubyforum.org/c/help/8"><img src="https://img.shields.io/badge/RubyForum-Help-CC342D?style=for-the-badge&amp;logo=ruby&amp;logoColor=white" alt="Get help from RubyForum"></a> <a href="https://discord.gg/3qme4XHNKN"><img src="https://img.shields.io/discord/1373797679469170758?style=for-the-badge&amp;logo=discord" alt="Live Chat on Discord"></a> <a href="https://www.upwork.com/freelancers/~014942e9b056abdf86?mp_source=share"><img src="https://img.shields.io/badge/UpWork-13544E?style=for-the-badge&amp;logo=Upwork&amp;logoColor=white" alt="Get help from me on Upwork"></a> <a href="https://www.codementor.io/peterboling?utm_source=github&amp;utm_medium=button&amp;utm_term=peterboling&amp;utm_campaign=github"><img src="https://img.shields.io/badge/CodeMentor-Get_Help-1abc9c?style=for-the-badge&amp;logo=CodeMentor&amp;logoColor=white" alt="Get help from me on Codementor"></a>
172172
</td>
173173
</tr>
174174
<tr>
@@ -887,7 +887,7 @@ <h3 id="please-give-the-project-a-star--">Please give the project a star ⭐ ♥
887887
<p>| Field | Value |<br>
888888
|—|—|<br>
889889
| Package | kettle-test |<br>
890-
| Description | 🍲 Kettle::Test is a meta tool from kettle-rb to streamline testing. Acts as a shim dependency, pulling in many other dependencies, to give you OOTB productivity with a RubyGem, or Ruby app project. Configures RSpec w/ syntactic sugar to make writing tests, and testing more scenarios, easier.Configures each dependency library for proper use in the test suite, so they arrive ready to go. Fund overlooked open source projects - bottom of stack, dev/test dependencies: floss-funding.dev |<br>
890+
| Description | 🍲 Kettle::Test is a meta tool from kettle-dev to streamline testing. Acts as a shim dependency, pulling in many other dependencies, to give you OOTB productivity with a RubyGem, or Ruby app project. Configures RSpec w/ syntactic sugar to make writing tests, and testing more scenarios, easier.Configures each dependency library for proper use in the test suite, so they arrive ready to go. Fund overlooked open source projects - bottom of stack, dev/test dependencies: floss-funding.dev |<br>
891891
| Homepage | https://github.com/kettle-dev/kettle-test |<br>
892892
| Source | https://github.com/kettle-dev/kettle-test |<br>
893893
| License | <code>AGPL-3.0-only</code> OR <code>PolyForm-Small-Business-1.0.0</code> |<br>

docs/file.RUBOCOP.html

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,14 @@ <h2 id="checking-rubocop-violations">Checking RuboCop Violations</h2>
8989

9090
<h2 id="understanding-the-lock-file">Understanding the Lock File</h2>
9191

92-
<p>The <code>.rubocop_gradual.lock</code> file tracks all current RuboCop violations in the project. This allows the team to:</p>
92+
<p>The <code>.rubocop_gradual.lock</code> file is a work list, not a permanent baseline. Every entry represents a style issue that should be resolved by either fixing the code or making an intentional exception explicit.</p>
93+
94+
<p>This allows the team to:</p>
9395

9496
<ol>
95-
<li>Prevent new violations while gradually fixing existing ones</li>
97+
<li>Prevent new violations while existing issues are handled deliberately</li>
9698
<li>Track progress on code style improvements</li>
97-
<li>Ensure CI builds don’t fail due to pre-existing violations</li>
99+
<li>Distinguish temporary work items from intentional project style exceptions</li>
98100
</ol>
99101

100102
<h2 id="common-commands">Common Commands</h2>
@@ -126,38 +128,39 @@ <h2 id="workflow">Workflow</h2>
126128
<ol>
127129
<li>Before submitting a PR, run <code>bundle exec rake rubocop_gradual:autocorrect</code><br>
128130
a. or just the default <code>bundle exec rake</code>, as autocorrection is a pre-requisite of the default task.</li>
129-
<li>If there are new violations, either:
131+
<li>If there are violations, either:
130132
<ul>
131133
<li>Fix them in your code</li>
132-
<li>Run <code>bundle exec rake rubocop_gradual:force_update</code> to update the lock file (only for violations you can’t fix immediately)</li>
134+
<li>Normalize intentional deviations with an explicit config or inline exception</li>
135+
<li>Run <code>bundle exec rake rubocop_gradual:force_update</code> only for temporary work items you cannot fix immediately</li>
133136
</ul>
134137
</li>
135138
<li>Commit the updated <code>.rubocop_gradual.lock</code> file along with your changes</li>
136139
</ol>
137140

138-
<h2 id="never-add-inline-rubocop-disables">Never add inline RuboCop disables</h2>
141+
<h2 id="explicit-style-exceptions">Explicit Style Exceptions</h2>
139142

140-
<p>Do not add inline <code>rubocop:disable</code> / <code>rubocop:enable</code> comments anywhere in the codebase (including specs, except when following the few existing <code>rubocop:disable</code> patterns for a rule already being disabled elsewhere in the code). We handle exceptions in two supported ways:</p>
143+
<p>Do not treat <code>.rubocop_gradual.lock</code> as a baseline. Treat it as a list of work that must be fixed or normalized into the styleguide.</p>
141144

142-
<ul>
143-
<li>Permanent/structural exceptions: prefer adjusting the RuboCop configuration (e.g., in <code>.rubocop.yml</code>) to exclude a rule for a path or file pattern when it makes sense project-wide.</li>
144-
<li>Temporary exceptions while improving code: record the current violations in <code>.rubocop_gradual.lock</code> via the gradual workflow:
145-
<ul>
146-
<li>
147-
<code>bundle exec rake rubocop_gradual:autocorrect</code> (preferred; will autocorrect what it can and update the lock only if no new violations were introduced)</li>
148-
<li>If needed, <code>bundle exec rake rubocop_gradual:force_update</code> (as a last resort when you cannot fix the newly reported violations immediately)</li>
149-
</ul>
150-
</li>
151-
</ul>
145+
<p>Prefer this order:</p>
146+
147+
<ol>
148+
<li>Fix the code so it follows the configured styleguide.</li>
149+
<li>For intentional project conventions, add the narrowest useful override in <code>.rubocop.yml</code> or <code>.rubocop_rspec.yml</code>.</li>
150+
<li>For local intentional deviations, add a tightly scoped inline <code>rubocop:disable</code> / <code>rubocop:enable</code> around the exact line or block.</li>
151+
<li>Keep an entry in <code>.rubocop_gradual.lock</code> only as temporary work to be resolved later.</li>
152+
</ol>
153+
154+
<p>Use configuration overrides when a deviation is structural, generated, path-specific, or applies consistently to a small set of files. Use inline disables when the exception is local and the reason is clearer at the code site than in global config.</p>
152155

153156
<p>In general, treat the rules as guidance to follow; fix violations rather than ignore them. For example, RSpec conventions in this project expect <code>described_class</code> to be used in specs that target a specific class under test.</p>
154157

155158
<h2 id="benefits-of-rubocop_gradual">Benefits of rubocop_gradual</h2>
156159

157160
<ul>
158161
<li>Allows incremental adoption of code style rules</li>
159-
<li>Prevents CI failures due to pre-existing violations</li>
160-
<li>Provides a clear record of code style debt</li>
162+
<li>Prevents CI failures due to temporary pre-existing violations</li>
163+
<li>Provides a clear work list of code style debt</li>
161164
<li>Enables focused efforts on improving code quality over time</li>
162165
</ul>
163166
</div></div>

0 commit comments

Comments
 (0)