kettle-dev 2.2.10 → 2.2.11

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: 9216115bc5448b3e08cfcd393c22029d70e7b6d31bcb80617b44b7d97644b649
4
- data.tar.gz: e86c38ac97fbac63e1258bf15d6454f408e62ffe927af628bc5f7090472f98fd
3
+ metadata.gz: adb949cc424b8cfc26b1a1d98557f027761ce0cf0335b27d11be8b2acc7492fb
4
+ data.tar.gz: e0b0f29328cb38c439d60997ef4d2162231c01b3dc086d5444d5e64124324e41
5
5
  SHA512:
6
- metadata.gz: 52d369f7c70a48bf3c2fde5898cc7f99ac9eda0b6e09319d7166976e20057d95360a56f29bf00dbd226976a853dd212e915fd31026b7c647df1f68bee6331cd4
7
- data.tar.gz: 7ab61300d6f489ddc25636e10dcea667998a20c5ef3755a9b7773e2ccb0fde69871c8ba5607303a618501a55c2c05289dc3585905c6243e1ca524a7de1cb7c8a
6
+ metadata.gz: a300fc001ade1936c203f7be54b55da94706f3f70e536eaf24abeae941f1b9522d7a39d72bea83df2c918a6444a783c69c8c640d0c8ee69a3878e9b7b6496c9c
7
+ data.tar.gz: ea78dd32142a448c490631571ba4f42bdfa1171d62aa0d7fd414a3e38beae3785c3986b5ed1b6a4cd405f72250a7e8fcab89786e793cc1441e6f37c5c0856ca3
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
+ ## [2.2.11] - 2026-06-17
34
+
35
+ - TAG: [v2.2.11][2.2.11t]
36
+ - COVERAGE: 92.38% -- 3928/4252 lines in 28 files
37
+ - BRANCH COVERAGE: 73.97% -- 1560/2109 branches in 28 files
38
+ - 64.06% documented
39
+
40
+ ### Fixed
41
+
42
+ - `kettle-bump` now prefers the gemspec-declared version file before scanning
43
+ `lib/**/version.rb`, so compatibility alias version files do not block version
44
+ bumps.
45
+
33
46
  ## [2.2.10] - 2026-06-16
34
47
 
35
48
  - TAG: [v2.2.10][2.2.10t]
@@ -2139,7 +2152,9 @@ Please file a bug if you notice a violation of semantic versioning.
2139
2152
  - Selecting will run the selected workflow via `act`
2140
2153
  - This may move to its own gem in the future.
2141
2154
 
2142
- [Unreleased]: https://github.com/kettle-dev/kettle-dev/compare/v2.2.10...HEAD
2155
+ [Unreleased]: https://github.com/kettle-dev/kettle-dev/compare/v2.2.11...HEAD
2156
+ [2.2.11]: https://github.com/kettle-dev/kettle-dev/compare/v2.2.10...v2.2.11
2157
+ [2.2.11t]: https://github.com/kettle-dev/kettle-dev/releases/tag/v2.2.11
2143
2158
  [2.2.10]: https://github.com/kettle-dev/kettle-dev/compare/v2.2.9...v2.2.10
2144
2159
  [2.2.10t]: https://github.com/kettle-dev/kettle-dev/releases/tag/v2.2.10
2145
2160
  [2.2.9]: https://github.com/kettle-dev/kettle-dev/compare/v2.2.8...v2.2.9
data/README.md CHANGED
@@ -854,7 +854,7 @@ Thanks for RTFM. ☺️
854
854
  [📌gitmoji]: https://gitmoji.dev
855
855
  [📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
856
856
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
857
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-4.240-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
857
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-4.252-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
858
858
  [🔐security]: https://github.com/kettle-dev/kettle-dev/blob/main/SECURITY.md
859
859
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
860
860
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
@@ -195,6 +195,21 @@ module Kettle
195
195
  CACHE.mutex.synchronize { CACHE.entries.clear }
196
196
  end
197
197
 
198
+ def declared_version_file_path(root)
199
+ gemspec_path = Dir.glob(File.join(root.to_s, "*.gemspec")).sort.first
200
+ return unless gemspec_path && File.file?(gemspec_path)
201
+
202
+ gemspec_source = File.read(gemspec_path)
203
+ entrypoint_require = extract_entrypoint_require_from_gemspec_source(gemspec_source)
204
+ return if entrypoint_require.to_s.strip.empty?
205
+
206
+ path = File.join(root.to_s, "lib", entrypoint_require, "version.rb")
207
+ File.file?(path) ? path : nil
208
+ rescue => error
209
+ Kettle::Dev.debug_error(error, __method__)
210
+ nil
211
+ end
212
+
198
213
  private
199
214
 
200
215
  # Derive the forge organization and origin repository name using homepage or git remotes.
@@ -3,7 +3,7 @@
3
3
  module Kettle
4
4
  module Dev
5
5
  module Version
6
- VERSION = "2.2.10"
6
+ VERSION = "2.2.11"
7
7
  end
8
8
  VERSION = Version::VERSION # Traditional Constant Location
9
9
  end
@@ -34,6 +34,9 @@ module Kettle
34
34
  return [path]
35
35
  end
36
36
 
37
+ declared_path = Kettle::Dev::GemSpecReader.declared_version_file_path(root)
38
+ return [declared_path] if declared_path
39
+
37
40
  candidates = Dir[File.join(root, "lib", "**", "version.rb")]
38
41
  abort!("Could not find version.rb under lib/**.") if candidates.empty?
39
42
  candidates
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.10
4
+ version: 2.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -338,10 +338,10 @@ licenses:
338
338
  - AGPL-3.0-only
339
339
  metadata:
340
340
  homepage_uri: https://kettle-dev.galtzo.com
341
- source_code_uri: https://github.com/kettle-dev/kettle-dev/tree/v2.2.10
342
- changelog_uri: https://github.com/kettle-dev/kettle-dev/blob/v2.2.10/CHANGELOG.md
341
+ source_code_uri: https://github.com/kettle-dev/kettle-dev/tree/v2.2.11
342
+ changelog_uri: https://github.com/kettle-dev/kettle-dev/blob/v2.2.11/CHANGELOG.md
343
343
  bug_tracker_uri: https://github.com/kettle-dev/kettle-dev/issues
344
- documentation_uri: https://www.rubydoc.info/gems/kettle-dev/2.2.10
344
+ documentation_uri: https://www.rubydoc.info/gems/kettle-dev/2.2.11
345
345
  funding_uri: https://github.com/sponsors/pboling
346
346
  wiki_uri: https://github.com/kettle-dev/kettle-dev/wiki
347
347
  news_uri: https://www.railsbling.com/tags/kettle-dev
metadata.gz.sig CHANGED
Binary file