kettle-dev 2.2.22 → 2.2.23

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: e8c48d8192f541834457ce29c83b4169ac7476eb14273d6591608ff9292f8ce1
4
- data.tar.gz: de8058fb6e66bd6f804cdf6bc48deded0e7b0b52ec80ece2de168777844b06ba
3
+ metadata.gz: 4eae68fe1a6357a69649df35339f11f14c9ee4619b178bd75aca169f0dda3100
4
+ data.tar.gz: 65ef0e0c7fb48335463f448b27b4604e6fccdf62c8451c38d3a9c282978db573
5
5
  SHA512:
6
- metadata.gz: 51b8849553e75278f25fe2193aec2a7fe88e3a6f022e58a8effba2577e85fefc4fdc536a9f81ca7e6b2fa0748145054facf4a79395072f38c3b659c26224749d
7
- data.tar.gz: 5190b2c20b7d947337f5405d0f605fdb91d305a62d8bc646d2ab8c99c24050e06e4e2707219083f76aaf261636d792ac6afc0eed47fda5ab0c2f6b5af321b497
6
+ metadata.gz: 4ce029f2bd1491ca589430f8f9495bb104d35f76b00ea0a3ec27573d73292af9c574dabc1c2f3931236cd02b1c05a3787d226fd6282b015945873ea77bb38def
7
+ data.tar.gz: 7d8544ef88af548ace5c0eb776076c2bf0fdf5ed36eabfd249c8661345cd599a464c098531cbb31b089ab583ab171012a131cc5ba7f03195e4123260c96b37e6
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.23] - 2026-06-28
34
+
35
+ - TAG: [v2.2.23][2.2.23t]
36
+ - COVERAGE: 91.63% -- 4160/4540 lines in 33 files
37
+ - BRANCH COVERAGE: 72.82% -- 1650/2266 branches in 33 files
38
+ - 61.04% documented
39
+
40
+ ### Fixed
41
+
42
+ - `kettle-release` no longer tries to switch an active local/dev checkout when
43
+ the release is running from that same branch-stack checkout.
44
+
33
45
  ## [2.2.22] - 2026-06-28
34
46
 
35
47
  - TAG: [v2.2.22][2.2.22t]
@@ -2346,7 +2358,9 @@ Please file a bug if you notice a violation of semantic versioning.
2346
2358
  - Selecting will run the selected workflow via `act`
2347
2359
  - This may move to its own gem in the future.
2348
2360
 
2349
- [Unreleased]: https://github.com/kettle-dev/kettle-dev/compare/v2.2.22...HEAD
2361
+ [Unreleased]: https://github.com/kettle-dev/kettle-dev/compare/v2.2.23...HEAD
2362
+ [2.2.23]: https://github.com/kettle-dev/kettle-dev/compare/v2.2.22...v2.2.23
2363
+ [2.2.23t]: https://github.com/kettle-dev/kettle-dev/releases/tag/v2.2.23
2350
2364
  [2.2.22]: https://github.com/kettle-dev/kettle-dev/compare/v2.2.21...v2.2.22
2351
2365
  [2.2.22t]: https://github.com/kettle-dev/kettle-dev/releases/tag/v2.2.22
2352
2366
  [2.2.21]: https://github.com/kettle-dev/kettle-dev/compare/v2.2.20...v2.2.21
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.533-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
877
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-4.540-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
@@ -423,6 +423,8 @@ module Kettle
423
423
  abort("Cannot select RUBOCOP_LTS_LOCAL branch for #{ruby_gem.inspect}.") unless branch
424
424
 
425
425
  checkout = File.join(local_root, "rubocop-lts")
426
+ return if active_local_branch_stack_release_checkout?(checkout)
427
+
426
428
  current, ok = git_output(["-C", checkout, "branch", "--show-current"])
427
429
  abort("Cannot inspect RUBOCOP_LTS_LOCAL checkout at #{checkout}.") unless ok
428
430
  return if current == branch
@@ -432,6 +434,18 @@ module Kettle
432
434
  abort("Cannot switch RUBOCOP_LTS_LOCAL checkout at #{checkout} to #{branch}. Commit or stash local changes, then retry.") unless switched
433
435
  end
434
436
 
437
+ def active_local_branch_stack_release_checkout?(checkout)
438
+ return false if local_kettle_family_release_target_branches.empty?
439
+
440
+ same_path?(@root, checkout)
441
+ end
442
+
443
+ def same_path?(left, right)
444
+ File.realpath(left) == File.realpath(right)
445
+ rescue Errno::ENOENT
446
+ false
447
+ end
448
+
435
449
  def rubocop_lts_local_root
436
450
  value = ENV["RUBOCOP_LTS_LOCAL"].to_s.strip
437
451
  return nil if value.empty? || %w[false 0 no off].include?(value.downcase)
@@ -3,7 +3,7 @@
3
3
  module Kettle
4
4
  module Dev
5
5
  module Version
6
- VERSION = "2.2.22"
6
+ VERSION = "2.2.23"
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.22
4
+ version: 2.2.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -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.22
363
- changelog_uri: https://github.com/kettle-dev/kettle-dev/blob/v2.2.22/CHANGELOG.md
362
+ source_code_uri: https://github.com/kettle-dev/kettle-dev/tree/v2.2.23
363
+ changelog_uri: https://github.com/kettle-dev/kettle-dev/blob/v2.2.23/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.22
365
+ documentation_uri: https://www.rubydoc.info/gems/kettle-dev/2.2.23
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