kettle-family 0.2.2 → 0.2.3
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +16 -1
- data/README.md +1 -1
- data/lib/kettle/family/branch_target_config.rb +1 -0
- data/lib/kettle/family/discovery.rb +13 -1
- data/lib/kettle/family/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +4 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1321ed38de6cb72dbb54f07eb9d64ad603d534ee0bde3986c69a12aea3209bd7
|
|
4
|
+
data.tar.gz: fb828bcc85d5a373bfbaa19b9f409e4ccc061840943bb7605337106c346d1531
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 93890dd533ed38d98f53ddf6c6c3a54e2be63e62d115e90e1c87caa3613eaeb0fe73c4fc76baf6de3f92c68591cbb73ac8dc6e869a817ff5ad7a8db200021ddb
|
|
7
|
+
data.tar.gz: 36fe85d72cc06f7bae910e45161ebc65d4d1f847f9627c18625b402a401be8f2698bffb13562fbbd881b3c63b90cdcc03c412f6e9ea2ce4d35be307dfa25a8d1
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,19 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
30
30
|
|
|
31
31
|
### Security
|
|
32
32
|
|
|
33
|
+
## [0.2.3] - 2026-07-03
|
|
34
|
+
|
|
35
|
+
- TAG: [v0.2.3][0.2.3t]
|
|
36
|
+
- COVERAGE: 95.51% -- 2210/2314 lines in 21 files
|
|
37
|
+
- BRANCH COVERAGE: 76.41% -- 716/937 branches in 21 files
|
|
38
|
+
- 29.82% documented
|
|
39
|
+
|
|
40
|
+
### Fixed
|
|
41
|
+
|
|
42
|
+
- Root-configured member branch target commands now rediscover the checked-out
|
|
43
|
+
member repository before version bumping, preventing old release lines from
|
|
44
|
+
being bumped to the current branch's version.
|
|
45
|
+
|
|
33
46
|
## [0.2.2] - 2026-07-02
|
|
34
47
|
|
|
35
48
|
- TAG: [v0.2.2][0.2.2t]
|
|
@@ -617,7 +630,9 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
617
630
|
- Fixed CI load failures on engines without compatible `pty` support by falling back to Open3 for interactive release commands.
|
|
618
631
|
- Fixed Ruby 3.2 version-bump support by loading Prism lazily and wiring the Prism gem only for MRI versions that need it.
|
|
619
632
|
|
|
620
|
-
[Unreleased]: https://github.com/kettle-dev/kettle-family/compare/v0.2.
|
|
633
|
+
[Unreleased]: https://github.com/kettle-dev/kettle-family/compare/v0.2.3...HEAD
|
|
634
|
+
[0.2.3]: https://github.com/kettle-dev/kettle-family/compare/v0.2.2...v0.2.3
|
|
635
|
+
[0.2.3t]: https://github.com/kettle-dev/kettle-family/releases/tag/v0.2.3
|
|
621
636
|
[0.2.2]: https://github.com/kettle-dev/kettle-family/compare/v0.2.1...v0.2.2
|
|
622
637
|
[0.2.2t]: https://github.com/kettle-dev/kettle-family/releases/tag/v0.2.2
|
|
623
638
|
[0.2.1]: https://github.com/kettle-dev/kettle-family/compare/v0.2.0...v0.2.1
|
data/README.md
CHANGED
|
@@ -592,7 +592,7 @@ Thanks for RTFM. ☺️
|
|
|
592
592
|
[📌gitmoji]: https://gitmoji.dev
|
|
593
593
|
[📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
|
|
594
594
|
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
|
|
595
|
-
[🧮kloc-img]: https://img.shields.io/badge/KLOC-2.
|
|
595
|
+
[🧮kloc-img]: https://img.shields.io/badge/KLOC-2.314-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
|
|
596
596
|
[🔐security]: https://github.com/kettle-dev/kettle-family/blob/main/SECURITY.md
|
|
597
597
|
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
|
|
598
598
|
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
|
@@ -28,6 +28,7 @@ module Kettle
|
|
|
28
28
|
return if branches.nil? || branches.empty?
|
|
29
29
|
|
|
30
30
|
data = config.data.merge(
|
|
31
|
+
"members" => config.data.fetch("members", {}).merge("roots" => ["."]),
|
|
31
32
|
"release" => config.data.fetch("release", {}).merge("target_branches" => branches)
|
|
32
33
|
)
|
|
33
34
|
Config.new(root: member.root, path: config.path, data: data)
|
|
@@ -96,8 +96,10 @@ module Kettle
|
|
|
96
96
|
def load_gemspec(path)
|
|
97
97
|
# Some legacy gemspecs use root-relative Kernel.load calls, and RubyGems
|
|
98
98
|
# evaluates gemspecs relative to the current process directory.
|
|
99
|
+
# Gem::Specification.load caches by path, which is wrong for branch-stack
|
|
100
|
+
# workflows that checkout different contents at the same path.
|
|
99
101
|
# rubocop:disable ThreadSafety/DirChdir
|
|
100
|
-
spec = Dir.chdir(File.dirname(path)) {
|
|
102
|
+
spec = Dir.chdir(File.dirname(path)) { eval_gemspec(path) }
|
|
101
103
|
# rubocop:enable ThreadSafety/DirChdir
|
|
102
104
|
raise Error, "could not load gemspec #{path}" unless spec
|
|
103
105
|
|
|
@@ -106,6 +108,16 @@ module Kettle
|
|
|
106
108
|
raise Error, "could not load gemspec #{path}: #{error.message}"
|
|
107
109
|
end
|
|
108
110
|
|
|
111
|
+
def eval_gemspec(path)
|
|
112
|
+
return unless File.file?(path)
|
|
113
|
+
|
|
114
|
+
code = Gem.open_file(path, "r:UTF-8:-", &:read)
|
|
115
|
+
spec = eval(code, binding, path) # rubocop:disable Security/Eval -- Mirrors RubyGems gemspec loading without its path cache.
|
|
116
|
+
return spec if spec.is_a?(Gem::Specification)
|
|
117
|
+
|
|
118
|
+
raise Error, "#{path} is not a Gem::Specification"
|
|
119
|
+
end
|
|
120
|
+
|
|
109
121
|
def excluded_gemspec?(path)
|
|
110
122
|
ignored_by_git?(path) || excluded_by_pattern?(path)
|
|
111
123
|
end
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kettle-family
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Peter H. Boling
|
|
@@ -339,10 +339,10 @@ licenses:
|
|
|
339
339
|
- AGPL-3.0-only
|
|
340
340
|
metadata:
|
|
341
341
|
homepage_uri: https://kettle-family.galtzo.com
|
|
342
|
-
source_code_uri: https://github.com/kettle-dev/kettle-family/tree/v0.2.
|
|
343
|
-
changelog_uri: https://github.com/kettle-dev/kettle-family/blob/v0.2.
|
|
342
|
+
source_code_uri: https://github.com/kettle-dev/kettle-family/tree/v0.2.3
|
|
343
|
+
changelog_uri: https://github.com/kettle-dev/kettle-family/blob/v0.2.3/CHANGELOG.md
|
|
344
344
|
bug_tracker_uri: https://github.com/kettle-dev/kettle-family/issues
|
|
345
|
-
documentation_uri: https://www.rubydoc.info/gems/kettle-family/0.2.
|
|
345
|
+
documentation_uri: https://www.rubydoc.info/gems/kettle-family/0.2.3
|
|
346
346
|
funding_uri: https://github.com/sponsors/pboling
|
|
347
347
|
wiki_uri: https://github.com/kettle-dev/kettle-family/wiki
|
|
348
348
|
news_uri: https://www.railsbling.com/tags/kettle-family
|
metadata.gz.sig
CHANGED
|
Binary file
|