rspec-pending_for 0.1.19 → 0.1.21
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 +65 -1
- data/CITATION.cff +6 -6
- data/CONTRIBUTING.md +116 -41
- data/FUNDING.md +8 -15
- data/LICENSE.md +11 -0
- data/MIT.md +21 -0
- data/README.md +199 -191
- data/SECURITY.md +1 -1
- data/certs/pboling.pem +27 -0
- data/lib/rspec/pending_for/build.rb +11 -5
- data/lib/rspec/pending_for/version.rb +2 -4
- data/lib/rspec/pending_for.rb +9 -6
- data/lib/rspec-pending_for.rb +1 -1
- data/sig/rspec/pending_for/version.rbs +8 -0
- data.tar.gz.sig +0 -0
- metadata +47 -48
- metadata.gz.sig +0 -0
- data/LICENSE.txt +0 -22
- data/REEK +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9079f0427be7f9e43d8c181223375fc6b639b8aad8f21daa54118cbdfc8874bf
|
|
4
|
+
data.tar.gz: 55b208b2e30eda4f3ce9e4298a1408902e10c070b3371d994ee2a25c763d41ef
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ee611271eff5dc920b1326055662ee3399855e9eaea146fabce3a18d9929ab580db7d0e7705a40dccad29bed80ae4f34fa4345f997a0443abc3b291eef98693c
|
|
7
|
+
data.tar.gz: 601187ec74c77a9b55acd42e72d70e4b8a28d3d61ef5298eec75c9d9e8d42deb9155437371f5aaef6e2e0eb4b777b32ea3dce462ecbf3d259de508a01caa7d08
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -17,50 +17,114 @@ 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
|
+
## [0.1.21] - 2026-07-01
|
|
34
|
+
|
|
35
|
+
- TAG: [v0.1.21][0.1.21t]
|
|
36
|
+
- COVERAGE: 100.00% -- 100/100 lines in 6 files
|
|
37
|
+
- BRANCH COVERAGE: 100.00% -- 43/43 branches in 6 files
|
|
38
|
+
- 63.64% documented
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
|
|
42
|
+
- Add (non)CI badge for ruby-1.8
|
|
43
|
+
- Support `versions: "head"` in `pending_for` and `skip_for` to target
|
|
44
|
+
ruby-head, jruby-head, and truffleruby-head builds.
|
|
45
|
+
|
|
46
|
+
### Removed
|
|
47
|
+
|
|
48
|
+
- Removed obsolete `Locked.gemfile` files now that the locked-deps workflow uses
|
|
49
|
+
the main `Gemfile.lock`.
|
|
50
|
+
|
|
51
|
+
### Fixed
|
|
52
|
+
|
|
53
|
+
- Fixed current RuboCop Gradual lock drift while preserving the remaining
|
|
54
|
+
baseline entries.
|
|
55
|
+
|
|
56
|
+
## [0.1.20] - 2026-02-07
|
|
57
|
+
|
|
58
|
+
- TAG: [v0.1.20][0.1.20t]
|
|
59
|
+
- COVERAGE: 100.00% -- 96/96 lines in 6 files
|
|
60
|
+
- BRANCH COVERAGE: 100.00% -- 41/41 branches in 6 files
|
|
61
|
+
- 63.64% documented
|
|
62
|
+
|
|
63
|
+
### Added
|
|
64
|
+
|
|
65
|
+
- Documentation on hostile takeover of RubyGems
|
|
66
|
+
- https://dev.to/galtzo/hostile-takeover-of-rubygems-my-thoughts-5hlo
|
|
67
|
+
|
|
68
|
+
### Fixed
|
|
69
|
+
|
|
70
|
+
- compatibility with Ruby < 2.2 (accidentally switched to require_relative)
|
|
71
|
+
|
|
27
72
|
## [0.1.19] - 2025-09-05
|
|
73
|
+
|
|
28
74
|
- TAG: [v0.1.19][0.1.19t]
|
|
29
75
|
- COVERAGE: 100.00% -- 96/96 lines in 6 files
|
|
30
76
|
- BRANCH COVERAGE: 100.00% -- 41/41 branches in 6 files
|
|
31
77
|
- 63.64% documented
|
|
78
|
+
|
|
32
79
|
### Added
|
|
80
|
+
|
|
33
81
|
- comprehensive documentation and examples in README.md
|
|
34
82
|
- support minor version shorthand matching
|
|
35
83
|
- i.e., 3.2 will skip 3.2.8
|
|
84
|
+
|
|
36
85
|
### Changed
|
|
86
|
+
|
|
37
87
|
- issues link updated to new org home: galtzo-floss/rspec-pending_for
|
|
38
88
|
- upgrade to kettle-dev v1.1.5 template
|
|
89
|
+
|
|
39
90
|
### Fixed
|
|
91
|
+
|
|
40
92
|
- fixed handling of version ranges in `skip_for`/`pending_for`
|
|
41
93
|
- release date in changelog
|
|
42
94
|
- truffleruby compatibility without warnings about typo in engine name
|
|
43
95
|
|
|
44
96
|
## [0.1.18] - 2025-08-24
|
|
97
|
+
|
|
45
98
|
- TAG: [v0.1.8][0.1.18t]
|
|
46
99
|
- COVERAGE: 100.00% -- 86/86 lines in 6 files
|
|
47
100
|
- BRANCH COVERAGE: 100.00% -- 33/33 branches in 6 files
|
|
48
101
|
- 63.64% documented
|
|
102
|
+
|
|
49
103
|
### Added
|
|
104
|
+
|
|
50
105
|
- Versions can now be ranges!
|
|
51
106
|
|
|
52
107
|
## [0.1.17] - 2025-02-24
|
|
108
|
+
|
|
53
109
|
- TAG: [v0.1.7][0.1.17t]
|
|
54
110
|
- COVERAGE: 98.44% -- 63/64 lines in 6 files
|
|
55
111
|
- BRANCH COVERAGE: 94.44% -- 17/18 branches in 6 files
|
|
56
112
|
- 63.64% documented
|
|
113
|
+
|
|
57
114
|
### Added
|
|
115
|
+
|
|
58
116
|
- Specs for `skip_for`
|
|
117
|
+
|
|
59
118
|
### Fixed
|
|
119
|
+
|
|
60
120
|
- Compatibility with truffleruby (maybe? not able to run it in CI yet)
|
|
61
121
|
- Fixed compatibility with Ruby < 2
|
|
62
122
|
|
|
63
|
-
[Unreleased]: https://github.com/galtzo-floss/rspec-pending_for/compare/v0.1.
|
|
123
|
+
[Unreleased]: https://github.com/galtzo-floss/rspec-pending_for/compare/v0.1.21...HEAD
|
|
124
|
+
[0.1.21]: https://github.com/galtzo-floss/rspec-pending_for/compare/v0.1.20...v0.1.21
|
|
125
|
+
[0.1.21t]: https://github.com/galtzo-floss/rspec-pending_for/releases/tag/v0.1.21
|
|
126
|
+
[0.1.20]: https://github.com/galtzo-floss/rspec-pending_for/compare/v0.1.19...v0.1.20
|
|
127
|
+
[0.1.20t]: https://github.com/galtzo-floss/rspec-pending_for/releases/tag/v0.1.20
|
|
64
128
|
[0.1.19]: https://github.com/galtzo-floss/rspec-pending_for/compare/v0.1.18...v0.1.19
|
|
65
129
|
[0.1.19t]: https://github.com/galtzo-floss/rspec-pending_for/releases/tag/v0.1.19
|
|
66
130
|
[0.1.18]: https://github.com/pboling/rspec-pending_for/compare/v0.1.17...v0.1.18
|
data/CITATION.cff
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
cff-version: 1.2.0
|
|
2
|
-
title: rspec-pending_for
|
|
2
|
+
title: "rspec-pending_for"
|
|
3
3
|
message: >-
|
|
4
4
|
If you use this work and you want to cite it,
|
|
5
5
|
then you can use the metadata from this file.
|
|
6
6
|
type: software
|
|
7
7
|
authors:
|
|
8
|
-
- given-names: Peter
|
|
9
|
-
family-names: Boling
|
|
10
|
-
email:
|
|
11
|
-
affiliation:
|
|
8
|
+
- given-names: "Peter H."
|
|
9
|
+
family-names: "Boling"
|
|
10
|
+
email: "floss@galtzo.com"
|
|
11
|
+
affiliation: "galtzo.com"
|
|
12
12
|
orcid: 'https://orcid.org/0009-0008-8519-441X'
|
|
13
13
|
identifiers:
|
|
14
14
|
- type: url
|
|
15
15
|
value: 'https://github.com/galtzo-floss/rspec-pending_for'
|
|
16
|
-
description: rspec-pending_for
|
|
16
|
+
description: "rspec-pending_for"
|
|
17
17
|
repository-code: 'https://github.com/galtzo-floss/rspec-pending_for'
|
|
18
18
|
abstract: >-
|
|
19
19
|
rspec-pending_for
|
data/CONTRIBUTING.md
CHANGED
|
@@ -8,19 +8,63 @@ To submit a patch, please fork the project, create a patch with tests, and send
|
|
|
8
8
|
|
|
9
9
|
Remember to [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] if you make changes.
|
|
10
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.
|
|
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,43 +102,69 @@ 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
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
|
-
bin/rake appraisal:
|
|
134
|
+
bin/rake appraisal:generate
|
|
68
135
|
```
|
|
69
136
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
## The Reek List
|
|
73
|
-
|
|
74
|
-
Take a look at the `reek` list which is the file called `REEK` and find something to improve.
|
|
137
|
+
Use `bin/rake appraisal:update` when you intentionally need to resolve fresh
|
|
138
|
+
appraisal locks.
|
|
75
139
|
|
|
76
|
-
|
|
140
|
+
If you need to reset all gemfiles/*.gemfile.lock files:
|
|
77
141
|
|
|
78
142
|
```console
|
|
79
|
-
|
|
143
|
+
bin/rake appraisal:reset
|
|
80
144
|
```
|
|
81
145
|
|
|
146
|
+
When adding an appraisal to CI, check the [runner tool cache][🏃♂️runner-tool-cache] to see which runner to use.
|
|
147
|
+
|
|
82
148
|
## Run Tests
|
|
83
149
|
|
|
84
|
-
|
|
150
|
+
Run tests via `kettle-test` (provided by `kettle-test`). It runs RSpec, writes the full log to
|
|
151
|
+
`tmp/kettle-test/rspec-TIMESTAMP.log`, and prints a compact highlight block with timing, seed,
|
|
152
|
+
pass/fail count, failing example list, and SimpleCov coverage percentages.
|
|
153
|
+
|
|
154
|
+
```console
|
|
155
|
+
bundle exec kettle-test
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
For targeted runs, disable the hard coverage threshold to avoid false failures:
|
|
85
159
|
|
|
86
160
|
```console
|
|
87
|
-
bundle exec
|
|
161
|
+
K_SOUP_COV_MIN_HARD=false bundle exec kettle-test spec/path/to/spec.rb
|
|
88
162
|
```
|
|
89
163
|
|
|
90
164
|
### Spec organization (required)
|
|
91
165
|
|
|
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/rspec/pending_for/
|
|
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.
|
|
166
|
+
- 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/rspec/pending_for/my_class.rb` -> `spec/rspec/pending_for/my_class_spec.rb`.
|
|
94
167
|
- 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.
|
|
96
168
|
|
|
97
169
|
## Lint It
|
|
98
170
|
|
|
@@ -115,7 +187,7 @@ For more detailed information about using RuboCop in this project, please see th
|
|
|
115
187
|
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:
|
|
116
188
|
|
|
117
189
|
- Prefer configuration-based exclusions when a rule should not apply to certain paths or files (e.g., via `.rubocop.yml`).
|
|
118
|
-
- When a violation is temporary and you plan to fix it later, record it in `.rubocop_gradual.lock` using the gradual workflow:
|
|
190
|
+
- When a violation is temporary, and you plan to fix it later, record it in `.rubocop_gradual.lock` using the gradual workflow:
|
|
119
191
|
- `bundle exec rake rubocop_gradual:autocorrect` (preferred)
|
|
120
192
|
- `bundle exec rake rubocop_gradual:force_update` (only when you cannot fix the violations immediately)
|
|
121
193
|
|
|
@@ -138,7 +210,7 @@ Also see GitLab Contributors: [https://gitlab.com/galtzo-floss/rspec-pending_for
|
|
|
138
210
|
**IMPORTANT**: To sign a build,
|
|
139
211
|
a public key for signing gems will need to be picked up by the line in the
|
|
140
212
|
`gemspec` defining the `spec.cert_chain` (check the relevant ENV variables there).
|
|
141
|
-
All releases
|
|
213
|
+
All releases are signed releases.
|
|
142
214
|
See: [RubyGems Security Guide][🔒️rubygems-security-guide]
|
|
143
215
|
|
|
144
216
|
NOTE: To build without signing the gem set `SKIP_GEM_SIGNING` to any value in the environment.
|
|
@@ -147,47 +219,49 @@ NOTE: To build without signing the gem set `SKIP_GEM_SIGNING` to any value in th
|
|
|
147
219
|
|
|
148
220
|
#### Automated process
|
|
149
221
|
|
|
150
|
-
1. Update version.rb to
|
|
222
|
+
1. Update version.rb to contain the correct version-to-be-released.
|
|
151
223
|
2. Run `bundle exec kettle-changelog`.
|
|
152
224
|
3. Run `bundle exec kettle-release`.
|
|
225
|
+
4. Stay awake and monitor the release process for any errors, and answer any prompts.
|
|
153
226
|
|
|
154
227
|
#### Manual process
|
|
155
228
|
|
|
156
229
|
1. Run `bin/setup && bin/rake` as a "test, coverage, & linting" sanity check
|
|
157
230
|
2. Update the version number in `version.rb`, and ensure `CHANGELOG.md` reflects changes
|
|
158
231
|
3. Run `bin/setup && bin/rake` again as a secondary check, and to update `Gemfile.lock`
|
|
159
|
-
4. Run `
|
|
160
|
-
5. Run `git
|
|
232
|
+
4. Run `bin/rake yard` to regenerate the docs site using the canonical docs task
|
|
233
|
+
5. Run `git commit -am "🔖 Prepare release v<VERSION>"` to commit the changes
|
|
234
|
+
6. Run `git push` to trigger the final CI pipeline before release, and merge PRs
|
|
161
235
|
- NOTE: Remember to [check the build][🧪build].
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
236
|
+
7. Run `export GIT_TRUNK_BRANCH_NAME="$(git remote show origin | grep 'HEAD branch' | cut -d ' ' -f5)" && echo $GIT_TRUNK_BRANCH_NAME`
|
|
237
|
+
8. Run `git checkout $GIT_TRUNK_BRANCH_NAME`
|
|
238
|
+
9. Run `git pull origin $GIT_TRUNK_BRANCH_NAME` to ensure latest trunk code
|
|
239
|
+
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
|
|
166
240
|
- If your Bundler is >= 2.7.0, you can skip this; builds are reproducible by default.
|
|
167
241
|
- Run `export SOURCE_DATE_EPOCH=$EPOCHSECONDS && echo $SOURCE_DATE_EPOCH`
|
|
168
242
|
- If the echo above has no output, then it didn't work.
|
|
169
243
|
- Note: `zsh/datetime` module is needed, if running `zsh`.
|
|
170
244
|
- In older versions of `bash` you can use `date +%s` instead, i.e. `export SOURCE_DATE_EPOCH=$(date +%s) && echo $SOURCE_DATE_EPOCH`
|
|
171
|
-
|
|
172
|
-
|
|
245
|
+
11. Run `bundle exec rake build`
|
|
246
|
+
12. Run `bin/gem_checksums` (more context [1][🔒️rubygems-checksums-pr], [2][🔒️rubygems-guides-pr])
|
|
173
247
|
to create SHA-256 and SHA-512 checksums. This functionality is provided by the `stone_checksums`
|
|
174
248
|
[gem][💎stone_checksums].
|
|
175
249
|
- The script automatically commits but does not push the checksums
|
|
176
|
-
|
|
250
|
+
13. Sanity check the SHA256, comparing with the output from the `bin/gem_checksums` command:
|
|
177
251
|
- `sha256sum pkg/<gem name>-<version>.gem`
|
|
178
|
-
|
|
179
|
-
push git commits and tags, and push the `.gem` file to
|
|
252
|
+
14. Run `bundle exec rake release` which will create a git tag for the version,
|
|
253
|
+
push git commits and tags, and push the `.gem` file to the gem host configured in the gemspec.
|
|
180
254
|
|
|
181
|
-
[📜src-gl]: https://gitlab.com/galtzo-floss/rspec-pending_for
|
|
255
|
+
[📜src-gl]: https://gitlab.com/galtzo-floss/rspec-pending_for
|
|
182
256
|
[📜src-cb]: https://codeberg.org/galtzo-floss/rspec-pending_for
|
|
183
257
|
[📜src-gh]: https://github.com/galtzo-floss/rspec-pending_for
|
|
184
258
|
[🧪build]: https://github.com/galtzo-floss/rspec-pending_for/actions
|
|
185
|
-
[🤝conduct]: https://
|
|
259
|
+
[🤝conduct]: https://github.com/galtzo-floss/rspec-pending_for/blob/main/CODE_OF_CONDUCT.md
|
|
186
260
|
[🖐contrib-rocks]: https://contrib.rocks
|
|
187
261
|
[🖐contributors]: https://github.com/galtzo-floss/rspec-pending_for/graphs/contributors
|
|
188
262
|
[🚎contributors-gl]: https://gitlab.com/galtzo-floss/rspec-pending_for/-/graphs/main
|
|
189
263
|
[🖐contributors-img]: https://contrib.rocks/image?repo=galtzo-floss/rspec-pending_for
|
|
190
|
-
[💎
|
|
264
|
+
[💎gem-coop]: https://gem.coop
|
|
191
265
|
[🔒️rubygems-security-guide]: https://guides.rubygems.org/security/#building-gems
|
|
192
266
|
[🔒️rubygems-checksums-pr]: https://github.com/rubygems/rubygems/pull/6022
|
|
193
267
|
[🔒️rubygems-guides-pr]: https://github.com/rubygems/guides/pull/325
|
|
@@ -198,3 +272,4 @@ NOTE: To build without signing the gem set `SKIP_GEM_SIGNING` to any value in th
|
|
|
198
272
|
[📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
|
|
199
273
|
[🚎appraisal2]: https://github.com/appraisal-rb/appraisal2
|
|
200
274
|
[🏃♂️runner-tool-cache]: https://github.com/ruby/ruby-builder/releases/tag/toolcache
|
|
275
|
+
[✉️discord-invite]: https://discord.gg/3qme4XHNKN
|
data/FUNDING.md
CHANGED
|
@@ -6,7 +6,7 @@ Many paths lead to being a sponsor or a backer of this project. Are you on such
|
|
|
6
6
|
|
|
7
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
8
|
|
|
9
|
-
[![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate
|
|
9
|
+
[![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate to my FLOSS efforts at ko-fi.com][🖇kofi-img]][🖇kofi]
|
|
10
10
|
|
|
11
11
|
[⛳liberapay-img]: https://img.shields.io/liberapay/goal/pboling.svg?logo=liberapay&color=a51611&style=flat
|
|
12
12
|
[⛳liberapay]: https://liberapay.com/pboling/donate
|
|
@@ -16,12 +16,8 @@ Many paths lead to being a sponsor or a backer of this project. Are you on such
|
|
|
16
16
|
[🖇osc-sponsors-i]: https://opencollective.com/galtzo-floss/sponsors/badge.svg?style=flat
|
|
17
17
|
[🖇sponsor-img]: https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github
|
|
18
18
|
[🖇sponsor]: https://github.com/sponsors/pboling
|
|
19
|
-
[🖇polar-img]: https://img.shields.io/badge/polar-donate-a51611.svg?style=flat
|
|
20
|
-
[🖇polar]: https://polar.sh/pboling
|
|
21
19
|
[🖇kofi-img]: https://img.shields.io/badge/ko--fi-%E2%9C%93-a51611.svg?style=flat
|
|
22
|
-
[🖇kofi]: https://ko-fi.com/
|
|
23
|
-
[🖇patreon-img]: https://img.shields.io/badge/patreon-donate-a51611.svg?style=flat
|
|
24
|
-
[🖇patreon]: https://patreon.com/galtzo
|
|
20
|
+
[🖇kofi]: https://ko-fi.com/pboling
|
|
25
21
|
[🖇buyme-small-img]: https://img.shields.io/badge/buy_me_a_coffee-%E2%9C%93-a51611.svg?style=flat
|
|
26
22
|
[🖇buyme]: https://www.buymeacoffee.com/pboling
|
|
27
23
|
[🖇paypal-img]: https://img.shields.io/badge/donate-paypal-a51611.svg?style=flat&logo=paypal
|
|
@@ -31,11 +27,11 @@ Many paths lead to being a sponsor or a backer of this project. Are you on such
|
|
|
31
27
|
|
|
32
28
|
<!-- RELEASE-NOTES-FOOTER-END -->
|
|
33
29
|
|
|
34
|
-
# 🤑
|
|
30
|
+
# 🤑 A request for help
|
|
35
31
|
|
|
36
32
|
Maintainers have teeth and need to pay their dentists.
|
|
37
|
-
After getting laid off in an RIF in March and
|
|
38
|
-
I
|
|
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.
|
|
39
35
|
I'm hoping to be able to pay for my kids' health insurance this month,
|
|
40
36
|
so if you value the work I am doing, I need your support.
|
|
41
37
|
Please consider sponsoring me or the project.
|
|
@@ -44,16 +40,13 @@ To join the community or get help 👇️ Join the Discord.
|
|
|
44
40
|
|
|
45
41
|
[![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
|
|
46
42
|
|
|
47
|
-
To say "thanks
|
|
43
|
+
To say "thanks!" ☝️ Join the Discord or 👇️ send money.
|
|
48
44
|
|
|
49
|
-
[![Sponsor galtzo-floss/rspec-pending_for 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
|
|
45
|
+
[![Sponsor galtzo-floss/rspec-pending_for 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]
|
|
50
46
|
|
|
51
47
|
# Another Way to Support Open Source Software
|
|
52
48
|
|
|
53
|
-
|
|
54
|
-
>—Anne Frank
|
|
55
|
-
|
|
56
|
-
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 — totaling 79 hours of FLOSS coding over just the past seven days, a pretty regular week for me. 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).
|
|
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).
|
|
57
50
|
|
|
58
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`.
|
|
59
52
|
|
data/LICENSE.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# License
|
|
2
|
+
|
|
3
|
+
This project is made available under the following license.
|
|
4
|
+
Choose the option that best fits your use case:
|
|
5
|
+
|
|
6
|
+
- [MIT](MIT.md)
|
|
7
|
+
|
|
8
|
+
## Copyright Notice
|
|
9
|
+
|
|
10
|
+
- Copyright (c) 2015, 2017-2018, 2020-2022, 2025-2026 Peter H. Boling
|
|
11
|
+
- Copyright (c) 2025 Aboling0
|
data/MIT.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
See [LICENSE.md](LICENSE.md) for the copyright notice.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|