kettle-dev 2.2.21 → 2.2.22

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: 5c84739dfdebb3ae9c5c6fd438c7cc1db6e5707d9cecfe7a3e2e754e41390301
4
- data.tar.gz: 9e1f2b9e2f3c842c218977027c6cf69c1a753072f2d281e39239dc3e7097e9ee
3
+ metadata.gz: e8c48d8192f541834457ce29c83b4169ac7476eb14273d6591608ff9292f8ce1
4
+ data.tar.gz: de8058fb6e66bd6f804cdf6bc48deded0e7b0b52ec80ece2de168777844b06ba
5
5
  SHA512:
6
- metadata.gz: 287be3949983f25366e89ec2de3058bc63cf14dee7ff5b45a5da6a49a09d524493e91318788a370bb6ff92d4bed313771596368638f5026802850523be74f4df
7
- data.tar.gz: 20bf852b21d4fa605b151e9ee4fe91b50921fa7320ded4ec937951e3cfcc4177ae653246448139ede0188d4741d70f0b5d1b7afce04ed042442d31cbbbb4f98b
6
+ metadata.gz: 51b8849553e75278f25fe2193aec2a7fe88e3a6f022e58a8effba2577e85fefc4fdc536a9f81ca7e6b2fa0748145054facf4a79395072f38c3b659c26224749d
7
+ data.tar.gz: 5190b2c20b7d947337f5405d0f605fdb91d305a62d8bc646d2ab8c99c24050e06e4e2707219083f76aaf261636d792ac6afc0eed47fda5ab0c2f6b5af321b497
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,18 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [2.2.22] - 2026-06-28
34
+
35
+ - TAG: [v2.2.22][2.2.22t]
36
+ - COVERAGE: 92.01% -- 4171/4533 lines in 33 files
37
+ - BRANCH COVERAGE: 73.08% -- 1653/2262 branches in 33 files
38
+ - 61.04% documented
39
+
40
+ ### Fixed
41
+
42
+ - `kettle-release` now passes the exact built gem artifact to `bin/gem_checksums`
43
+ so stale packages in `pkg/` cannot cause checksums for the wrong version.
44
+
33
45
  ## [2.2.21] - 2026-06-28
34
46
 
35
47
  - TAG: [v2.2.21][2.2.21t]
@@ -2334,7 +2346,9 @@ Please file a bug if you notice a violation of semantic versioning.
2334
2346
  - Selecting will run the selected workflow via `act`
2335
2347
  - This may move to its own gem in the future.
2336
2348
 
2337
- [Unreleased]: https://github.com/kettle-dev/kettle-dev/compare/v2.2.21...HEAD
2349
+ [Unreleased]: https://github.com/kettle-dev/kettle-dev/compare/v2.2.22...HEAD
2350
+ [2.2.22]: https://github.com/kettle-dev/kettle-dev/compare/v2.2.21...v2.2.22
2351
+ [2.2.22t]: https://github.com/kettle-dev/kettle-dev/releases/tag/v2.2.22
2338
2352
  [2.2.21]: https://github.com/kettle-dev/kettle-dev/compare/v2.2.20...v2.2.21
2339
2353
  [2.2.21t]: https://github.com/kettle-dev/kettle-dev/releases/tag/v2.2.21
2340
2354
  [2.2.20]: https://github.com/kettle-dev/kettle-dev/compare/v2.2.19...v2.2.20
data/README.md CHANGED
@@ -874,7 +874,7 @@ Thanks for RTFM. ☺️
874
874
  [📌gitmoji]: https://gitmoji.dev
875
875
  [📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
876
876
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
877
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-4.529-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
877
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-4.533-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
878
878
  [🔐security]: https://github.com/kettle-dev/kettle-dev/blob/main/SECURITY.md
879
879
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
880
880
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
@@ -344,8 +344,9 @@ module Kettle
344
344
  # release build to include them in the gem, thus altering the artifact, and invalidating the checksums.
345
345
  if run_step?(16)
346
346
  # Generate checksums for the just-built artifact, commit them, then validate
347
- run_cmd!("bin/gem_checksums")
348
347
  version ||= detect_version
348
+ gem_path = checksum_gem_path_for_version!(version)
349
+ run_cmd!("bin/gem_checksums #{Shellwords.escape(gem_path)}")
349
350
  validate_checksums!(version, stage: "after release")
350
351
  end
351
352
 
@@ -1159,10 +1160,7 @@ module Kettle
1159
1160
  end
1160
1161
 
1161
1162
  def validate_checksums!(version, stage: "")
1162
- gem_path = gem_file_for_version(version)
1163
- unless gem_path && File.file?(gem_path)
1164
- abort("Unable to locate built gem for version #{version} in pkg/. Did the build succeed?")
1165
- end
1163
+ gem_path = checksum_gem_path_for_version!(version)
1166
1164
  actual = compute_sha256(gem_path)
1167
1165
  checks_path = File.join(@root, "checksums", "#{File.basename(gem_path)}.sha256")
1168
1166
  unless File.file?(checks_path)
@@ -1184,6 +1182,14 @@ module Kettle
1184
1182
  end
1185
1183
  end
1186
1184
 
1185
+ def checksum_gem_path_for_version!(version)
1186
+ gem_path = gem_file_for_version(version)
1187
+ unless gem_path && File.file?(gem_path)
1188
+ abort("Unable to locate built gem for version #{version} in pkg/. Did the build succeed?")
1189
+ end
1190
+ gem_path
1191
+ end
1192
+
1187
1193
  def gem_file_for_version(version)
1188
1194
  pkg = File.join(@root, "pkg")
1189
1195
  pattern = File.join(pkg, "*.gem")
@@ -3,7 +3,7 @@
3
3
  module Kettle
4
4
  module Dev
5
5
  module Version
6
- VERSION = "2.2.21"
6
+ VERSION = "2.2.22"
7
7
  end
8
8
  VERSION = Version::VERSION # Traditional Constant Location
9
9
  end
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: 2.2.21
4
+ version: 2.2.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -208,7 +208,7 @@ dependencies:
208
208
  version: '1.0'
209
209
  - - ">="
210
210
  - !ruby/object:Gem::Version
211
- version: 1.0.3
211
+ version: 1.0.4
212
212
  type: :development
213
213
  prerelease: false
214
214
  version_requirements: !ruby/object:Gem::Requirement
@@ -218,7 +218,7 @@ dependencies:
218
218
  version: '1.0'
219
219
  - - ">="
220
220
  - !ruby/object:Gem::Version
221
- version: 1.0.3
221
+ version: 1.0.4
222
222
  - !ruby/object:Gem::Dependency
223
223
  name: gitmoji-regex
224
224
  requirement: !ruby/object:Gem::Requirement
@@ -359,10 +359,10 @@ licenses:
359
359
  - AGPL-3.0-only
360
360
  metadata:
361
361
  homepage_uri: https://kettle-dev.galtzo.com
362
- source_code_uri: https://github.com/kettle-dev/kettle-dev/tree/v2.2.21
363
- changelog_uri: https://github.com/kettle-dev/kettle-dev/blob/v2.2.21/CHANGELOG.md
362
+ source_code_uri: https://github.com/kettle-dev/kettle-dev/tree/v2.2.22
363
+ changelog_uri: https://github.com/kettle-dev/kettle-dev/blob/v2.2.22/CHANGELOG.md
364
364
  bug_tracker_uri: https://github.com/kettle-dev/kettle-dev/issues
365
- documentation_uri: https://www.rubydoc.info/gems/kettle-dev/2.2.21
365
+ documentation_uri: https://www.rubydoc.info/gems/kettle-dev/2.2.22
366
366
  funding_uri: https://github.com/sponsors/pboling
367
367
  wiki_uri: https://github.com/kettle-dev/kettle-dev/wiki
368
368
  news_uri: https://www.railsbling.com/tags/kettle-dev
metadata.gz.sig CHANGED
Binary file