kettle-dev 1.1.24 → 1.1.25

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: d04b8ab4f92685e809649cfa00e1272adb8b3da37ac68b24034259f7a7e7052b
4
- data.tar.gz: ab03c72bf61c27941a1592c5e7bd47f0c4fc0211bc2d04280b809a6ba4d1d0b9
3
+ metadata.gz: e75e0d20259bcb2cac5f2b536484c86c90f14571b6eb3eaf932be12312a1c0f4
4
+ data.tar.gz: 371bb553cacb0123d8f23f45d96d12b868a4b575b414ba90c816bb28d60be421
5
5
  SHA512:
6
- metadata.gz: 33c386f8d38cbf5c6b87f54a56d133cf7d29f5265c1dd2279a27825a3c149a9d23293bbf71e9e359de952f812d00481c603255d8d7f1512e27edc9f14bedeca6
7
- data.tar.gz: 0e9766d1e8746e056d1faece88d7df6542122af64d9cc789229b7881badca3c28b31f18acdc4eb4fbc080ad583000d6e906541f81867dfb8181732e828609ae1
6
+ metadata.gz: faf91f091e1fa86de01ce175e6b56080f49a7c2168e783f36a21870662b70441501c44cdada7cd1aa865550fab539d634daf95c3de7d7559789857c9ae3f1fac
7
+ data.tar.gz: 7f7f375775fa0cbcd860b8366b3ec4f0638086335bf57881613c147ef4681916c7e8dc6434101a44793ba56f796aa8335ecbdc87686b0d0db1868529031d7c0d
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,17 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [1.1.25] - 2025-09-18
34
+
35
+ - TAG: [v1.1.25][1.1.25t]
36
+ - COVERAGE: 96.87% -- 3708/3828 lines in 26 files
37
+ - BRANCH COVERAGE: 81.69% -- 1526/1868 branches in 26 files
38
+ - 78.33% documented
39
+
40
+ ### Fixed
41
+
42
+ - kettle-readme-backers fails gracefully when README_UPDATER_TOKEN is missing from org secrets
43
+
33
44
  ## [1.1.24] - 2025-09-17
34
45
 
35
46
  - TAG: [v1.1.24][1.1.24t]
@@ -969,7 +980,9 @@ Please file a bug if you notice a violation of semantic versioning.
969
980
  - Selecting will run the selected workflow via `act`
970
981
  - This may move to its own gem in the future.
971
982
 
972
- [Unreleased]: https://github.com/kettle-rb/kettle-dev/compare/v1.1.24...HEAD
983
+ [Unreleased]: https://github.com/kettle-rb/kettle-dev/compare/v1.1.25...HEAD
984
+ [1.1.25]: https://github.com/kettle-rb/kettle-dev/compare/v1.1.24...v1.1.25
985
+ [1.1.25t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v1.1.25
973
986
  [1.1.24]: https://github.com/kettle-rb/kettle-dev/compare/v1.1.23...v1.1.24
974
987
  [1.1.24t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v1.1.24
975
988
  [1.1.23]: https://github.com/kettle-rb/kettle-dev/compare/v1.1.22...v1.1.23
data/README.md CHANGED
@@ -548,6 +548,11 @@ What it does:
548
548
  - Tip:
549
549
  - Run this locally before committing to keep your README current, or schedule it in CI to refresh periodically.
550
550
  - It runs automatically on a once-a-week schedule by the .github/workflows/opencollective.yml workflow that is part of the kettle-dev template.
551
+ - Authentication requirement:
552
+ - When running in CI with the provided workflow, you must provide an organization-level Actions secret named `README_UPDATER_TOKEN`.
553
+ - Create it under your GitHub organization settings: `https://github.com/organizations/<YOUR_ORG>/settings/secrets/actions`.
554
+ - The updater will look for `REPO` or `GITHUB_REPOSITORY` (both usually set by GitHub Actions) to infer `<YOUR_ORG>` for guidance.
555
+ - If `README_UPDATER_TOKEN` is missing, the tool prints a helpful error to STDERR and aborts, including a direct link to the expected org settings page.
551
556
 
552
557
  ## 🦷 FLOSS Funding
553
558
 
@@ -916,7 +921,7 @@ Thanks for RTFM. ☺️
916
921
  [📌gitmoji]:https://gitmoji.dev
917
922
  [📌gitmoji-img]:https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
918
923
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
919
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-3.814-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
924
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-3.828-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
920
925
  [🔐security]: SECURITY.md
921
926
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
922
927
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
data/README.md.example CHANGED
@@ -513,7 +513,7 @@ Thanks for RTFM. ☺️
513
513
  [📌gitmoji]:https://gitmoji.dev
514
514
  [📌gitmoji-img]:https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
515
515
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
516
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-3.814-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
516
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-3.828-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
517
517
  [🔐security]: SECURITY.md
518
518
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
519
519
  [📄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
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # kettle-dev Rakefile v1.1.24 - 2025-09-17
3
+ # kettle-dev Rakefile v1.1.25 - 2025-09-18
4
4
  # Ruby 2.3 (Safe Navigation) or higher required
5
5
  #
6
6
  # MIT License (see License.txt)
@@ -46,6 +46,30 @@ module Kettle
46
46
  @readme_path = readme_path
47
47
  end
48
48
 
49
+ # Validate environment preconditions for running the updater.
50
+ # Ensures README_UPDATER_TOKEN is present. If missing, prints guidance and raises.
51
+ #
52
+ # @return [void]
53
+ # @raise [RuntimeError] when README_UPDATER_TOKEN is not provided
54
+ def validate
55
+ token = ENV["README_UPDATER_TOKEN"].to_s
56
+ if token.strip.empty?
57
+ repo = ENV["REPO"] || ENV["GITHUB_REPOSITORY"]
58
+ org = repo&.to_s&.split("/")&.first
59
+ org_url = if org && !org.strip.empty?
60
+ "https://github.com/organizations/#{org}/settings/secrets/actions"
61
+ else
62
+ "https://github.com/organizations/YOUR_ORG/settings/secrets/actions"
63
+ end
64
+ $stderr.puts "ERROR: README_UPDATER_TOKEN is not set."
65
+ $stderr.puts "Please create an organization-level Actions secret named README_UPDATER_TOKEN at:"
66
+ $stderr.puts " #{org_url}"
67
+ $stderr.puts "Then update the workflow to reference it, or provide README_UPDATER_TOKEN in the environment."
68
+ raise 'Missing ENV["README_UPDATER_TOKEN"]'
69
+ end
70
+ nil
71
+ end
72
+
49
73
  def run!
50
74
  readme = File.read(@readme_path)
51
75
 
@@ -6,7 +6,7 @@ module Kettle
6
6
  module Version
7
7
  # The gem version.
8
8
  # @return [String]
9
- VERSION = "1.1.24"
9
+ VERSION = "1.1.25"
10
10
 
11
11
  module_function
12
12
 
@@ -10,6 +10,7 @@ module Kettle
10
10
  ) -> void
11
11
 
12
12
  def run!: () -> void
13
+ def validate: () -> void
13
14
 
14
15
  # Selected public helpers (kept minimal)
15
16
  def readme_osc_tag: () -> String
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.1.24
4
+ version: 1.1.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -404,10 +404,10 @@ licenses:
404
404
  - MIT
405
405
  metadata:
406
406
  homepage_uri: https://kettle-dev.galtzo.com/
407
- source_code_uri: https://github.com/kettle-rb/kettle-dev/tree/v1.1.24
408
- changelog_uri: https://github.com/kettle-rb/kettle-dev/blob/v1.1.24/CHANGELOG.md
407
+ source_code_uri: https://github.com/kettle-rb/kettle-dev/tree/v1.1.25
408
+ changelog_uri: https://github.com/kettle-rb/kettle-dev/blob/v1.1.25/CHANGELOG.md
409
409
  bug_tracker_uri: https://github.com/kettle-rb/kettle-dev/issues
410
- documentation_uri: https://www.rubydoc.info/gems/kettle-dev/1.1.24
410
+ documentation_uri: https://www.rubydoc.info/gems/kettle-dev/1.1.25
411
411
  funding_uri: https://github.com/sponsors/pboling
412
412
  wiki_uri: https://github.com/kettle-rb/kettle-dev/wiki
413
413
  news_uri: https://www.railsbling.com/tags/kettle-dev
metadata.gz.sig CHANGED
@@ -1,3 +1 @@
1
- \[���}��In������qȲ,��n�� ��?V��bx+���?《��XM3~��!��h!�Ӷ�z���E,_��I~�7H'��=�ٵ���Pƕ�Vt�,�hK8(U�<rts�!YQ4��n�\�E�2L��h��F\EM��������! 8v���r}d#��J|a���yr
2
- � ���m��I��}ETW����p���G� ��KH�(���pS~�k���eS#��5_1;��I�I�������tFi��pB`�/��-�Jf�[��<��r��a��
3
- "�@+Ks�eM�޿AҾ�,��_e9��689�K&?�3 �t�Q��m���Q�?*�F�6d���X����*p&��)�A�,�绒�$�
1
+ b�H���|+�J������*ƴ�Eo�Lm�ɑ۬�QU�Gt�>�w� m指P�xx��IW.��J�K�����-��>�I��>�Q�I_��zgY��H���p��ܢ�i c�����+� ���5��s!ڷ�Cb�� #�� ��Қ�l9���AZ-'��:�X����j�r)E'oJ�=��"�UvD��g۸��'PB�xg�{��gp'��~#[dN����B��=ds�T�{7���i��'��?��d0s��Ԃb��fӇ�~u~�&2C���aA���ʹ��@�Vk���ǬPU���Ŧ$������w �qJYO'D��b���ka��O�mAd=6/�EI�f.�� �^?rE����9�ƞ