kettle-dev 1.0.13 → 1.0.14

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: 8460f9258aafa37fd7a2c96cdc28e3b1b71feacd427e3ce63bbc7a97dbef5bb2
4
- data.tar.gz: 18fb4f0b33e3131fdc8e87449f093f5de6357a6f41022753494343a06bca54f6
3
+ metadata.gz: 61d7bcf42ac9f8dd354de12af2f45c4a000bf0fb038c17534fdb521fd9799cff
4
+ data.tar.gz: be95960f8520e6a001376909ecd3d27d9cfc56506a46d770119f11b951f0039f
5
5
  SHA512:
6
- metadata.gz: 10cd0166e24755047a3b2cd56de8ecb8c911aa5a4855ce10614130ef9c2ccf08717de78d810e88b3e0fd7dc29772e176726037ab1d91cd1d6b82e5120bf02328
7
- data.tar.gz: 43e17065699b2f46988aa5c0bff51e02907343878d9d283f44b06029b4bb64114d1c56ae21cba36f4081a50eef7fdce57db5f8521b224d2a4353c914792d0e3b
6
+ metadata.gz: 60ddf9f6624d7bcd57a5b702fd182b8766ba133937c21c93da094738089b832a6b86ceea0528d1c116e42c701c8e2f5b56ba40312fcdd348a0c6bf0a984bbda1
7
+ data.tar.gz: 98e13824721dc2b7aa68e01cea45f6289b9c6d980606613e013fb6f238317a299b9c10cc63d4a5a65fdd312a2d9221f5463d2ce3d1a3f43f13ef417e42d0a6d9
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -24,6 +24,20 @@ Please file a bug if you notice a violation of semantic versioning.
24
24
  ### Fixed
25
25
  ### Security
26
26
 
27
+ ## [1.0.14] - 2025-08-28
28
+ - TAG: [v1.0.14][1.0.14t]
29
+ - COVERAGE: 97.70% -- 2125/2175 lines in 20 files
30
+ - BRANCH COVERAGE: 78.77% -- 842/1069 branches in 20 files
31
+ - 76.03% documented
32
+ ### Added
33
+ - kettle-release: Push tags to additional remotes after release
34
+ ### Changed
35
+ - Improve .gitlab-ci.yml pipeline
36
+ ### Fixed
37
+ - Removed README badges for unsupported old Ruby versions
38
+ - Minor inconsistencies in template files
39
+ - git added as a dependency to optional.gemfile instead of the example template
40
+
27
41
  ## [1.0.13] - 2025-08-28
28
42
  - TAG: [v1.0.13][1.0.13t]
29
43
  - COVERAGE: 41.94% -- 65/155 lines in 6 files
@@ -222,7 +236,7 @@ Please file a bug if you notice a violation of semantic versioning.
222
236
  - Selecting will run the selected workflow via `act`
223
237
  - This may move to its own gem in the future.
224
238
 
225
- [Unreleased]: https://github.com/kettle-rb/kettle-dev/compare/v1.0.13...HEAD
239
+ [Unreleased]: https://github.com/kettle-rb/kettle-dev/compare/v1.0.14...HEAD
226
240
  [1.0.0]: https://github.com/kettle-rb/kettle-dev/compare/a427c302df09cfe4253a7c8d400333f9a4c1a208...v1.0.0
227
241
  [1.0.0t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v1.0.0
228
242
  [1.0.1]: https://gitlab.com/kettle-rb/kettle-dev/-/compare/v1.0.0...v1.0.1
@@ -251,3 +265,5 @@ Please file a bug if you notice a violation of semantic versioning.
251
265
  [1.0.12t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v1.0.12
252
266
  [1.0.13]: https://github.com/kettle-rb/kettle-dev/compare/v1.0.12...v1.0.13
253
267
  [1.0.13t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v1.0.13
268
+ [1.0.14]: https://github.com/kettle-rb/kettle-dev/compare/v1.0.13...v1.0.14
269
+ [1.0.14t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v1.0.14
data/README.md CHANGED
@@ -85,20 +85,19 @@ Alternatively:
85
85
 
86
86
  </details>
87
87
 
88
- | Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
89
- |-------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
90
- | Works with JRuby | ![JRuby 9.1 Compat][💎jruby-9.1i] ![JRuby 9.2 Compat][💎jruby-9.2i] ![JRuby 9.3 Compat][💎jruby-9.3i] <br/> [![JRuby 9.4 Compat][💎jruby-9.4i]][🚎10-j-wf] [![JRuby 10.0 Compat][💎jruby-c-i]][🚎11-c-wf] [![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf] |
91
- | Works with Truffle Ruby | ![Truffle Ruby 22.3 Compat][💎truby-22.3i] ![Truffle Ruby 23.0 Compat][💎truby-23.0i] <br/> [![Truffle Ruby 23.1 Compat][💎truby-23.1i]][🚎9-t-wf] [![Truffle Ruby 24.1 Compat][💎truby-c-i]][🚎11-c-wf] |
92
- | Works with MRI Ruby 3 | [![Ruby 3.0 Compat][💎ruby-3.0i]][🚎4-lg-wf] [![Ruby 3.1 Compat][💎ruby-3.1i]][🚎6-s-wf] [![Ruby 3.2 Compat][💎ruby-3.2i]][🚎6-s-wf] [![Ruby 3.3 Compat][💎ruby-3.3i]][🚎6-s-wf] [![Ruby 3.4 Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf] |
93
- | Works with MRI Ruby 2 | ![Ruby 2.0 Compat][💎ruby-2.0i] ![Ruby 2.1 Compat][💎ruby-2.1i] ![Ruby 2.2 Compat][💎ruby-2.2i] <br/> [![Ruby 2.3 Compat][💎ruby-2.3i]][🚎1-an-wf] [![Ruby 2.4 Compat][💎ruby-2.4i]][🚎1-an-wf] [![Ruby 2.5 Compat][💎ruby-2.5i]][🚎1-an-wf] [![Ruby 2.6 Compat][💎ruby-2.6i]][🚎7-us-wf] [![Ruby 2.7 Compat][💎ruby-2.7i]][🚎7-us-wf] |
94
- | Works with MRI Ruby 1 | ![Ruby 1.9 Compat][💎ruby-1.9i] |
95
- | 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] |
96
- | 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] [![Wiki][📜wiki-img]][📜wiki] |
97
- | Compliance | [![License: MIT][📄license-img]][📄license-ref] [![📄ilo-declaration-img]][📄ilo-declaration] [![Security Policy][🔐security-img]][🔐security] [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct] [![SemVer 2.0.0][📌semver-img]][📌semver] |
98
- | 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] |
99
- | Support | [![Live Chat on Discord][✉️discord-invite-img]][✉️discord-invite] [![Get help from me on Upwork][👨🏼‍🏫expsup-upwork-img]][👨🏼‍🏫expsup-upwork] [![Get help from me on Codementor][👨🏼‍🏫expsup-codementor-img]][👨🏼‍🏫expsup-codementor] |
100
- | Maintainer 🎖️ | [![Follow Me on LinkedIn][💖🖇linkedin-img]][💖🖇linkedin] [![Follow Me on Ruby.Social][💖🐘ruby-mast-img]][💖🐘ruby-mast] [![Follow Me on Bluesky][💖🦋bluesky-img]][💖🦋bluesky] [![Contact Maintainer][🚂maint-contact-img]][🚂maint-contact] [![My technical writing][💖💁🏼‍♂️devto-img]][💖💁🏼‍♂️devto] |
101
- | `...` 💖 | [![Find Me on WellFound:][💖✌️wellfound-img]][💖✌️wellfound] [![Find Me on CrunchBase][💖💲crunchbase-img]][💖💲crunchbase] [![My LinkTree][💖🌳linktree-img]][💖🌳linktree] [![More About Me][💖💁🏼‍♂️aboutme-img]][💖💁🏼‍♂️aboutme] [🧊][💖🧊berg] [🐙][💖🐙hub] [🛖][💖🛖hut] [🧪][💖🧪lab] |
88
+ | Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
89
+ |-------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
90
+ | Works with JRuby | ![JRuby 9.1 Compat][💎jruby-9.1i] ![JRuby 9.2 Compat][💎jruby-9.2i] ![JRuby 9.3 Compat][💎jruby-9.3i] <br/> [![JRuby 9.4 Compat][💎jruby-9.4i]][🚎10-j-wf] [![JRuby 10.0 Compat][💎jruby-c-i]][🚎11-c-wf] [![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf] |
91
+ | Works with Truffle Ruby | ![Truffle Ruby 22.3 Compat][💎truby-22.3i] ![Truffle Ruby 23.0 Compat][💎truby-23.0i] <br/> [![Truffle Ruby 23.1 Compat][💎truby-23.1i]][🚎9-t-wf] [![Truffle Ruby 24.1 Compat][💎truby-c-i]][🚎11-c-wf] |
92
+ | Works with MRI Ruby 3 | [![Ruby 3.0 Compat][💎ruby-3.0i]][🚎4-lg-wf] [![Ruby 3.1 Compat][💎ruby-3.1i]][🚎6-s-wf] [![Ruby 3.2 Compat][💎ruby-3.2i]][🚎6-s-wf] [![Ruby 3.3 Compat][💎ruby-3.3i]][🚎6-s-wf] [![Ruby 3.4 Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf] |
93
+ | Works with MRI Ruby 2 | [![Ruby 2.3 Compat][💎ruby-2.3i]][🚎1-an-wf] [![Ruby 2.4 Compat][💎ruby-2.4i]][🚎1-an-wf] [![Ruby 2.5 Compat][💎ruby-2.5i]][🚎1-an-wf] [![Ruby 2.6 Compat][💎ruby-2.6i]][🚎7-us-wf] [![Ruby 2.7 Compat][💎ruby-2.7i]][🚎7-us-wf] |
94
+ | 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] |
95
+ | 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] [![Wiki][📜wiki-img]][📜wiki] |
96
+ | Compliance | [![License: MIT][📄license-img]][📄license-ref] [![📄ilo-declaration-img]][📄ilo-declaration] [![Security Policy][🔐security-img]][🔐security] [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct] [![SemVer 2.0.0][📌semver-img]][📌semver] |
97
+ | 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] |
98
+ | Support | [![Live Chat on Discord][✉️discord-invite-img]][✉️discord-invite] [![Get help from me on Upwork][👨🏼‍🏫expsup-upwork-img]][👨🏼‍🏫expsup-upwork] [![Get help from me on Codementor][👨🏼‍🏫expsup-codementor-img]][👨🏼‍🏫expsup-codementor] |
99
+ | Maintainer 🎖️ | [![Follow Me on LinkedIn][💖🖇linkedin-img]][💖🖇linkedin] [![Follow Me on Ruby.Social][💖🐘ruby-mast-img]][💖🐘ruby-mast] [![Follow Me on Bluesky][💖🦋bluesky-img]][💖🦋bluesky] [![Contact Maintainer][🚂maint-contact-img]][🚂maint-contact] [![My technical writing][💖💁🏼‍♂️devto-img]][💖💁🏼‍♂️devto] |
100
+ | `...` 💖 | [![Find Me on WellFound:][💖✌️wellfound-img]][💖✌️wellfound] [![Find Me on CrunchBase][💖💲crunchbase-img]][💖💲crunchbase] [![My LinkTree][💖🌳linktree-img]][💖🌳linktree] [![More About Me][💖💁🏼‍♂️aboutme-img]][💖💁🏼‍♂️aboutme] [🧊][💖🧊berg] [🐙][💖🐙hub] [🛖][💖🛖hut] [🧪][💖🧪lab] |
102
101
 
103
102
  ## ✨ Installation
104
103
 
@@ -697,7 +696,7 @@ Thanks for RTFM. ☺️
697
696
  [📌gitmoji]:https://gitmoji.dev
698
697
  [📌gitmoji-img]:https://img.shields.io/badge/gitmoji_commits-%20😜%20😍-34495e.svg?style=flat-square
699
698
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
700
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-2.001-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
699
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-2.175-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
701
700
  [🔐security]: SECURITY.md
702
701
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
703
702
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
data/Rakefile.example CHANGED
@@ -58,14 +58,10 @@ task :default do
58
58
  puts "Default task complete."
59
59
  end
60
60
 
61
- Kettle::Dev.install_tasks
62
-
63
61
  ### RELEASE TASKS
64
62
  # Setup stone_checksums
65
63
  begin
66
64
  require "stone_checksums"
67
-
68
- GemChecksums.install_tasks
69
65
  rescue LoadError
70
66
  desc("(stub) build:generate_checksums is unavailable")
71
67
  task("build:generate_checksums") do
@@ -1 +1,5 @@
1
- # Optional dependencies are not dependended on directly, but may be used if present.
1
+ # Optional dependencies are not depended on directly, but may be used if present.
2
+ # git gem is not a direct dependency for two reasons:
3
+ # 1. it is incompatible with Truffleruby v23
4
+ # 2. it depends on activesupport, which is too heavy
5
+ gem "git", ">= 1.19.1" # ruby >= 2.3
@@ -208,6 +208,9 @@ module Kettle
208
208
  maybe_create_github_release!(version)
209
209
  end
210
210
 
211
+ # 18. push tags to remotes (new final step)
212
+ push_tags! if @start_step <= 18
213
+
211
214
  puts "\nRelease complete. Don't forget to push the checksums commit if needed."
212
215
  end
213
216
 
@@ -409,6 +412,27 @@ module Kettle
409
412
  end
410
413
  end
411
414
 
415
+ def push_tags!
416
+ # After release, push tags to remotes according to policy:
417
+ # 1) If a remote named "all" exists, push tags only to it.
418
+ # 2) Otherwise, if other remotes exist, push tags to each of them.
419
+ # 3) If no remotes are configured, push tags using default remote.
420
+ if has_remote?("all")
421
+ run_cmd!("git push all --tags")
422
+ return
423
+ end
424
+
425
+ remotes = list_remotes
426
+ remotes -= ["all"] if remotes
427
+ if remotes.nil? || remotes.empty?
428
+ run_cmd!("git push --tags")
429
+ else
430
+ remotes.each do |remote|
431
+ run_cmd!("git push #{Shellwords.escape(remote)} --tags")
432
+ end
433
+ end
434
+ end
435
+
412
436
  def detect_trunk_branch
413
437
  out, ok = git_output(["remote", "show", "origin"])
414
438
  abort("Failed to get origin remote info.") unless ok
@@ -6,7 +6,7 @@ module Kettle
6
6
  module Version
7
7
  # The gem version.
8
8
  # @return [String]
9
- VERSION = "1.0.13"
9
+ VERSION = "1.0.14"
10
10
  end
11
11
  end
12
12
  end
data/lib/kettle-dev.rb CHANGED
@@ -7,7 +7,6 @@
7
7
  # In your `Rakefile` file:
8
8
  #
9
9
  # require "kettle/dev"
10
- # Kettle::Dev.install_tasks
11
10
  #
12
11
 
13
12
  # For technical reasons, if we move to Zeitwerk, this cannot be require_relative.
data.tar.gz.sig CHANGED
@@ -1,2 +1 @@
1
- {+Ae��h
2
- ��qw��'H��� $S�Pl���O-G�=XF��9�p��}��9��)� ��/ ��MOR!�&���m�{f��>����(���r ���0��?��;k�-�Hd44��/�N`����
1
+ b%���o'f�ІyG�� �Ե�� ;cK��mjՠ8���MŸM����B*D���(i����w��R���:J� !j}GVqd�R���e#�aӚ�o�mgChX�w�Y�ӡ�ad���ѐ�.�ny�m��f� 8F1�PC.1pW�Y��۟�+ ?FL����s
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.13
4
+ version: 1.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -339,10 +339,10 @@ licenses:
339
339
  - MIT
340
340
  metadata:
341
341
  homepage_uri: https://kettle-dev.galtzo.com/
342
- source_code_uri: https://github.com/kettle-rb/kettle-dev/tree/v1.0.13
343
- changelog_uri: https://github.com/kettle-rb/kettle-dev/blob/v1.0.13/CHANGELOG.md
342
+ source_code_uri: https://github.com/kettle-rb/kettle-dev/tree/v1.0.14
343
+ changelog_uri: https://github.com/kettle-rb/kettle-dev/blob/v1.0.14/CHANGELOG.md
344
344
  bug_tracker_uri: https://github.com/kettle-rb/kettle-dev/issues
345
- documentation_uri: https://www.rubydoc.info/gems/kettle-dev/1.0.13
345
+ documentation_uri: https://www.rubydoc.info/gems/kettle-dev/1.0.14
346
346
  funding_uri: https://github.com/sponsors/pboling
347
347
  wiki_uri: https://github.com/kettle-rb/kettle-dev/wiki
348
348
  news_uri: https://www.railsbling.com/tags/kettle-dev
metadata.gz.sig CHANGED
Binary file