Skip to content

Commit 6ce721a

Browse files
committed
🎨 Updated gem template w/ kettle-dev v1.1.2
1 parent 470e5a7 commit 6ce721a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+316
-111
lines changed

.envrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ export K_SOUP_COV_DO=true # Means you want code coverage
2121
export K_SOUP_COV_COMMAND_NAME="Test Coverage"
2222
# Available formats are html, xml, rcov, lcov, json, tty
2323
export K_SOUP_COV_FORMATTERS="html,xml,rcov,lcov,json,tty"
24-
export K_SOUP_COV_MIN_BRANCH=100 # Means you want to enforce X% branch coverage
25-
export K_SOUP_COV_MIN_LINE=100 # Means you want to enforce X% line coverage
24+
export K_SOUP_COV_MIN_BRANCH=78 # Means you want to enforce X% branch coverage
25+
export K_SOUP_COV_MIN_LINE=97 # Means you want to enforce X% line coverage
2626
export K_SOUP_COV_MIN_HARD=true # Means you want the build to fail if the coverage thresholds are not met
2727
export K_SOUP_COV_MULTI_FORMATTERS=true
2828
export K_SOUP_COV_OPEN_BIN= # Means don't try to open coverage results in browser

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Appraisal.*.gemfile.lock
1616
/coverage/
1717
/spec/reports/
1818
/results/
19+
.output.txt
1920

2021
# Documentation
2122
/.yardoc/

.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ RSpec/ExampleLength:
1414

1515
RSpec/MultipleExpectations:
1616
Enabled: false
17+
18+
RSpec/NestedGroups:
19+
Enabled: false

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Please file a bug if you notice a violation of semantic versioning.
1818

1919
## [Unreleased]
2020
### Added
21-
- re-templated gem using kettle-dev
21+
- re-templated gem using kettle-dev v1.1.2
2222
- new binstubs for changelog, readme, commit message, & release management
2323
- new CI workflows
2424
- enhanced project documentation

CONTRIBUTING.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,10 @@ bundle exec rake test
8989

9090
### Spec organization (required)
9191

92-
- For each class or module under `lib/`, keep all of its unit tests in a single spec file under `spec/` that mirrors the path and file name (e.g., specs for `lib/version_gem/release_cli.rb` live in `spec/version_gem/release_cli_spec.rb`).
93-
- Do not create ad-hoc "_more" or split spec files for the same class/module. Consolidate all unit tests into the main spec file for that class/module.
94-
- Only integration scenarios that intentionally span multiple classes belong in `spec/integration/`.
92+
- One spec file per class/module. For each class or module under `lib/`, keep all of its unit tests in a single spec file under `spec/` that mirrors the path and file name exactly: `lib/version_gem/release_cli.rb` -> `spec/version_gem/release_cli_spec.rb`.
93+
- Never add a second spec file for the same class/module. Examples of disallowed names: `*_more_spec.rb`, `*_extra_spec.rb`, `*_status_spec.rb`, or any other suffix that still targets the same class. If you find yourself wanting a second file, merge those examples into the canonical spec file for that class/module.
94+
- Exception: Integration specs that intentionally span multiple classes. Place these under `spec/integration/` (or a clearly named integration folder), and do not directly mirror a single class. Name them after the scenario, not a class.
95+
- Migration note: If a duplicate spec file exists, move all examples into the canonical file and delete the duplicate. Do not leave stubs or empty files behind.
9596

9697
## Lint It
9798

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
# kettle-dev Rakefile v1.1.1 - 2025-09-02
3+
# kettle-dev Rakefile v1.1.2 - 2025-09-02
44
# Ruby 2.3 (Safe Navigation) or higher required
55
#
66
# MIT License (see License.txt)

docs/VersionGem.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ <h2>Overview</h2><div class="docstring">
119119
</div>
120120

121121
<div id="footer">
122-
Generated on Mon Sep 1 02:32:01 2025 by
122+
Generated on Tue Sep 2 05:49:20 2025 by
123123
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
124124
0.9.37 (ruby-3.4.5).
125125
</div>

docs/VersionGem/Api.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ <h3 class="signature " id="to_s-instance_method">
664664
</div>
665665

666666
<div id="footer">
667-
Generated on Mon Sep 1 02:32:01 2025 by
667+
Generated on Tue Sep 2 05:49:20 2025 by
668668
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
669669
0.9.37 (ruby-3.4.5).
670670
</div>

docs/VersionGem/Basic.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ <h3 class="signature first" id="extended-class_method">
202202
</div>
203203

204204
<div id="footer">
205-
Generated on Mon Sep 1 02:32:01 2025 by
205+
Generated on Tue Sep 2 05:49:20 2025 by
206206
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
207207
0.9.37 (ruby-3.4.5).
208208
</div>

docs/VersionGem/Epoch.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ <h3 class="signature first" id="extended-class_method">
231231
</div>
232232

233233
<div id="footer">
234-
Generated on Mon Sep 1 02:32:01 2025 by
234+
Generated on Tue Sep 2 05:49:20 2025 by
235235
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
236236
0.9.37 (ruby-3.4.5).
237237
</div>

0 commit comments

Comments
 (0)