kettle-dev 1.1.9 → 1.1.10

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: 390782fc59b3ecdb4da6eba290dfb4bcb4859b903837f97040e9d5a4877dc3d6
4
- data.tar.gz: 18a699e55e20416b03c34b060d79ec07c61f3278dda3d906b276687a7f8b6794
3
+ metadata.gz: e6cf7cc8f6c3a0d1dfc5f0dbc6da851e122abdad9a284c5835eb7f910214dbe7
4
+ data.tar.gz: 6ff4d986c36a7eb18e5413e29707c7a78fcfdb048852a16ecc403010963d67d3
5
5
  SHA512:
6
- metadata.gz: 4c405e9036b50bb07e9ba968842beab12120a759f2692f074f938d22f24cb35fd8850ea045f739ed7f765b79ee1a54ab7417380813b93c802801f383d6a2cfad
7
- data.tar.gz: 5334de8b782bf4abbc236261912b6b757ae4bac4c4969ed8a420b5965e8aa395f3f076cb72f5de60c83c18e602037af523d89cddc82a00ecd90b615817af8d64
6
+ metadata.gz: 640a7db16fab1bb407eca866f68209f5c354f8ed54fd40b20723ec0a8e3860018b4509891bb9875a2a268a082149c7013bfe0c1426dfe08cdd857c3e057dee8a
7
+ data.tar.gz: a32860690a84df178fbffddc65ffb14eb257f9481d1efd9cbcb177eb53452ce34493d370a9430c3dc2bdb3a295bd1fc55c584f7b174fcc379e102084166811dd
checksums.yaml.gz.sig CHANGED
Binary file
data/Appraisals.example CHANGED
@@ -74,7 +74,7 @@ appraise "ruby-3-1" do
74
74
  end
75
75
 
76
76
  appraise "ruby-3-2" do
77
- eval_gemfile "modular/x_std_libs/3/libs.gemfile"
77
+ eval_gemfile "modular/x_std_libs/r3/libs.gemfile"
78
78
  end
79
79
 
80
80
  appraise "ruby-3-3" do
data/CHANGELOG.md CHANGED
@@ -24,6 +24,22 @@ Please file a bug if you notice a violation of semantic versioning.
24
24
  ### Fixed
25
25
  ### Security
26
26
 
27
+ ## [1.1.10] - 2025-09-08
28
+ - TAG: [v1.1.10][1.1.10t]
29
+ - COVERAGE: 97.14% -- 3256/3352 lines in 23 files
30
+ - BRANCH COVERAGE: 81.91% -- 1345/1642 branches in 23 files
31
+ - 76.65% documented
32
+ ### Added
33
+ - Improve documentation
34
+ - Fix an internal link in README.md
35
+ ### Changed
36
+ - template task no longer overwrites CHANGELOG.md completely
37
+ - attempts to retain existing release notes content
38
+ ### Fixed
39
+ - Fix a typo in the README.md
40
+ ### Fixed
41
+ - fix typo in the path to x_std_libs.gemfile
42
+
27
43
  ## [1.1.9] - 2025-09-07
28
44
  - TAG: [v1.1.9][1.1.9t]
29
45
  - COVERAGE: 97.11% -- 3255/3352 lines in 23 files
@@ -555,7 +571,9 @@ Please file a bug if you notice a violation of semantic versioning.
555
571
  - Selecting will run the selected workflow via `act`
556
572
  - This may move to its own gem in the future.
557
573
 
558
- [Unreleased]: https://github.com/kettle-rb/kettle-dev/compare/v1.1.9...HEAD
574
+ [Unreleased]: https://github.com/kettle-rb/kettle-dev/compare/v1.1.10...HEAD
575
+ [1.1.10]: https://github.com/kettle-rb/kettle-dev/compare/v1.1.9...v1.1.10
576
+ [1.1.10t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v1.1.10
559
577
  [1.1.9]: https://github.com/kettle-rb/kettle-dev/compare/v1.1.8...v1.1.9
560
578
  [1.1.9t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v1.1.9
561
579
  [1.1.8]: https://github.com/kettle-rb/kettle-dev/compare/v1.1.7...v1.1.8
data/README.md CHANGED
@@ -11,11 +11,11 @@
11
11
 
12
12
  [![Version][👽versioni]][👽version] [![GitHub tag (latest SemVer)][⛳️tag-img]][⛳️tag] [![License: MIT][📄license-img]][📄license-ref] [![Downloads Rank][👽dl-ranki]][👽dl-rank] [![Open Source Helpers][👽oss-helpi]][👽oss-help] [![CodeCov Test Coverage][🔑codecovi]][🔑codecov] [![Coveralls Test Coverage][🔑coveralls-img]][🔑coveralls] [![QLTY Test Coverage][🔑qlty-covi]][🔑qlty-cov] [![QLTY Maintainability][🔑qlty-mnti]][🔑qlty-mnt] [![CI Heads][🚎3-hd-wfi]][🚎3-hd-wf] [![CI Runtime Dependencies @ HEAD][🚎12-crh-wfi]][🚎12-crh-wf] [![CI Current][🚎11-c-wfi]][🚎11-c-wf] [![CI Truffle Ruby][🚎9-t-wfi]][🚎9-t-wf] [![CI JRuby][🚎10-j-wfi]][🚎10-j-wf] [![Deps Locked][🚎13-🔒️-wfi]][🚎13-🔒️-wf] [![Deps Unlocked][🚎14-🔓️-wfi]][🚎14-🔓️-wf] [![CI Supported][🚎6-s-wfi]][🚎6-s-wf] [![CI Legacy][🚎4-lg-wfi]][🚎4-lg-wf] [![CI Unsupported][🚎7-us-wfi]][🚎7-us-wf] [![CI Ancient][🚎1-an-wfi]][🚎1-an-wf] [![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf] [![CI Style][🚎5-st-wfi]][🚎5-st-wf] [![CodeQL][🖐codeQL-img]][🖐codeQL]
13
13
 
14
- If ☝️ `ci_badges.map(&:color).detect { it != "green"}` [let me know][🖼️galtzo-discord], as I may have missed the [discord notification][🖼️galtzo-discord].
14
+ `if ci_badges.map(&:color).detect { it != "green"}` ☝️ [let me know][🖼️galtzo-discord], as I may have missed the [discord notification][🖼️galtzo-discord].
15
15
 
16
16
  ---
17
17
 
18
- OTOH, if `ci_badges.map(&:color).all? { it == "green"}` 👇️ send money so I can do more of this. FLOSS maintenance is now my full-time job.
18
+ `if ci_badges.map(&:color).all? { it == "green"}` 👇️ send money so I can do more of this. FLOSS maintenance is now my full-time job.
19
19
 
20
20
  [![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] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate on Polar][🖇polar-img]][🖇polar] [![Donate to my FLOSS or refugee efforts at ko-fi.com][🖇kofi-img]][🖇kofi] [![Donate to my FLOSS or refugee efforts using Patreon][🖇patreon-img]][🖇patreon]
21
21
 
@@ -71,8 +71,8 @@ bin/kettle-release
71
71
 
72
72
  Compatible with MRI Ruby 2.3+, and concordant releases of JRuby, and TruffleRuby.
73
73
 
74
- | 🚚 _Amazing_ test matrix was brought to you by | 🔎 appraisal2 🔎 |
75
- |------------------------------------------------|-------------------------------------------------------------------------------------|
74
+ | 🚚 _Amazing_ test matrix was brought to you by | 🔎 appraisal2 🔎 and the color 💚 green 💚 |
75
+ |------------------------------------------------|--------------------------------------------------------|
76
76
  | 👟 Check it out! | ✨ [github.com/appraisal-rb/appraisal2][💎appraisal2] ✨ |
77
77
 
78
78
  ### Federated DVCS
@@ -723,7 +723,7 @@ To join the community or get help 👇️ Join the Discord.
723
723
 
724
724
  [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
725
725
 
726
- To say "thanks for maintaining such a great tool" ☝️ Join the Discord or 👇️ send money.
726
+ To say "thanks!" ☝️ Join the Discord or 👇️ send money.
727
727
 
728
728
  [![Sponsor kettle-rb/kettle-dev 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-img] 💌 [![Donate on PayPal][🖇paypal-bottom-img]][🖇paypal-img]
729
729
 
data/README.md.example CHANGED
@@ -11,11 +11,11 @@
11
11
 
12
12
  [![Version][👽versioni]][👽version] [![GitHub tag (latest SemVer)][⛳️tag-img]][⛳️tag] [![License: MIT][📄license-img]][📄license-ref] [![Downloads Rank][👽dl-ranki]][👽dl-rank] [![Open Source Helpers][👽oss-helpi]][👽oss-help] [![CodeCov Test Coverage][🔑codecovi]][🔑codecov] [![Coveralls Test Coverage][🔑coveralls-img]][🔑coveralls] [![QLTY Test Coverage][🔑qlty-covi]][🔑qlty-cov] [![QLTY Maintainability][🔑qlty-mnti]][🔑qlty-mnt] [![CI Heads][🚎3-hd-wfi]][🚎3-hd-wf] [![CI Runtime Dependencies @ HEAD][🚎12-crh-wfi]][🚎12-crh-wf] [![CI Current][🚎11-c-wfi]][🚎11-c-wf] [![CI Truffle Ruby][🚎9-t-wfi]][🚎9-t-wf] [![CI JRuby][🚎10-j-wfi]][🚎10-j-wf] [![Deps Locked][🚎13-🔒️-wfi]][🚎13-🔒️-wf] [![Deps Unlocked][🚎14-🔓️-wfi]][🚎14-🔓️-wf] [![CI Supported][🚎6-s-wfi]][🚎6-s-wf] [![CI Legacy][🚎4-lg-wfi]][🚎4-lg-wf] [![CI Unsupported][🚎7-us-wfi]][🚎7-us-wf] [![CI Ancient][🚎1-an-wfi]][🚎1-an-wf] [![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf] [![CI Style][🚎5-st-wfi]][🚎5-st-wf] [![CodeQL][🖐codeQL-img]][🖐codeQL]
13
13
 
14
- If ☝️ `ci_badges.map(&:color).detect { it != "green"}` [let me know][🖼️galtzo-discord], as I may have missed the [discord notification][🖼️galtzo-discord].
14
+ `if ci_badges.map(&:color).detect { it != "green"}` ☝️ [let me know][🖼️galtzo-discord], as I may have missed the [discord notification][🖼️galtzo-discord].
15
15
 
16
16
  ---
17
17
 
18
- OTOH, if `ci_badges.map(&:color).all? { it == "green"}` 👇️ send money so I can do more of this. FLOSS maintenance is now my full-time job.
18
+ `if ci_badges.map(&:color).all? { it == "green"}` 👇️ send money so I can do more of this. FLOSS maintenance is now my full-time job.
19
19
 
20
20
  [![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] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate on Polar][🖇polar-img]][🖇polar] [![Donate to my FLOSS or refugee efforts at ko-fi.com][🖇kofi-img]][🖇kofi] [![Donate to my FLOSS or refugee efforts using Patreon][🖇patreon-img]][🖇patreon]
21
21
 
@@ -43,8 +43,8 @@ OTOH, if `ci_badges.map(&:color).all? { it == "green"}` 👇️ send money so I
43
43
 
44
44
  Compatible with MRI Ruby 2.3+, and concordant releases of JRuby, and TruffleRuby.
45
45
 
46
- | 🚚 _Amazing_ test matrix was brought to you by | 🔎 appraisal2 🔎 |
47
- |------------------------------------------------|-------------------------------------------------------------------------------------|
46
+ | 🚚 _Amazing_ test matrix was brought to you by | 🔎 appraisal2 🔎 and the color 💚 green 💚 |
47
+ |------------------------------------------------|--------------------------------------------------------|
48
48
  | 👟 Check it out! | ✨ [github.com/appraisal-rb/appraisal2][💎appraisal2] ✨ |
49
49
 
50
50
  ### Federated DVCS
@@ -318,7 +318,7 @@ To join the community or get help 👇️ Join the Discord.
318
318
 
319
319
  [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
320
320
 
321
- To say "thanks for maintaining such a great tool" ☝️ Join the Discord or 👇️ send money.
321
+ To say "thanks!" ☝️ Join the Discord or 👇️ send money.
322
322
 
323
323
  [![Sponsor kettle-rb/kettle-dev 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-img] 💌 [![Donate on PayPal][🖇paypal-bottom-img]][🖇paypal-img]
324
324
 
data/Rakefile.example CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # kettle-dev Rakefile v1.1.9 - 2025-09-07
3
+ # kettle-dev Rakefile v1.1.10 - 2025-09-08
4
4
  # Ruby 2.3 (Safe Navigation) or higher required
5
5
  #
6
6
  # MIT License (see License.txt)
@@ -617,17 +617,50 @@ module Kettle
617
617
  namespace_shield: namespace_shield,
618
618
  gem_shield: gem_shield,
619
619
  )
620
- # Retain whitespace everywhere, except collapse repeated whitespace in CHANGELOG release headers only
621
620
  if File.basename(rel) == "CHANGELOG.md"
622
- lines = c.split("\n", -1)
623
- lines.map! do |ln|
624
- if ln =~ /^##\s+\[.*\]/
625
- ln.gsub(/[ \t]+/, " ")
621
+ begin
622
+ # Special handling: only template header through Unreleased section (inclusive), preserve the rest
623
+ src_lines = c.split("\n", -1)
624
+ # Find index of Unreleased heading (case-insensitive), typical format: ## [Unreleased]
625
+ unreleased_idx = src_lines.index { |ln| ln =~ /^##\s*\[\s*Unreleased\s*\]/i }
626
+ if unreleased_idx
627
+ # Determine end of Unreleased section: next heading of same or higher level (## or #)
628
+ stop_idx = src_lines.length - 1
629
+ j = unreleased_idx + 1
630
+ while j < src_lines.length
631
+ if src_lines[j] =~ /^##\s+\[/ || src_lines[j] =~ /^#\s+/ || src_lines[j] =~ /^##\s+[^\[]/
632
+ stop_idx = j - 1
633
+ break
634
+ end
635
+ j += 1
636
+ end
637
+ header_through_unreleased = src_lines[0..stop_idx]
638
+ tail = File.file?(dest) ? File.read(dest).split("\n", -1)[(File.read(dest).split("\n", -1).index { |ln| ln =~ /^##\s*\[\s*Unreleased\s*\]/i } || -1) + 1..-1] : nil
639
+ tail ||= []
640
+ # Additionally, ensure we preserve existing markdown link refs typically at file bottom (e.g., [Unreleased]: ...)
641
+ # Prefer tail from existing file entirely to avoid clobbering release notes and refs.
642
+ merged = (header_through_unreleased + (tail || [])).join("\n")
643
+ c = merged
626
644
  else
627
- ln
645
+ # If Unreleased not found, fallback to original c (only collapse header spacing below)
646
+ end
647
+ # Collapse repeated whitespace in release headers only
648
+ lines = c.split("\n", -1)
649
+ lines.map! do |ln|
650
+ if ln =~ /^##\s+\[.*\]/
651
+ ln.gsub(/[ \t]+/, " ")
652
+ else
653
+ ln
654
+ end
628
655
  end
656
+ c = lines.join("\n")
657
+ rescue StandardError => e
658
+ Kettle::Dev.debug_error(e, __method__)
659
+ # On any error, keep previous behavior (collapse whitespace only)
660
+ lines = c.split("\n", -1)
661
+ lines.map! { |ln| (ln =~ /^##\s+\[.*\]/) ? ln.gsub(/[ \t]+/, " ") : ln }
662
+ c = lines.join("\n")
629
663
  end
630
- c = lines.join("\n")
631
664
  end
632
665
  c
633
666
  end
@@ -6,7 +6,7 @@ module Kettle
6
6
  module Version
7
7
  # The gem version.
8
8
  # @return [String]
9
- VERSION = "1.1.9"
9
+ VERSION = "1.1.10"
10
10
 
11
11
  module_function
12
12
 
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.9
4
+ version: 1.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -381,10 +381,10 @@ licenses:
381
381
  - MIT
382
382
  metadata:
383
383
  homepage_uri: https://kettle-dev.galtzo.com/
384
- source_code_uri: https://github.com/kettle-rb/kettle-dev/tree/v1.1.9
385
- changelog_uri: https://github.com/kettle-rb/kettle-dev/blob/v1.1.9/CHANGELOG.md
384
+ source_code_uri: https://github.com/kettle-rb/kettle-dev/tree/v1.1.10
385
+ changelog_uri: https://github.com/kettle-rb/kettle-dev/blob/v1.1.10/CHANGELOG.md
386
386
  bug_tracker_uri: https://github.com/kettle-rb/kettle-dev/issues
387
- documentation_uri: https://www.rubydoc.info/gems/kettle-dev/1.1.9
387
+ documentation_uri: https://www.rubydoc.info/gems/kettle-dev/1.1.10
388
388
  funding_uri: https://github.com/sponsors/pboling
389
389
  wiki_uri: https://github.com/kettle-rb/kettle-dev/wiki
390
390
  news_uri: https://www.railsbling.com/tags/kettle-dev
metadata.gz.sig CHANGED
Binary file