stone_checksums 1.0.6 → 1.0.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 536be37d387a7b126273a47f776458d01d5e81c83e621fd355bbda62da0eafc6
4
- data.tar.gz: b7ddeb0ce5a2d19e89504cf03c895248bd30eac0c7f5fae1bce047b2338e4a42
3
+ metadata.gz: 9956060caff5293768a818c218183276758e2bf5ba9f4a1ae912d2960c7cba41
4
+ data.tar.gz: c9801fc17423152c2f1a945e81155861888c363f8354dd1e3a78184777d53740
5
5
  SHA512:
6
- metadata.gz: e4b02ad71476ae7557ab89a3579e3a17403a2fe8fa1e2594df93910dbbe1fc376aa93793d6da064c843b32a7c2bb0b666e4262c218e5b97951d8ed9215a1c06c
7
- data.tar.gz: bf288f408fbd75c28bb4a66f96d687a1035d9a80ade261063c0e85c5ddb7036bc3c3312f5d910b8081086cfd7eaf9d787c6f5fc52ae7ec7f28cda35d943d8c65
6
+ metadata.gz: abf262589578cbea713101dd77d006ee1d8125e9f9de4dac1488051e48dea01f57b1f79ef9b64ec2e1dbcd998b257c51659ed18480683f54ace1c6910c35b9eb
7
+ data.tar.gz: f93031c68d5b142bea3fd66941c5dfd227087f5c0e5f160ec604be444639b87dd8e3e661ab41c6ab9eb018d9be345ec39d27036fd3ff7cbb3bcbc2c53672ac3b
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,133 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [1.0.8] - 2026-07-31
34
+
35
+ - TAG: [v1.0.8][1.0.8t]
36
+ - COVERAGE: 100.00% -- 129/129 lines in 8 files
37
+ - BRANCH COVERAGE: 100.00% -- 42/42 branches in 8 files
38
+ - 62.50% documented
39
+
40
+ ### Added
41
+
42
+ - Documentation linting now has its generated `yard-lint` dependency and severity config available in the local bundle.
43
+
44
+ - kettle-jem-template-20260726-001 - Projects now include YARD lint
45
+ configuration and documentation dependencies so documentation issues fail
46
+ before generated docs are refreshed.
47
+
48
+ - kettle-jem-template-20260727-001 - Spec harness documentation now lists the
49
+ RSpec helpers provided by `kettle-test`.
50
+
51
+ - kettle-jem-template-20260729-005 - Gemspec metadata now publishes this
52
+ project's RubyForum tag as `mailing_list_uri`, and support docs link to the
53
+ tagged RubyForum community alongside Discord.
54
+
55
+ ### Changed
56
+
57
+ - kettle-jem-template-20260728-001 - Generated Ruby workflows now use clearer
58
+ setup-ruby-flash planning and can prepare appraisal-only jobs without
59
+ installing the main Gemfile bundle.
60
+
61
+ ### Fixed
62
+
63
+ - kettle-jem-template-20260726-002 - Generated version files now document their
64
+ version namespace and constants, reducing warning-only YARD lint output.
65
+
66
+ - kettle-jem-template-20260726-003 - Coverage upload steps now treat Coveralls,
67
+ QLTY, and Codecov as optional, so provider outages do not fail CI when local
68
+ coverage thresholds still pass.
69
+ - kettle-jem-template-20260728-002 - Generated RuboCop configs now ignore the
70
+ same `gemfiles/vendor/bundle` tree as `.gitignore`, so vendored dependency
71
+ installs are not reported as project lint debt.
72
+ - kettle-jem-template-20260728-003 - Generated dep-heads workflows now run
73
+ TruffleRuby jobs with current RubyGems and Bundler, avoiding setup failures
74
+ before the test suite starts.
75
+
76
+ - kettle-jem-template-20260728-004 - Generated dep-heads workflows now use the
77
+ setup-ruby Bundler install path for direct appraisal Gemfiles, avoiding rv
78
+ lockfile parser failures on Git and path dependencies.
79
+
80
+ - kettle-jem-template-20260728-005 - VersionGem bootstrap now creates the
81
+ missing canonical version spec when a project only has shim namespace version
82
+ specs.
83
+
84
+ - kettle-jem-template-20260729-001 - Generated JRuby 9.4 workflows now use the
85
+ legacy manual bundle install path, avoiding setup-time Bundler full-index
86
+ failures against `gem.coop`.
87
+ - Restored the canonical `StoneChecksums::Version` spec so
88
+ `lib/stone_checksums/version_gem.rb` is covered by the release suite.
89
+
90
+ - kettle-jem-template-20260729-002 - VersionGem bootstrap now preserves
91
+ and templates dedicated `version_gem.rb` entrypoints even when the gemspec
92
+ dependency is intentionally omitted, and generated anonymous-loader specs
93
+ cover both `version.rb` and `version_gem.rb`.
94
+
95
+ - kettle-jem-template-20260729-003 - Old-Ruby gems below the VersionGem runtime
96
+ floor now get managed minimal `version.rb` files and anonymous-loader version
97
+ specs without adding `version_gem`.
98
+ - kettle-jem-template-20260730-001 - Gemspec package file enumeration now runs
99
+ relative to the gemspec directory, so packaged template assets are included
100
+ even when the gemspec is loaded from another working directory.
101
+
102
+ ## [1.0.7] - 2026-07-25
103
+
104
+ - TAG: [v1.0.7][1.0.7t]
105
+ - COVERAGE: 100.00% -- 129/129 lines in 8 files
106
+ - BRANCH COVERAGE: 100.00% -- 42/42 branches in 8 files
107
+ - 54.17% documented
108
+
109
+ ### Changed
110
+
111
+ - The `gem_checksums` executable now supports `-v` / `--version` and prints a
112
+ standard startup header on normal runs.
113
+
114
+ - kettle-jem-template-20260716-001 - Shim gemspec manifests now include
115
+ `LICENSE.md` instead of nonexistent `LICENSE.txt`.
116
+ - kettle-jem-template-20260716-002 - Generated gemspec manifests now ship fewer
117
+ repository-only files by default to reduce downstream distro packaging churn.
118
+ - kettle-jem-template-20260720-001 - Generated READMEs can now render
119
+ template-managed corporate sponsor logos from project or family config.
120
+ - kettle-jem-template-20260720-002 - Generated development Gemfiles now use the
121
+ released `tree_sitter_language_pack` gem 1.13.3 or newer by default.
122
+ - kettle-jem-template-20260720-003 - Generated StructuredMerge Git diff driver
123
+ config now uses the installed `smorg-rb` Ruby driver name.
124
+ - kettle-jem-template-20260720-004 - Generated multi-engine workflow files now
125
+ omit JRuby and TruffleRuby jobs when project config declares MRI-only engines.
126
+ - kettle-jem-template-20260720-005 - Generated README Support & Community rows
127
+ now include a RubyForum help badge.
128
+ - kettle-jem-template-20260725-001 - Generated JRuby and TruffleRuby workflow
129
+ files now run when pull request head branches start with `feature/release`,
130
+ so release CI monitoring does not report intentionally skipped engine
131
+ workflows as failures.
132
+
133
+ - kettle-jem-template-20260725-002 - Generated gemspec templates now include
134
+ `anonymous_loader` as a development dependency, and version specs use it to
135
+ execute generated `version.rb` files for coverage without redefining package
136
+ constants. Managed version specs are removed when `version_gem` is disabled
137
+ or incompatible with the project's runtime Ruby floor.
138
+
139
+ - The `gem_checksums` executable startup header is now shown only when
140
+ `--verbose` is passed; `-v` and `--version` still print just the executable
141
+ version and exit.
142
+
143
+ ### Fixed
144
+
145
+ - Checksum generation dry-runs no longer execute Git commands, avoiding
146
+ repository index lock races when specs run in parallel.
147
+ - The `gem_checksums` executable now loads its version through Bundler's normal
148
+ load path, keeping locked dependency style checks green.
149
+ - Version coverage specs no longer re-emit constant redefinition warnings under
150
+ unlocked dependency runs.
151
+ - Spec cleanup is now idempotent across parallel workers, avoiding TruffleRuby
152
+ after-suite file removal races.
153
+
154
+ - Added coverage for the `StoneChecksums::Version` version-gem shim so the
155
+ release coverage threshold includes both supported namespace entry points.
156
+
157
+ - Auto-install task specs now use Ruby 2.4-compatible cleanup syntax, keeping
158
+ the minimum supported Ruby CI workflow parseable.
159
+
33
160
  ## [1.0.6] - 2026-07-11
34
161
 
35
162
  - TAG: [v1.0.6][1.0.6t]
@@ -123,7 +250,11 @@ Please file a bug if you notice a violation of semantic versioning.
123
250
 
124
251
  - Initial release
125
252
 
126
- [Unreleased]: https://github.com/galtzo-floss/stone_checksums/compare/v1.0.6...HEAD
253
+ [Unreleased]: https://github.com/galtzo-floss/stone_checksums/compare/v1.0.8...HEAD
254
+ [1.0.8]: https://github.com/galtzo-floss/stone_checksums/compare/v1.0.7...v1.0.8
255
+ [1.0.8t]: https://github.com/galtzo-floss/stone_checksums/releases/tag/v1.0.8
256
+ [1.0.7]: https://github.com/galtzo-floss/stone_checksums/compare/v1.0.6...v1.0.7
257
+ [1.0.7t]: https://github.com/galtzo-floss/stone_checksums/releases/tag/v1.0.7
127
258
  [1.0.6]: https://github.com/galtzo-floss/stone_checksums/compare/v1.0.5...v1.0.6
128
259
  [1.0.6t]: https://github.com/galtzo-floss/stone_checksums/releases/tag/v1.0.6
129
260
  [1.0.5]: https://github.com/galtzo-floss/stone_checksums/compare/v1.0.4...v1.0.5
data/LICENSE.md CHANGED
@@ -3,7 +3,7 @@
3
3
  This project is made available under the following license.
4
4
  Choose the option that best fits your use case:
5
5
 
6
- - [MIT](MIT.md)
6
+ - [MIT](https://github.com/galtzo-floss/stone_checksums/blob/main/MIT.md)
7
7
 
8
8
  ## Copyright Notice
9
9
 
data/README.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  # 🦗 StoneChecksums
4
4
 
5
- [![Version][👽versioni]][👽version] [![GitHub tag (latest SemVer)][⛳️tag-img]][⛳️tag] [![License: MIT][📄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] [![Apache SkyWalking Eyes License Compatibility Check][🚎15-🪪-wfi]][🚎15-🪪-wf]
5
+ [![Version][👽versioni]][👽version] [![Ruby Users Forum][✉️ruby-forum-top-img]][✉️ruby-forum] [![GitHub tag (latest SemVer)][⛳️tag-img]][⛳️tag] [![License: MIT][📄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] [![Apache SkyWalking Eyes License Compatibility Check][🚎15-🪪-wfi]][🚎15-🪪-wf]
6
6
 
7
- `if ci_badges.map(&:color).detect { it != "green"}` ☝️ [let me know][✉️discord-invite], as I may have missed the [discord notification][✉️discord-invite].
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
 
@@ -41,8 +41,8 @@ bin/generate_checksums
41
41
  | Works with MRI Ruby 4 | [![Ruby current Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf]|
42
42
  | Works with MRI Ruby 3 | [![Ruby 3.0 Compat][💎ruby-3.0i]][🚎ruby-3.0-wf] [![Ruby 3.1 Compat][💎ruby-3.1i]][🚎ruby-3.1-wf] [![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]|
43
43
  | Works with MRI Ruby 2 | ![Ruby 2.2 Compat][💎ruby-2.2i] ![Ruby 2.3 Compat][💎ruby-2.3i] <br/> [![Ruby 2.4 Compat][💎ruby-2.4i]][🚎ruby-2.4-wf] [![Ruby 2.5 Compat][💎ruby-2.5i]][🚎ruby-2.5-wf] [![Ruby 2.6 Compat][💎ruby-2.6i]][🚎ruby-2.6-wf] [![Ruby 2.7 Compat][💎ruby-2.7i]][🚎ruby-2.7-wf]|
44
- | 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] |
45
- | 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] |
44
+ | Support & Community | [![Join Me on Daily.dev's RubyFriends][✉️ruby-friends-img]][✉️ruby-friends] [![Get help from RubyForum][✉️ruby-forum-img]][✉️ruby-forum] [![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] |
45
+ | 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] |
46
46
  | Documentation | [![Current release on RubyDoc.info][📜docs-cr-rd-img]][🚎yard-current] [![YARD on Galtzo.com][📜docs-head-rd-img]][🚎yard-head] [![Maintainer Blog][🚂maint-blog-img]][🚂maint-blog] [![GitLab Wiki][📜gl-wiki-img]][📜gl-wiki] [![GitHub Wiki][📜gh-wiki-img]][📜gh-wiki] |
47
47
  | Compliance | [![License: MIT][📄license-img]][📄license] [![Apache license compatibility: Category A][📄license-compat-img]][📄license-compat] [![📄ilo-declaration-img]][📄ilo-declaration] [![Security Policy][🔐security-img]][🔐security] [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct] [![SemVer 2.0.0][📌semver-img]][📌semver] |
48
48
  | Style | [![Enforced Code Style Linter][💎rlts-img]][💎rlts] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog] [![Gitmoji Commits][📌gitmoji-img]][📌gitmoji] [![Compatibility appraised by: appraisal2][💎appraisal2-img]][💎appraisal2] |
@@ -82,17 +82,14 @@ The _amazing_ test matrix is powered by the kettle-dev stack.
82
82
  <details markdown="1">
83
83
  <summary>Find this repo on federated forges (Coming soon!)</summary>
84
84
 
85
- | Federated [DVCS][💎d-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI | Discussions |
86
- |-------------------------------------------------|-----------------------------------------------------------------------|---------------------------|--------------------------|---------------------------|--------------------------|------------------------------|
87
- | 🧪 [galtzo-floss/stone_checksums on GitLab][📜src-gl] | The Truth | [💚][🤝gl-issues] | [💚][🤝gl-pulls] | [💚][📜gl-wiki] | 🐭 Tiny Matrix | ➖ |
88
- | 🧊 [galtzo-floss/stone_checksums on CodeBerg][📜src-cb] | An Ethical Mirror ([Donate][🤝cb-donate]) | [💚][🤝cb-issues] | [💚][🤝cb-pulls] | ➖ | ⭕️ No Matrix | ➖ |
89
- | 🐙 [galtzo-floss/stone_checksums on GitHub][📜src-gh] | Another Mirror | [💚][🤝gh-issues] | [💚][🤝gh-pulls] | [💚][📜gh-wiki] | 💯 Full Matrix | [💚][gh-discussions] |
90
- | 🎮️ [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] |
85
+ | Federated [DVCS][💎d-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI |
86
+ |-------------------------------------------------|-------------------------------------------|-------------------|------------------|-----------------|----------------|
87
+ | 🧪 [galtzo-floss/stone_checksums on GitLab][📜src-gl] | The Truth | [💚][🤝gl-issues] | [💚][🤝gl-pulls] | [💚][📜gl-wiki] | 🐭 Tiny Matrix |
88
+ | 🧊 [galtzo-floss/stone_checksums on CodeBerg][📜src-cb] | An Ethical Mirror ([Donate][🤝cb-donate]) | [💚][🤝cb-issues] | [💚][🤝cb-pulls] | ➖ | ⭕️ No Matrix |
89
+ | 🐙 [galtzo-floss/stone_checksums on GitHub][📜src-gh] | Another Mirror | [💚][🤝gh-issues] | [💚][🤝gh-pulls] | [💚][📜gh-wiki] | 💯 Full Matrix |
91
90
 
92
91
  </details>
93
92
 
94
- [gh-discussions]: https://github.com/galtzo-floss/stone_checksums/discussions
95
-
96
93
  ### Enterprise Support [![Tidelift](https://tidelift.com/badges/package/rubygems/stone_checksums)](https://tidelift.com/subscription/pkg/rubygems-stone_checksums?utm_source=rubygems-stone_checksums&utm_medium=referral&utm_campaign=readme)
97
94
 
98
95
  Available as part of the Tidelift Subscription.
@@ -110,6 +107,7 @@ The maintainers of this and thousands of other packages are working with Tidelif
110
107
 
111
108
  Alternatively:
112
109
 
110
+ - [![Ruby Users Forum][✉️ruby-forum-img]][✉️ruby-forum]
113
111
  - [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
114
112
  - [![Get help from me on Upwork][👨🏼‍🏫expsup-upwork-img]][👨🏼‍🏫expsup-upwork]
115
113
  - [![Get help from me on Codementor][👨🏼‍🏫expsup-codementor-img]][👨🏼‍🏫expsup-codementor]
@@ -319,7 +317,7 @@ See [CHANGELOG.md][📌changelog] for a list of releases.
319
317
  ## 📄 License
320
318
 
321
319
  The gem is available as open source under the terms of
322
- the [MIT](MIT.md) [![License: MIT][📄license-img]][📄license-ref].
320
+ the [MIT](https://github.com/galtzo-floss/stone_checksums/blob/main/MIT.md) [![License: MIT][📄license-img]][📄license-ref].
323
321
 
324
322
  ### © Copyright
325
323
 
@@ -341,11 +339,12 @@ I'm hoping to be able to pay for my kids' health insurance this month,
341
339
  so if you value the work I am doing, I need your support.
342
340
  Please consider sponsoring me or the project.
343
341
 
344
- To join the community or get help 👇️ Join the Discord.
342
+ To join the community or get help, use the RubyForum or Discord.
345
343
 
344
+ [![Ruby Users Forum][✉️ruby-forum-img]][✉️ruby-forum]
346
345
  [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
347
346
 
348
- To say "thanks!" ☝️ Join the Discord or 👇️ send money.
347
+ To say "thanks!" ☝️ Join the community or 👇️ send money.
349
348
 
350
349
  [![Sponsor galtzo-floss/stone_checksums 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]
351
350
 
@@ -386,6 +385,9 @@ Thanks for RTFM. ☺️
386
385
  [✉️discord-invite-img-ftb]: https://img.shields.io/discord/1373797679469170758?style=for-the-badge&logo=discord
387
386
  [✉️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
388
387
  [✉️ruby-friends]: https://app.daily.dev/squads/rubyfriends
388
+ [✉️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
389
+ [✉️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
390
+ [✉️ruby-forum]: https://www.rubyforum.org/tag/galtzo-floss
389
391
 
390
392
  [✇bundle-group-pattern]: https://gist.github.com/pboling/4564780
391
393
  [⛳️gem-namespace]: https://github.com/galtzo-floss/stone_checksums
@@ -431,7 +433,7 @@ Thanks for RTFM. ☺️
431
433
  [📜src-gl]: https://gitlab.com/galtzo-floss/stone_checksums
432
434
  [📜src-cb-img]: https://img.shields.io/badge/CodeBerg-4893CC?style=for-the-badge&logo=CodeBerg&logoColor=blue
433
435
  [📜src-cb]: https://codeberg.org/galtzo-floss/stone_checksums
434
- [📜src-gh-img]: https://img.shields.io/badge/GitHub-238636?style=for-the-badge&logo=Github&logoColor=green
436
+ [📜src-gh-img]: https://img.shields.io/badge/GitHub-238636?style=for-the-badge&logo=GitHub&logoColor=green
435
437
  [📜src-gh]: https://github.com/galtzo-floss/stone_checksums
436
438
  [📜docs-cr-rd-img]: https://img.shields.io/badge/RubyDoc-Current_Release-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
437
439
  [📜docs-head-rd-img]: https://img.shields.io/badge/YARD_on_Galtzo.com-HEAD-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
@@ -548,7 +550,7 @@ Thanks for RTFM. ☺️
548
550
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
549
551
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
550
552
  [📄license]: LICENSE.md
551
- [📄license-ref]: MIT.md
553
+ [📄license-ref]: https://github.com/galtzo-floss/stone_checksums/blob/main/MIT.md
552
554
  [📄license-img]: https://img.shields.io/badge/License-MIT-259D6C.svg
553
555
  [📄license-compat]: https://www.apache.org/legal/resolved.html#category-a
554
556
  [📄license-compat-img]: https://img.shields.io/badge/Apache_Compatible:_Category_A-%E2%9C%93-259D6C.svg?style=flat&logo=Apache
data/exe/gem_checksums CHANGED
@@ -1,7 +1,18 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ script_basename = File.basename(__FILE__)
2
5
 
3
6
  require "bundler/setup"
7
+ require "gem_checksums/version"
8
+
9
+ if ARGV.any? { |arg| arg == "-v" || arg == "--version" }
10
+ puts GemChecksums::Version::VERSION
11
+ exit(0)
12
+ end
4
13
 
5
14
  require "gem_checksums"
6
15
 
16
+ puts "== #{script_basename} v#{GemChecksums::Version::VERSION} ==" if ARGV.delete("--verbose")
17
+
7
18
  GemChecksums.generate
data/lib/gem_checksums.rb CHANGED
@@ -79,8 +79,9 @@ In bash shell:
79
79
  # passed as the first CLI argument when running under Rake or the gem_checksums CLI.
80
80
  #
81
81
  # By default this command will exec a `git add && git commit` to include the checksum
82
- # files. When `git_dry_run` is true, or GEM_CHECKSUMS_GIT_DRY_RUN=true, a dry-run commit
83
- # is performed, and temporary files are cleaned up.
82
+ # files. When `git_dry_run` is true, or GEM_CHECKSUMS_GIT_DRY_RUN=true, the planned
83
+ # dry-run commit is printed and temporary files are cleaned up without touching the
84
+ # Git index.
84
85
  #
85
86
  # @param git_dry_run [Boolean] when true, perform a dry-run and do not leave files staged
86
87
  # @return [void]
@@ -174,17 +175,17 @@ Tip: set GEM_CHECKSUMS_ASSUME_YES=true to proceed non-interactively (still requi
174
175
 
175
176
  version = gem_name[VERSION_REGEX]
176
177
 
178
+ git_commit_flag = git_dry_run_flag ? "--dry-run" : nil
179
+ git_add_flag = git_dry_run_flag ? "--dry-run" : nil
177
180
  git_cmd = <<-GIT_MSG.rstrip
178
- git add #{CHECKSUMS_DIR}/* && \
179
- git commit #{git_dry_run_flag} -m "🔒️ Checksums for v#{version}"
181
+ git add #{git_add_flag} #{CHECKSUMS_DIR}/* && \
182
+ git commit #{git_commit_flag} -m "🔒️ Checksums for v#{version}"
180
183
  GIT_MSG
181
184
 
182
185
  if git_dry_run_flag
183
186
  git_cmd += <<-CLEANUP_MSG
184
187
  && \
185
188
  echo "Cleaning up in dry run mode" && \
186
- git reset #{digest512_64bit_path} && \
187
- git reset #{digest256_32bit_path} && \
188
189
  rm -f #{digest512_64bit_path} && \
189
190
  rm -f #{digest256_32bit_path}
190
191
  CLEANUP_MSG
@@ -205,7 +206,8 @@ rm -f #{digest256_32bit_path}
205
206
  RESULTS
206
207
 
207
208
  if git_dry_run_flag
208
- `#{git_cmd}`
209
+ warn("Cleaning up in dry run mode")
210
+ FileUtils.rm_f([digest512_64bit_path, digest256_32bit_path])
209
211
  else
210
212
  # `exec` will replace the current process with the git process, and exit.
211
213
  # Within the generate method, Ruby code placed after the `exec` *will not be run*:
@@ -1,8 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module StoneChecksums
4
+ # Version namespace for this gem.
4
5
  module Version
5
- VERSION = "1.0.6"
6
+ # Current gem version.
7
+ VERSION = "1.0.8"
6
8
  end
9
+ # Current gem version exposed at the traditional constant location.
7
10
  VERSION = Version::VERSION # Traditional Constant Location
8
11
  end
@@ -7,7 +7,6 @@
7
7
  #
8
8
  # RubyGems does not allow publishing a gem named `gem_checksums`,
9
9
  # hence the updated namespace and gem name.
10
- require "version_gem"
11
10
 
12
11
  require_relative "gem_checksums"
13
12
 
@@ -51,7 +50,3 @@ module StoneChecksums
51
50
  end
52
51
  end
53
52
  end
54
-
55
- StoneChecksums::Version.class_eval do
56
- extend VersionGem::Basic
57
- end
@@ -3,8 +3,10 @@ module StoneChecksums
3
3
  end
4
4
 
5
5
  module Version
6
+ VERSION: String
6
7
  end
7
8
 
8
9
  def self.install_tasks: () -> void
9
10
  def self.generate: (?git_dry_run: bool) -> void
11
+ VERSION: String
10
12
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stone_checksums
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - "|7eter l-|. l3oling"
@@ -37,46 +37,26 @@ cert_chain:
37
37
  -----END CERTIFICATE-----
38
38
  date: 1980-01-02 00:00:00.000000000 Z
39
39
  dependencies:
40
- - !ruby/object:Gem::Dependency
41
- name: version_gem
42
- requirement: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - "~>"
45
- - !ruby/object:Gem::Version
46
- version: '1.1'
47
- - - ">="
48
- - !ruby/object:Gem::Version
49
- version: 1.1.13
50
- type: :runtime
51
- prerelease: false
52
- version_requirements: !ruby/object:Gem::Requirement
53
- requirements:
54
- - - "~>"
55
- - !ruby/object:Gem::Version
56
- version: '1.1'
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- version: 1.1.13
60
40
  - !ruby/object:Gem::Dependency
61
41
  name: kettle-dev
62
42
  requirement: !ruby/object:Gem::Requirement
63
43
  requirements:
64
44
  - - "~>"
65
45
  - !ruby/object:Gem::Version
66
- version: '2.3'
46
+ version: '2.5'
67
47
  - - ">="
68
48
  - !ruby/object:Gem::Version
69
- version: 2.3.1
49
+ version: 2.5.13
70
50
  type: :development
71
51
  prerelease: false
72
52
  version_requirements: !ruby/object:Gem::Requirement
73
53
  requirements:
74
54
  - - "~>"
75
55
  - !ruby/object:Gem::Version
76
- version: '2.3'
56
+ version: '2.5'
77
57
  - - ">="
78
58
  - !ruby/object:Gem::Version
79
- version: 2.3.1
59
+ version: 2.5.13
80
60
  - !ruby/object:Gem::Dependency
81
61
  name: bundler-audit
82
62
  requirement: !ruby/object:Gem::Requirement
@@ -125,26 +105,46 @@ dependencies:
125
105
  - - ">="
126
106
  - !ruby/object:Gem::Version
127
107
  version: 1.0.4
108
+ - !ruby/object:Gem::Dependency
109
+ name: anonymous_loader
110
+ requirement: !ruby/object:Gem::Requirement
111
+ requirements:
112
+ - - "~>"
113
+ - !ruby/object:Gem::Version
114
+ version: '0.1'
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: 0.1.3
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '0.1'
125
+ - - ">="
126
+ - !ruby/object:Gem::Version
127
+ version: 0.1.3
128
128
  - !ruby/object:Gem::Dependency
129
129
  name: appraisal2
130
130
  requirement: !ruby/object:Gem::Requirement
131
131
  requirements:
132
132
  - - "~>"
133
133
  - !ruby/object:Gem::Version
134
- version: '3.1'
134
+ version: '3.2'
135
135
  - - ">="
136
136
  - !ruby/object:Gem::Version
137
- version: 3.1.4
137
+ version: 3.2.0
138
138
  type: :development
139
139
  prerelease: false
140
140
  version_requirements: !ruby/object:Gem::Requirement
141
141
  requirements:
142
142
  - - "~>"
143
143
  - !ruby/object:Gem::Version
144
- version: '3.1'
144
+ version: '3.2'
145
145
  - - ">="
146
146
  - !ruby/object:Gem::Version
147
- version: 3.1.4
147
+ version: 3.2.0
148
148
  - !ruby/object:Gem::Dependency
149
149
  name: kettle-test
150
150
  requirement: !ruby/object:Gem::Requirement
@@ -154,7 +154,7 @@ dependencies:
154
154
  version: '2.0'
155
155
  - - ">="
156
156
  - !ruby/object:Gem::Version
157
- version: 2.0.10
157
+ version: 2.0.17
158
158
  type: :development
159
159
  prerelease: false
160
160
  version_requirements: !ruby/object:Gem::Requirement
@@ -164,27 +164,27 @@ dependencies:
164
164
  version: '2.0'
165
165
  - - ">="
166
166
  - !ruby/object:Gem::Version
167
- version: 2.0.10
167
+ version: 2.0.17
168
168
  - !ruby/object:Gem::Dependency
169
169
  name: turbo_tests2
170
170
  requirement: !ruby/object:Gem::Requirement
171
171
  requirements:
172
172
  - - "~>"
173
173
  - !ruby/object:Gem::Version
174
- version: '3.1'
174
+ version: '3.2'
175
175
  - - ">="
176
176
  - !ruby/object:Gem::Version
177
- version: 3.1.7
177
+ version: 3.2.3
178
178
  type: :development
179
179
  prerelease: false
180
180
  version_requirements: !ruby/object:Gem::Requirement
181
181
  requirements:
182
182
  - - "~>"
183
183
  - !ruby/object:Gem::Version
184
- version: '3.1'
184
+ version: '3.2'
185
185
  - - ">="
186
186
  - !ruby/object:Gem::Version
187
- version: 3.1.7
187
+ version: 3.2.3
188
188
  - !ruby/object:Gem::Dependency
189
189
  name: ruby-progressbar
190
190
  requirement: !ruby/object:Gem::Requirement
@@ -208,7 +208,7 @@ dependencies:
208
208
  version: '2.0'
209
209
  - - ">="
210
210
  - !ruby/object:Gem::Version
211
- version: 2.0.4
211
+ version: 2.0.11
212
212
  type: :development
213
213
  prerelease: false
214
214
  version_requirements: !ruby/object:Gem::Requirement
@@ -218,7 +218,7 @@ dependencies:
218
218
  version: '2.0'
219
219
  - - ">="
220
220
  - !ruby/object:Gem::Version
221
- version: 2.0.4
221
+ version: 2.0.11
222
222
  description: "\U0001F997 Generate both SHA256 & SHA512 checksums into the checksums
223
223
  directory, and git commit them.\n gem install stone_checksums\nThen, use the rake
224
224
  task or the script:\n rake build:generate_checksums\n gem_checksums\nControl options
@@ -229,28 +229,11 @@ email:
229
229
  executables:
230
230
  - gem_checksums
231
231
  extensions: []
232
- extra_rdoc_files:
233
- - CHANGELOG.md
234
- - CITATION.cff
235
- - CODE_OF_CONDUCT.md
236
- - CONTRIBUTING.md
237
- - FUNDING.md
238
- - LICENSE.md
239
- - README.md
240
- - RUBOCOP.md
241
- - SECURITY.md
232
+ extra_rdoc_files: []
242
233
  files:
243
234
  - CHANGELOG.md
244
- - CITATION.cff
245
- - CODE_OF_CONDUCT.md
246
- - CONTRIBUTING.md
247
- - FUNDING.md
248
235
  - LICENSE.md
249
- - MIT.md
250
236
  - README.md
251
- - RUBOCOP.md
252
- - SECURITY.md
253
- - certs/pboling.pem
254
237
  - exe/gem_checksums
255
238
  - lib/gem_checksums.rb
256
239
  - lib/gem_checksums/rakelib/gem_checksums.rake
@@ -260,22 +243,21 @@ files:
260
243
  - lib/stone_checksums.rb
261
244
  - lib/stone_checksums/version.rb
262
245
  - lib/stone_checksums/version_gem.rb
263
- - sig/gem_checksums.rbs
264
246
  - sig/stone_checksums.rbs
265
- - sig/stone_checksums/version.rbs
266
247
  homepage: https://github.com/galtzo-floss/stone_checksums
267
248
  licenses:
268
249
  - MIT
269
250
  metadata:
270
251
  homepage_uri: https://stone-checksums.galtzo.com
271
- source_code_uri: https://github.com/galtzo-floss/stone_checksums/tree/v1.0.6
272
- changelog_uri: https://github.com/galtzo-floss/stone_checksums/blob/v1.0.6/CHANGELOG.md
252
+ source_code_uri: https://github.com/galtzo-floss/stone_checksums/tree/v1.0.8
253
+ changelog_uri: https://github.com/galtzo-floss/stone_checksums/blob/v1.0.8/CHANGELOG.md
273
254
  bug_tracker_uri: https://github.com/galtzo-floss/stone_checksums/issues
274
- documentation_uri: https://www.rubydoc.info/gems/stone_checksums/1.0.6
255
+ documentation_uri: https://www.rubydoc.info/gems/stone_checksums/1.0.8
275
256
  funding_uri: https://github.com/sponsors/pboling
276
257
  wiki_uri: https://github.com/galtzo-floss/stone_checksums/wiki
277
258
  news_uri: https://www.railsbling.com/tags/stone_checksums
278
259
  discord_uri: https://discord.gg/3qme4XHNKN
260
+ mailing_list_uri: https://www.rubyforum.org/tag/galtzo-floss
279
261
  rubygems_mfa_required: 'true'
280
262
  rdoc_options:
281
263
  - "--title"
@@ -301,7 +283,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
301
283
  - !ruby/object:Gem::Version
302
284
  version: '0'
303
285
  requirements: []
304
- rubygems_version: 4.0.10
286
+ rubygems_version: 4.0.17
305
287
  specification_version: 4
306
288
  summary: "\U0001F997 Generate both SHA256 & SHA512 checksums of RubyGem libraries"
307
289
  test_files: []
metadata.gz.sig CHANGED
@@ -1 +1,2 @@
1
-
1
+ JK�����m�2���S�D��D#bߡ�(�̡|�o��j@�o'����,��%�$_L�毞a��� Z{�1Ԗӊ�����w�qm��nW�Oxq8–�! ���k�/X��� ��M�ɗ7�2A��ͳI�]�L��L�&h�}w��N(mqK�u#`�j��|S������Z2�\U=B�:��b�7c\�ز�C���]j�L� l�1�Nq���F Ε�7?�/T�
2
+ � �o�PӅ�~�PO��)L�����S���UG⢚�ڻ�f�^�����!�'�!�c�cQr��E���[7��9`��Yo���iLva]5���]j0�c��)�(b�+X��i��%��V���G�k����,��hWW�
data/CITATION.cff DELETED
@@ -1,20 +0,0 @@
1
- cff-version: 1.2.0
2
- title: "stone_checksums"
3
- message: >-
4
- If you use this work and you want to cite it,
5
- then you can use the metadata from this file.
6
- type: software
7
- authors:
8
- - given-names: "Peter H."
9
- family-names: "Boling"
10
- email: "floss@galtzo.com"
11
- affiliation: "galtzo.com"
12
- orcid: 'https://orcid.org/0009-0008-8519-441X'
13
- identifiers:
14
- - type: url
15
- value: 'https://github.com/galtzo-floss/stone_checksums'
16
- description: "stone_checksums"
17
- repository-code: 'https://github.com/galtzo-floss/stone_checksums'
18
- abstract: >-
19
- stone_checksums
20
- license: See license file