stone_checksums 1.0.2 → 1.0.4
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 +43 -5
- data/CITATION.cff +20 -0
- data/CONTRIBUTING.md +124 -46
- data/FUNDING.md +70 -0
- data/LICENSE.md +10 -0
- data/README.md +218 -193
- data/RUBOCOP.md +71 -0
- data/SECURITY.md +1 -1
- data/certs/pboling.pem +27 -0
- data/lib/gem_checksums.rb +99 -56
- data/lib/stone_checksums/version.rb +2 -5
- data/lib/stone_checksums.rb +2 -0
- data/sig/stone_checksums/version.rbs +6 -0
- data/sig/stone_checksums.rbs +0 -3
- data.tar.gz.sig +0 -0
- metadata +150 -18
- metadata.gz.sig +0 -0
- data/LICENSE.txt +0 -21
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 99eb338e4a34ea5de7b08fa1af61cac3e9fe7fa2a0f83c2c490056344a333cde
|
|
4
|
+
data.tar.gz: de183af7aaba25df386afa555b9c58ff1ad59e10a010452526856ccf94abf13b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b6ae36d2a139672b444208e058526cd2c34a51362909984cf62f549bb58e2dc56c32783457b72d0d4c98fb6c16f424d695163bcc75767028625659d7d97f37aa
|
|
7
|
+
data.tar.gz: a628039c0fdc66e75c77dc1778fd10eab3f4c83ab1f35b26fa8e1b52b1c6f2c7b4ceaa3a78f664c5fc5dd78ce5e546e7b69aa4f788169786a8fdef56dd0d0bad
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -17,19 +17,43 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
17
17
|
[📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-FFDD67.svg?style=flat
|
|
18
18
|
|
|
19
19
|
## [Unreleased]
|
|
20
|
+
|
|
20
21
|
### Added
|
|
22
|
+
|
|
21
23
|
### Changed
|
|
24
|
+
|
|
22
25
|
### Deprecated
|
|
26
|
+
|
|
23
27
|
### Removed
|
|
28
|
+
|
|
24
29
|
### Fixed
|
|
30
|
+
|
|
25
31
|
### Security
|
|
26
32
|
|
|
33
|
+
## [1.0.4] - 2026-06-28
|
|
34
|
+
|
|
35
|
+
- TAG: [v1.0.4][1.0.4t]
|
|
36
|
+
- COVERAGE: 99.19% -- 123/124 lines in 6 files
|
|
37
|
+
- BRANCH COVERAGE: 94.74% -- 36/38 branches in 6 files
|
|
38
|
+
- 54.17% documented
|
|
39
|
+
|
|
40
|
+
### Fixed
|
|
41
|
+
|
|
42
|
+
- documentation
|
|
43
|
+
- `gem_checksums` now prefers the built package matching the current project
|
|
44
|
+
gemspec when stale packages for newer versions are present in `pkg/`.
|
|
45
|
+
- `gem_checksums` now fails before writing checksum files when the selected
|
|
46
|
+
built gem package does not match the current project gemspec name and version.
|
|
47
|
+
|
|
27
48
|
## [1.0.2] - 2025-08-26
|
|
49
|
+
|
|
28
50
|
- TAG: [v1.0.2][1.0.2t]
|
|
29
51
|
- COVERAGE: 100.00% -- 97/97 lines in 6 files
|
|
30
52
|
- BRANCH COVERAGE: 92.86% -- 26/28 branches in 6 files
|
|
31
53
|
- 68.42% documented
|
|
54
|
+
|
|
32
55
|
### Fixed
|
|
56
|
+
|
|
33
57
|
- gemspec details that got mangled in the switch from gem_checksums.gemspec to stone_checksums.gemspec
|
|
34
58
|
- spec.required_ruby_version (accidentally bumped from 2.2 to 2.3)
|
|
35
59
|
- spec.summary
|
|
@@ -37,36 +61,50 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
37
61
|
- spec.homepage
|
|
38
62
|
|
|
39
63
|
## [1.0.1] - 2025-08-26
|
|
64
|
+
|
|
40
65
|
- TAG: [v1.0.1][1.0.1t]
|
|
41
66
|
- COVERAGE: 100.00% -- 97/97 lines in 6 files
|
|
42
67
|
- BRANCH COVERAGE: 92.86% -- 26/28 branches in 6 files
|
|
43
68
|
- 68.42% documented
|
|
69
|
+
|
|
44
70
|
### Added
|
|
71
|
+
|
|
45
72
|
- Added proper namespace: StoneChecksums
|
|
46
73
|
- Namespace now matches gem name according to RubyGems convention
|
|
47
74
|
- Old Namespace, GemChecksums, will be dropped in next major version
|
|
75
|
+
|
|
48
76
|
### Changed
|
|
77
|
+
|
|
49
78
|
- Improve error help text on old bundler, recommend upgrading
|
|
79
|
+
|
|
50
80
|
### Fixed
|
|
81
|
+
|
|
51
82
|
- Support for bundler >= v2.7, which no longer relies on SOURCE_DATE_EPOCH
|
|
52
83
|
- NOTE: Bundler v2.7+ defaults to a constant build date in 1980 to make all builds reproducible.
|
|
84
|
+
|
|
53
85
|
### Documentation
|
|
86
|
+
|
|
54
87
|
- Updated README with checksum usage, Bundler version guidance, and env vars.
|
|
55
88
|
- Added YARD docstrings for public APIs.
|
|
56
89
|
- Expanded RBS signatures for public constants and methods.
|
|
57
90
|
|
|
58
91
|
## [1.0.0] - 2025-02-23
|
|
92
|
+
|
|
59
93
|
- TAG: [v1.0.0][1.0.0t]
|
|
60
94
|
- COVERAGE: 98.67% -- 74/75 lines in 5 files
|
|
61
95
|
- BRANCH COVERAGE: 79.17% -- 19/24 branches in 5 files
|
|
62
96
|
- 38.46% documented
|
|
97
|
+
|
|
63
98
|
### Added
|
|
99
|
+
|
|
64
100
|
- Initial release
|
|
65
101
|
|
|
66
|
-
[Unreleased]: https://
|
|
102
|
+
[Unreleased]: https://github.com/galtzo-floss/stone_checksums/compare/v1.0.4...HEAD
|
|
103
|
+
[1.0.4]: https://github.com/galtzo-floss/stone_checksums/compare/v1.0.2...v1.0.4
|
|
104
|
+
[1.0.4t]: https://github.com/galtzo-floss/stone_checksums/releases/tag/v1.0.4
|
|
67
105
|
[1.0.2]: https://gitlab.com/galtzo-floss/stone_checksums/-/compare/v1.0.1...v1.0.2
|
|
68
|
-
[1.0.2t]: https://
|
|
106
|
+
[1.0.2t]: https://github.com/galtzo-floss/stone_checksums/releases/tag/v1.0.2
|
|
69
107
|
[1.0.1]: https://gitlab.com/galtzo-floss/stone_checksums/-/compare/v1.0.0...v1.0.1
|
|
70
|
-
[1.0.1t]: https://
|
|
71
|
-
[1.0.0]: https://
|
|
72
|
-
[1.0.0t]: https://
|
|
108
|
+
[1.0.1t]: https://github.com/galtzo-floss/stone_checksums/releases/tag/v1.0.1
|
|
109
|
+
[1.0.0]: https://github.com/galtzo-floss/stone_checksums/compare/1fd75630d9d3c4a1ef8fed384fda98755ae01d5e...v1.0.0
|
|
110
|
+
[1.0.0t]: https://github.com/galtzo-floss/stone_checksums/releases/tag/v1.0.0
|
data/CITATION.cff
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
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
|
data/CONTRIBUTING.md
CHANGED
|
@@ -1,26 +1,70 @@
|
|
|
1
1
|
# Contributing
|
|
2
2
|
|
|
3
|
-
Bug reports and pull requests are welcome on
|
|
3
|
+
Bug reports and pull requests are welcome on [CodeBerg][📜src-cb], [GitLab][📜src-gl], or [GitHub][📜src-gh].
|
|
4
4
|
This project should be a safe, welcoming space for collaboration, so contributors agree to adhere to
|
|
5
5
|
the [code of conduct][🤝conduct].
|
|
6
6
|
|
|
7
7
|
To submit a patch, please fork the project, create a patch with tests, and send a pull request.
|
|
8
8
|
|
|
9
|
-
Remember to [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog].
|
|
9
|
+
Remember to [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] if you make changes.
|
|
10
|
+
|
|
11
|
+
## Developer Certificate of Origin
|
|
12
|
+
|
|
13
|
+
In order to protect users of this project, we require all contributors to comply with the
|
|
14
|
+
[Developer Certificate of Origin](https://developercertificate.org/).
|
|
15
|
+
This ensures that all contributions are properly licensed and attributed.
|
|
10
16
|
|
|
11
17
|
## Help out!
|
|
12
18
|
|
|
13
|
-
Take a look at the
|
|
19
|
+
Take a look at the open issues and pull requests, or use the gem and find something to improve.
|
|
14
20
|
|
|
15
21
|
Follow these instructions:
|
|
16
22
|
|
|
17
|
-
1.
|
|
18
|
-
2.
|
|
19
|
-
3.
|
|
20
|
-
4.
|
|
21
|
-
5.
|
|
22
|
-
6.
|
|
23
|
-
7.
|
|
23
|
+
1. Join the Discord: [![Live Chat on Discord][✉️discord-invite-img]][✉️discord-invite]
|
|
24
|
+
2. Fork the repository
|
|
25
|
+
3. Create your feature branch (`git checkout -b my-new-feature`)
|
|
26
|
+
4. Make some fixes.
|
|
27
|
+
5. Commit your changes (`git commit -am 'Added some feature'`)
|
|
28
|
+
6. Push to the branch (`git push origin my-new-feature`)
|
|
29
|
+
7. Make sure to add tests for it. This is important, so it doesn't break in a future release.
|
|
30
|
+
8. Create new Pull Request.
|
|
31
|
+
9. Announce it in the channel for this org in the [Discord][✉️discord-invite]!
|
|
32
|
+
|
|
33
|
+
## Executables vs Rake tasks
|
|
34
|
+
|
|
35
|
+
Executables shipped by dependencies, such as kettle-dev, and stone_checksums, are available
|
|
36
|
+
after running `bin/setup`. These include:
|
|
37
|
+
|
|
38
|
+
- gem_checksums
|
|
39
|
+
- kettle-changelog
|
|
40
|
+
- kettle-commit-msg
|
|
41
|
+
- kettle-dev-setup
|
|
42
|
+
- kettle-dvcs
|
|
43
|
+
- kettle-pre-release
|
|
44
|
+
- kettle-readme-backers
|
|
45
|
+
- kettle-release
|
|
46
|
+
|
|
47
|
+
There are many Rake tasks available as well. You can see them by running:
|
|
48
|
+
|
|
49
|
+
```shell
|
|
50
|
+
bin/rake -T
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Code quality checks
|
|
54
|
+
|
|
55
|
+
Run the Reek task when you want a smell check that fails on current findings:
|
|
56
|
+
|
|
57
|
+
```shell
|
|
58
|
+
bin/rake reek
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Refresh the checked-in `REEK` backlog through the rake task, not by redirecting
|
|
62
|
+
the raw `reek` executable output. The rake task uses the project bundle and
|
|
63
|
+
avoids stale generated binstubs shadowing the Reek gem executable:
|
|
64
|
+
|
|
65
|
+
```shell
|
|
66
|
+
bin/rake reek:update
|
|
67
|
+
```
|
|
24
68
|
|
|
25
69
|
## Environment Variables for Local Development
|
|
26
70
|
|
|
@@ -32,7 +76,7 @@ General/runtime
|
|
|
32
76
|
- CI: When set to true, adjusts default rake tasks toward CI behavior
|
|
33
77
|
|
|
34
78
|
Coverage (kettle-soup-cover / SimpleCov)
|
|
35
|
-
- K_SOUP_COV_DO: Enable coverage collection (default: true in .
|
|
79
|
+
- K_SOUP_COV_DO: Enable coverage collection (default: true in `mise.toml`)
|
|
36
80
|
- K_SOUP_COV_FORMATTERS: Comma-separated list of formatters (html, xml, rcov, lcov, json, tty)
|
|
37
81
|
- K_SOUP_COV_MIN_LINE: Minimum line coverage threshold (integer, e.g., 100)
|
|
38
82
|
- K_SOUP_COV_MIN_BRANCH: Minimum branch coverage threshold (integer, e.g., 100)
|
|
@@ -48,7 +92,9 @@ GitHub API and CI helpers
|
|
|
48
92
|
Releasing and signing
|
|
49
93
|
- SKIP_GEM_SIGNING: If set, skip gem signing during build/release
|
|
50
94
|
- GEM_CERT_USER: Username for selecting your public cert in `certs/<USER>.pem` (defaults to $USER)
|
|
51
|
-
- SOURCE_DATE_EPOCH: Reproducible build timestamp.
|
|
95
|
+
- SOURCE_DATE_EPOCH: Reproducible build timestamp.
|
|
96
|
+
- `kettle-release` will set this automatically for the session.
|
|
97
|
+
- Not needed on bundler >= 2.7.0, as reproducible builds have become the default.
|
|
52
98
|
|
|
53
99
|
Git hooks and commit message helpers (exe/kettle-commit-msg)
|
|
54
100
|
- GIT_HOOK_BRANCH_VALIDATE: Branch name validation mode (e.g., `jira`) or `false` to disable
|
|
@@ -56,42 +102,66 @@ Git hooks and commit message helpers (exe/kettle-commit-msg)
|
|
|
56
102
|
- GIT_HOOK_FOOTER_SENTINEL: Required when footer append is enabled — a unique first-line sentinel to prevent duplicates
|
|
57
103
|
- GIT_HOOK_FOOTER_APPEND_DEBUG: Extra debug output in the footer template (true/false)
|
|
58
104
|
|
|
59
|
-
|
|
105
|
+
Git diff driver setup
|
|
106
|
+
- Local setup writes repository `.gitattributes` entries and local Git `diff.smorg-*` command config so this checkout uses StructuredMerge semantic diffs.
|
|
107
|
+
- Global setup registers `diff.smorg-*` commands once in the user Git config; use it when you work across several StructuredMerge-enabled repositories.
|
|
108
|
+
- Include-file setup writes `.git/smorg/config` and includes it from local Git config, keeping command registrations out of the repository files.
|
|
109
|
+
- Git hosting forges generally ignore external diff drivers, so pull request views may still show raw textual diffs even when local `git diff` uses semantic drivers.
|
|
110
|
+
|
|
111
|
+
```console
|
|
112
|
+
K_JEM_TEMPLATING=true kettle-jem install
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
Troubleshooting Git diffs
|
|
116
|
+
- Use `git diff --no-ext-diff` to compare against Git's built-in diff output.
|
|
117
|
+
- Use `git diff --no-textconv` when a textconv projection obscures the raw file bytes you need to inspect.
|
|
118
|
+
- If Git reports a missing `smorg-*` executable, rerun `bundle install` and the setup command above, then check `git config --local --get-regexp '^diff\.smorg-'`.
|
|
119
|
+
- To remove managed local entries, run `K_JEM_TEMPLATING=true kettle-jem install --undo`; remove global command registrations with `git config --global --unset-all diff.smorg-ruby.command`.
|
|
120
|
+
|
|
121
|
+
For a quick starting point, this repository’s `mise.toml` defines the shared defaults, and `.env.local` can override them locally. Copy `.env.local.example` to `.env.local`, use `KEY=value` lines, and either activate `mise` in your shell or run commands through `mise exec -C /path/to/project -- ...`.
|
|
60
122
|
|
|
61
123
|
## Appraisals
|
|
62
124
|
|
|
63
|
-
From time to time the
|
|
125
|
+
From time to time the [appraisal2][🚎appraisal2] gemfiles in `gemfiles/` will need to be updated.
|
|
126
|
+
Generated appraisal and CI workflow floors are controlled by `ruby.test_minimum`
|
|
127
|
+
in `.structuredmerge/kettle-jem.yml`; this project was templated with `ruby.test_minimum: 2.4`.
|
|
128
|
+
That value describes the lowest Ruby version expected to run the test/development
|
|
129
|
+
toolchain, and it may be higher than the gemspec runtime floor.
|
|
130
|
+
|
|
64
131
|
They are created and updated with the commands:
|
|
65
132
|
|
|
66
133
|
```console
|
|
67
134
|
bin/rake appraisal:update
|
|
68
135
|
```
|
|
69
136
|
|
|
70
|
-
|
|
137
|
+
If you need to reset all gemfiles/*.gemfile.lock files:
|
|
71
138
|
|
|
72
|
-
|
|
139
|
+
```console
|
|
140
|
+
bin/rake appraisal:reset
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
When adding an appraisal to CI, check the [runner tool cache][🏃♂️runner-tool-cache] to see which runner to use.
|
|
73
144
|
|
|
74
|
-
|
|
145
|
+
## Run Tests
|
|
75
146
|
|
|
76
|
-
|
|
147
|
+
Run tests via `kettle-test` (provided by `kettle-test`). It runs RSpec, writes the full log to
|
|
148
|
+
`tmp/kettle-test/rspec-TIMESTAMP.log`, and prints a compact highlight block with timing, seed,
|
|
149
|
+
pass/fail count, failing example list, and SimpleCov coverage percentages.
|
|
77
150
|
|
|
78
151
|
```console
|
|
79
|
-
bundle exec
|
|
152
|
+
bundle exec kettle-test
|
|
80
153
|
```
|
|
81
154
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
To run all tests
|
|
155
|
+
For targeted runs, disable the hard coverage threshold to avoid false failures:
|
|
85
156
|
|
|
86
157
|
```console
|
|
87
|
-
bundle exec
|
|
158
|
+
K_SOUP_COV_MIN_HARD=false bundle exec kettle-test spec/path/to/spec.rb
|
|
88
159
|
```
|
|
89
160
|
|
|
90
161
|
### Spec organization (required)
|
|
91
162
|
|
|
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
|
|
93
|
-
-
|
|
94
|
-
- Only integration scenarios that intentionally span multiple classes belong in `spec/integration/`.
|
|
163
|
+
- 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/stone_checksums/my_class.rb` -> `spec/stone_checksums/my_class_spec.rb`.
|
|
164
|
+
- 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
165
|
|
|
96
166
|
## Lint It
|
|
97
167
|
|
|
@@ -114,7 +184,7 @@ For more detailed information about using RuboCop in this project, please see th
|
|
|
114
184
|
Never add `# rubocop:disable ...` / `# rubocop:enable ...` comments to code or specs (except when following the few existing `rubocop:disable` patterns for a rule already being disabled elsewhere in the code). Instead:
|
|
115
185
|
|
|
116
186
|
- Prefer configuration-based exclusions when a rule should not apply to certain paths or files (e.g., via `.rubocop.yml`).
|
|
117
|
-
- When a violation is temporary and you plan to fix it later, record it in `.rubocop_gradual.lock` using the gradual workflow:
|
|
187
|
+
- When a violation is temporary, and you plan to fix it later, record it in `.rubocop_gradual.lock` using the gradual workflow:
|
|
118
188
|
- `bundle exec rake rubocop_gradual:autocorrect` (preferred)
|
|
119
189
|
- `bundle exec rake rubocop_gradual:force_update` (only when you cannot fix the violations immediately)
|
|
120
190
|
|
|
@@ -134,55 +204,61 @@ Also see GitLab Contributors: [https://gitlab.com/galtzo-floss/stone_checksums/-
|
|
|
134
204
|
|
|
135
205
|
### One-time, Per-maintainer, Setup
|
|
136
206
|
|
|
137
|
-
**IMPORTANT**:
|
|
138
|
-
|
|
207
|
+
**IMPORTANT**: To sign a build,
|
|
208
|
+
a public key for signing gems will need to be picked up by the line in the
|
|
139
209
|
`gemspec` defining the `spec.cert_chain` (check the relevant ENV variables there).
|
|
140
|
-
All releases
|
|
210
|
+
All releases are signed releases.
|
|
141
211
|
See: [RubyGems Security Guide][🔒️rubygems-security-guide]
|
|
142
212
|
|
|
143
|
-
NOTE: To build without signing the gem
|
|
213
|
+
NOTE: To build without signing the gem set `SKIP_GEM_SIGNING` to any value in the environment.
|
|
144
214
|
|
|
145
215
|
### To release a new version:
|
|
146
216
|
|
|
147
217
|
#### Automated process
|
|
148
218
|
|
|
149
|
-
|
|
219
|
+
1. Update version.rb to contain the correct version-to-be-released.
|
|
220
|
+
2. Run `bundle exec kettle-changelog`.
|
|
221
|
+
3. Run `bundle exec kettle-release`.
|
|
222
|
+
4. Stay awake and monitor the release process for any errors, and answer any prompts.
|
|
150
223
|
|
|
151
224
|
#### Manual process
|
|
152
225
|
|
|
153
226
|
1. Run `bin/setup && bin/rake` as a "test, coverage, & linting" sanity check
|
|
154
227
|
2. Update the version number in `version.rb`, and ensure `CHANGELOG.md` reflects changes
|
|
155
228
|
3. Run `bin/setup && bin/rake` again as a secondary check, and to update `Gemfile.lock`
|
|
156
|
-
4. Run `
|
|
157
|
-
5. Run `git
|
|
229
|
+
4. Run `bin/rake yard` to regenerate the docs site using the canonical docs task
|
|
230
|
+
5. Run `git commit -am "🔖 Prepare release v<VERSION>"` to commit the changes
|
|
231
|
+
6. Run `git push` to trigger the final CI pipeline before release, and merge PRs
|
|
158
232
|
- NOTE: Remember to [check the build][🧪build].
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
233
|
+
7. Run `export GIT_TRUNK_BRANCH_NAME="$(git remote show origin | grep 'HEAD branch' | cut -d ' ' -f5)" && echo $GIT_TRUNK_BRANCH_NAME`
|
|
234
|
+
8. Run `git checkout $GIT_TRUNK_BRANCH_NAME`
|
|
235
|
+
9. Run `git pull origin $GIT_TRUNK_BRANCH_NAME` to ensure latest trunk code
|
|
236
|
+
10. Optional for older Bundler (< 2.7.0): Set `SOURCE_DATE_EPOCH` so `rake build` and `rake release` use the same timestamp and generate the same checksums
|
|
163
237
|
- If your Bundler is >= 2.7.0, you can skip this; builds are reproducible by default.
|
|
164
238
|
- Run `export SOURCE_DATE_EPOCH=$EPOCHSECONDS && echo $SOURCE_DATE_EPOCH`
|
|
165
239
|
- If the echo above has no output, then it didn't work.
|
|
166
240
|
- Note: `zsh/datetime` module is needed, if running `zsh`.
|
|
167
241
|
- In older versions of `bash` you can use `date +%s` instead, i.e. `export SOURCE_DATE_EPOCH=$(date +%s) && echo $SOURCE_DATE_EPOCH`
|
|
168
|
-
|
|
169
|
-
|
|
242
|
+
11. Run `bundle exec rake build`
|
|
243
|
+
12. Run `bin/gem_checksums` (more context [1][🔒️rubygems-checksums-pr], [2][🔒️rubygems-guides-pr])
|
|
170
244
|
to create SHA-256 and SHA-512 checksums. This functionality is provided by the `stone_checksums`
|
|
171
245
|
[gem][💎stone_checksums].
|
|
172
246
|
- The script automatically commits but does not push the checksums
|
|
173
|
-
|
|
247
|
+
13. Sanity check the SHA256, comparing with the output from the `bin/gem_checksums` command:
|
|
174
248
|
- `sha256sum pkg/<gem name>-<version>.gem`
|
|
175
|
-
|
|
176
|
-
push git commits and tags, and push the `.gem` file to
|
|
249
|
+
14. Run `bundle exec rake release` which will create a git tag for the version,
|
|
250
|
+
push git commits and tags, and push the `.gem` file to the gem host configured in the gemspec.
|
|
177
251
|
|
|
178
|
-
[
|
|
252
|
+
[📜src-gl]: https://gitlab.com/galtzo-floss/stone_checksums
|
|
253
|
+
[📜src-cb]: https://codeberg.org/galtzo-floss/stone_checksums
|
|
254
|
+
[📜src-gh]: https://github.com/galtzo-floss/stone_checksums
|
|
179
255
|
[🧪build]: https://github.com/galtzo-floss/stone_checksums/actions
|
|
180
|
-
[🤝conduct]: https://
|
|
256
|
+
[🤝conduct]: https://github.com/galtzo-floss/stone_checksums/blob/main/CODE_OF_CONDUCT.md
|
|
181
257
|
[🖐contrib-rocks]: https://contrib.rocks
|
|
182
258
|
[🖐contributors]: https://github.com/galtzo-floss/stone_checksums/graphs/contributors
|
|
183
259
|
[🚎contributors-gl]: https://gitlab.com/galtzo-floss/stone_checksums/-/graphs/main
|
|
184
260
|
[🖐contributors-img]: https://contrib.rocks/image?repo=galtzo-floss/stone_checksums
|
|
185
|
-
[💎
|
|
261
|
+
[💎gem-coop]: https://gem.coop
|
|
186
262
|
[🔒️rubygems-security-guide]: https://guides.rubygems.org/security/#building-gems
|
|
187
263
|
[🔒️rubygems-checksums-pr]: https://github.com/rubygems/rubygems/pull/6022
|
|
188
264
|
[🔒️rubygems-guides-pr]: https://github.com/rubygems/guides/pull/325
|
|
@@ -191,4 +267,6 @@ Run `kettle-release`.
|
|
|
191
267
|
[📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-FFDD67.svg?style=flat
|
|
192
268
|
[📌semver-breaking]: https://github.com/semver/semver/issues/716#issuecomment-869336139
|
|
193
269
|
[📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
|
|
270
|
+
[🚎appraisal2]: https://github.com/appraisal-rb/appraisal2
|
|
194
271
|
[🏃♂️runner-tool-cache]: https://github.com/ruby/ruby-builder/releases/tag/toolcache
|
|
272
|
+
[✉️discord-invite]: https://discord.gg/3qme4XHNKN
|
data/FUNDING.md
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
<!-- RELEASE-NOTES-FOOTER-START -->
|
|
2
|
+
|
|
3
|
+
Official Discord 👉️ [![Live Chat on Discord][✉️discord-invite-img]][✉️discord-invite]
|
|
4
|
+
|
|
5
|
+
Many paths lead to being a sponsor or a backer of this project. Are you on such a path?
|
|
6
|
+
|
|
7
|
+
[![OpenCollective Backers][🖇osc-backers-i]][🖇osc-backers] [![OpenCollective Sponsors][🖇osc-sponsors-i]][🖇osc-sponsors] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal]
|
|
8
|
+
|
|
9
|
+
[![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate to my FLOSS efforts at ko-fi.com][🖇kofi-img]][🖇kofi]
|
|
10
|
+
|
|
11
|
+
[⛳liberapay-img]: https://img.shields.io/liberapay/goal/pboling.svg?logo=liberapay&color=a51611&style=flat
|
|
12
|
+
[⛳liberapay]: https://liberapay.com/pboling/donate
|
|
13
|
+
[🖇osc-backers]: https://opencollective.com/galtzo-floss#backer
|
|
14
|
+
[🖇osc-backers-i]: https://opencollective.com/galtzo-floss/backers/badge.svg?style=flat
|
|
15
|
+
[🖇osc-sponsors]: https://opencollective.com/galtzo-floss#sponsor
|
|
16
|
+
[🖇osc-sponsors-i]: https://opencollective.com/galtzo-floss/sponsors/badge.svg?style=flat
|
|
17
|
+
[🖇sponsor-img]: https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github
|
|
18
|
+
[🖇sponsor]: https://github.com/sponsors/pboling
|
|
19
|
+
[🖇kofi-img]: https://img.shields.io/badge/ko--fi-%E2%9C%93-a51611.svg?style=flat
|
|
20
|
+
[🖇kofi]: https://ko-fi.com/pboling
|
|
21
|
+
[🖇buyme-small-img]: https://img.shields.io/badge/buy_me_a_coffee-%E2%9C%93-a51611.svg?style=flat
|
|
22
|
+
[🖇buyme]: https://www.buymeacoffee.com/pboling
|
|
23
|
+
[🖇paypal-img]: https://img.shields.io/badge/donate-paypal-a51611.svg?style=flat&logo=paypal
|
|
24
|
+
[🖇paypal]: https://www.paypal.com/paypalme/peterboling
|
|
25
|
+
[✉️discord-invite]: https://discord.gg/3qme4XHNKN
|
|
26
|
+
[✉️discord-invite-img]: https://img.shields.io/discord/1373797679469170758?style=flat
|
|
27
|
+
|
|
28
|
+
<!-- RELEASE-NOTES-FOOTER-END -->
|
|
29
|
+
|
|
30
|
+
# 🤑 A request for help
|
|
31
|
+
|
|
32
|
+
Maintainers have teeth and need to pay their dentists.
|
|
33
|
+
After getting laid off in an RIF in March, and encountering difficulty finding a new one,
|
|
34
|
+
I began spending most of my time building open source tools.
|
|
35
|
+
I'm hoping to be able to pay for my kids' health insurance this month,
|
|
36
|
+
so if you value the work I am doing, I need your support.
|
|
37
|
+
Please consider sponsoring me or the project.
|
|
38
|
+
|
|
39
|
+
To join the community or get help 👇️ Join the Discord.
|
|
40
|
+
|
|
41
|
+
[![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
|
|
42
|
+
|
|
43
|
+
To say "thanks!" ☝️ Join the Discord or 👇️ send money.
|
|
44
|
+
|
|
45
|
+
[![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]
|
|
46
|
+
|
|
47
|
+
# Another Way to Support Open Source Software
|
|
48
|
+
|
|
49
|
+
I’m driven by a passion to foster a thriving open-source community – a space where people can tackle complex problems, no matter how small. Revitalizing libraries that have fallen into disrepair, and building new libraries focused on solving real-world challenges, are my passions. I was recently affected by layoffs, and the tech jobs market is unwelcoming. I’m reaching out here because your support would significantly aid my efforts to provide for my family, and my farm (11 🐔 chickens, 2 🐶 dogs, 3 🐰 rabbits, 8 🐈 cats).
|
|
50
|
+
|
|
51
|
+
If you work at a company that uses my work, please encourage them to support me as a corporate sponsor. My work on gems you use might show up in `bundle fund`.
|
|
52
|
+
|
|
53
|
+
I’m developing a new library, [floss_funding][🖇floss-funding-gem], designed to empower open-source developers like myself to get paid for the work we do, in a sustainable way. Please give it a look.
|
|
54
|
+
|
|
55
|
+
**[Floss-Funding.dev][🖇floss-funding.dev]: 👉️ No network calls. 👉️ No tracking. 👉️ No oversight. 👉️ Minimal crypto hashing. 💡 Easily disabled nags**
|
|
56
|
+
|
|
57
|
+
[⛳liberapay-bottom-img]: https://img.shields.io/liberapay/goal/pboling.svg?style=for-the-badge&logo=liberapay&color=a51611
|
|
58
|
+
[🖇osc-all-img]: https://img.shields.io/opencollective/all/galtzo-floss
|
|
59
|
+
[🖇osc-sponsors-img]: https://img.shields.io/opencollective/sponsors/galtzo-floss
|
|
60
|
+
[🖇osc-backers-img]: https://img.shields.io/opencollective/backers/galtzo-floss
|
|
61
|
+
[🖇osc-all-bottom-img]: https://img.shields.io/opencollective/all/galtzo-floss?style=for-the-badge
|
|
62
|
+
[🖇osc-sponsors-bottom-img]: https://img.shields.io/opencollective/sponsors/galtzo-floss?style=for-the-badge
|
|
63
|
+
[🖇osc-backers-bottom-img]: https://img.shields.io/opencollective/backers/galtzo-floss?style=for-the-badge
|
|
64
|
+
[🖇osc]: https://opencollective.com/galtzo-floss
|
|
65
|
+
[🖇sponsor-bottom-img]: https://img.shields.io/badge/Sponsor_Me!-pboling-blue?style=for-the-badge&logo=github
|
|
66
|
+
[🖇buyme-img]: https://img.buymeacoffee.com/button-api/?text=Buy%20me%20a%20latte&emoji=&slug=pboling&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff
|
|
67
|
+
[🖇paypal-bottom-img]: https://img.shields.io/badge/donate-paypal-a51611.svg?style=for-the-badge&logo=paypal&color=0A0A0A
|
|
68
|
+
[🖇floss-funding.dev]: https://floss-funding.dev
|
|
69
|
+
[🖇floss-funding-gem]: https://github.com/galtzo-floss/floss_funding
|
|
70
|
+
[✉️discord-invite-img-ftb]: https://img.shields.io/discord/1373797679469170758?style=for-the-badge
|