kettle-dev 1.0.4 → 1.0.5
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 +11 -1
- data/checksums/kettle-dev-1.0.5.gem.sha256 +1 -0
- data/checksums/kettle-dev-1.0.5.gem.sha512 +1 -0
- data/exe/kettle-release +53 -10
- data/lib/kettle/dev/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +8 -4
- metadata.gz.sig +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aaab564b37e2892996a6f419cb71a48aa2f7e0ac5536379f0f7de36710922060
|
4
|
+
data.tar.gz: 878eced8cbf467f399689ba5a93d93f8ffecea1eca451f7b1752c4c41b87ad9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01c054122983c1c36bc0ec39c42a35732b9fb6225706e0034d6209923f0ac3704f874c23e7900617dc044a6b0245315bdbc8da72534a86f0eed87cd5156f94f3
|
7
|
+
data.tar.gz: a52bc544f7243a1b727e956cef403601689f3331c5cb3376a4b9135eb0c2ca3353f3e048709e2f153cae847a74eab55c5c21f7d432cb621e2416120314e8c560
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -12,6 +12,14 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
|
|
12
12
|
### Fixed
|
13
13
|
### Security
|
14
14
|
|
15
|
+
## [1.0.5] - 2025-08-24
|
16
|
+
- TAG: [v1.0.5][1.0.5t]
|
17
|
+
- COVERAGE: 100.00% -- 130/130 lines in 7 files
|
18
|
+
- BRANCH COVERAGE: 96.00% -- 48/50 branches in 7 files
|
19
|
+
- 95.35% documented
|
20
|
+
### Fixed
|
21
|
+
- kettle-release: will run regardless of how it is invoked (i.e. works as binstub)
|
22
|
+
|
15
23
|
## [1.0.4] - 2025-08-24
|
16
24
|
- TAG: [v1.0.4][1.0.4t]
|
17
25
|
- COVERAGE: 100.00% -- 130/130 lines in 7 files
|
@@ -83,7 +91,9 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
|
|
83
91
|
- Selecting will run the selected workflow via `act`
|
84
92
|
- This may move to its own gem in the future.
|
85
93
|
|
86
|
-
[Unreleased]: https://gitlab.com/kettle-rb/kettle-dev/-/compare/v1.0.
|
94
|
+
[Unreleased]: https://gitlab.com/kettle-rb/kettle-dev/-/compare/v1.0.5...HEAD
|
95
|
+
[1.0.5]: https://gitlab.com/kettle-rb/kettle-dev/-/compare/v1.0.4...v1.0.5
|
96
|
+
[1.0.5t]: https://gitlab.com/kettle-rb/kettle-dev/-/tags/v1.0.5
|
87
97
|
[1.0.4]: https://gitlab.com/kettle-rb/kettle-dev/-/compare/v1.0.3...v1.0.4
|
88
98
|
[1.0.4t]: https://gitlab.com/kettle-rb/kettle-dev/-/tags/v1.0.4
|
89
99
|
[1.0.3]: https://gitlab.com/kettle-rb/kettle-dev/-/compare/v1.0.2...v1.0.3
|
@@ -0,0 +1 @@
|
|
1
|
+
60434bcaca59d509c76b746ca2707c4203c6e78fe1af64073c3e871a55ad72aa
|
@@ -0,0 +1 @@
|
|
1
|
+
e818b9baeced996daebc4565812ff015ba552788220ff34773d2c5d7e3ff7e9a1adca4ae16379dd9551824c7e5a8bef877c66a14faa6795d3982b1faa0d35f07
|
data/exe/kettle-release
CHANGED
@@ -21,15 +21,22 @@ rescue LoadError
|
|
21
21
|
# Allow running outside of Bundler; runtime deps should still be available via rubygems
|
22
22
|
end
|
23
23
|
|
24
|
-
|
25
|
-
require "
|
26
|
-
require "
|
27
|
-
require "
|
28
|
-
require "
|
29
|
-
require "
|
30
|
-
require "
|
31
|
-
require "
|
32
|
-
require "
|
24
|
+
begin
|
25
|
+
require "open3"
|
26
|
+
require "shellwords"
|
27
|
+
require "time"
|
28
|
+
require "fileutils"
|
29
|
+
require "net/http"
|
30
|
+
require "json"
|
31
|
+
require "uri"
|
32
|
+
require "kettle/dev/ci_helpers"
|
33
|
+
require "ruby-progressbar"
|
34
|
+
rescue LoadError => e
|
35
|
+
warn("kettle-release: failed to load a required library: #{e.message}")
|
36
|
+
warn("Hint: Ensure the host project includes kettle-dev and its runtime deps, then run bundle install.")
|
37
|
+
warn(e.backtrace.join("\n")) if ENV["DEBUG"]
|
38
|
+
exit(1)
|
39
|
+
end
|
33
40
|
|
34
41
|
module Kettle
|
35
42
|
module Dev
|
@@ -554,6 +561,42 @@ module Kettle
|
|
554
561
|
end
|
555
562
|
end
|
556
563
|
|
557
|
-
|
564
|
+
# Always execute when this file is loaded (e.g., via a Bundler binstub).
|
565
|
+
# Do not guard with __FILE__ == $PROGRAM_NAME because binstubs use Kernel.load.
|
566
|
+
if ARGV.include?("-h") || ARGV.include?("--help")
|
567
|
+
puts <<~USAGE
|
568
|
+
Usage: kettle-release
|
569
|
+
|
570
|
+
Automates the release flow for a Ruby gem in the host project:
|
571
|
+
- Runs bin/setup and bin/rake sanity checks
|
572
|
+
- Prompts to confirm version and changelog updates
|
573
|
+
- Commits a release prep change
|
574
|
+
- Ensures trunk is up-to-date, pushes branch, and monitors CI (GitHub/GitLab)
|
575
|
+
- Merges feature into trunk upon CI success
|
576
|
+
- Exports SOURCE_DATE_EPOCH, builds, records checksums, and releases
|
577
|
+
|
578
|
+
Environment:
|
579
|
+
SKIP_GEM_SIGNING=true # skip gem signing during build/release
|
580
|
+
GEM_CERT_USER=<user> # selects certs/<user>.pem for signing
|
581
|
+
GITHUB_TOKEN / GH_TOKEN # optional, to query GitHub Actions
|
582
|
+
GITLAB_TOKEN / GL_TOKEN # optional, to query GitLab pipelines
|
583
|
+
DEBUG=true # print backtraces on errors
|
584
|
+
USAGE
|
585
|
+
exit 0
|
586
|
+
end
|
587
|
+
|
588
|
+
begin
|
558
589
|
Kettle::Dev::ReleaseCLI.new.run
|
590
|
+
rescue LoadError => e
|
591
|
+
warn("kettle-release: could not load dependency: #{e.message}")
|
592
|
+
warn(e.backtrace.join("\n")) if ENV["DEBUG"]
|
593
|
+
exit(1)
|
594
|
+
rescue SystemExit => e
|
595
|
+
# Preserve exit status, but ensure at least a newline so shells don't show an empty line only.
|
596
|
+
warn("kettle-release exited (status=#{e.status})") if e.status != 0
|
597
|
+
raise
|
598
|
+
rescue StandardError => e
|
599
|
+
warn("kettle-release: unexpected error: #{e.class}: #{e.message}")
|
600
|
+
warn(e.backtrace.join("\n"))
|
601
|
+
exit(1)
|
559
602
|
end
|
data/lib/kettle/dev/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kettle-dev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter H. Boling
|
@@ -205,6 +205,8 @@ extra_rdoc_files:
|
|
205
205
|
- SECURITY.md
|
206
206
|
- checksums/kettle-dev-1.0.4.gem.sha256
|
207
207
|
- checksums/kettle-dev-1.0.4.gem.sha512
|
208
|
+
- checksums/kettle-dev-1.0.5.gem.sha256
|
209
|
+
- checksums/kettle-dev-1.0.5.gem.sha512
|
208
210
|
files:
|
209
211
|
- ".devcontainer/devcontainer.json"
|
210
212
|
- ".envrc"
|
@@ -258,6 +260,8 @@ files:
|
|
258
260
|
- SECURITY.md
|
259
261
|
- checksums/kettle-dev-1.0.4.gem.sha256
|
260
262
|
- checksums/kettle-dev-1.0.4.gem.sha512
|
263
|
+
- checksums/kettle-dev-1.0.5.gem.sha256
|
264
|
+
- checksums/kettle-dev-1.0.5.gem.sha512
|
261
265
|
- exe/kettle-commit-msg
|
262
266
|
- exe/kettle-readme-backers
|
263
267
|
- exe/kettle-release
|
@@ -290,10 +294,10 @@ licenses:
|
|
290
294
|
- MIT
|
291
295
|
metadata:
|
292
296
|
homepage_uri: https://kettle-dev.galtzo.com/
|
293
|
-
source_code_uri: https://github.com/galtzo-floss/kettle-dev/tree/v1.0.
|
294
|
-
changelog_uri: https://github.com/galtzo-floss/kettle-dev/blob/v1.0.
|
297
|
+
source_code_uri: https://github.com/galtzo-floss/kettle-dev/tree/v1.0.5
|
298
|
+
changelog_uri: https://github.com/galtzo-floss/kettle-dev/blob/v1.0.5/CHANGELOG.md
|
295
299
|
bug_tracker_uri: https://github.com/galtzo-floss/kettle-dev/issues
|
296
|
-
documentation_uri: https://www.rubydoc.info/gems/kettle-dev/1.0.
|
300
|
+
documentation_uri: https://www.rubydoc.info/gems/kettle-dev/1.0.5
|
297
301
|
funding_uri: https://github.com/sponsors/pboling
|
298
302
|
wiki_uri: https://github.com/galtzo-floss/kettle-dev/wiki
|
299
303
|
news_uri: https://www.railsbling.com/tags/kettle-dev
|
metadata.gz.sig
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
d�]aO0Oy��)�c3=.�!z������D��*RA[� /�f�U�i���,�1r�ؐ�Cs3N�����P&�L&����_=��� �Ů\���}�+<��`�K̩u'��9
|
2
|
+
I�8M�wpI�w\��%��ǷK��zU���{h�
|
3
|
+
Qg�Ƭ<�:�)Z��#��X��";ٌ�Q�9x��c��T�2X�R����B98�/���)�zY�G����5M���9#����p��_{"�z�����}C�b<�QOttu{��ѳ}�efe�$����f�d���:�E�H�`E�[��&mk���v�jIR��x��P�T�aͪ�W��Q!��M=���`͔fJQ ��dM�S�G�ڞY��#��UN�n�۬��j-���1Gl����
|