kettle-jem 7.1.35 → 7.1.36

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: f1760c5c4522f12469f4dd8b03571cc2fa22f93d364e2da8a54c3cc93d57e292
4
- data.tar.gz: bf01a7571deabfabc42d7314f48b6198811221cdcda975b798ca8a9406ccc211
3
+ metadata.gz: '0094c748646fa2cd3b6323dd9f33a91fade4d50beccd1228fa3110a1fafb8eb4'
4
+ data.tar.gz: 0cc786c8fc4b58d259b83b3ed95f4415f40d42220f18d4a8de9014d9efe829ed
5
5
  SHA512:
6
- metadata.gz: 2ad19f6e1bffb1959452eae2f59d31d203412ba9341dabc04746fb8202f72b31dcf8c7ad7f377a6e509c3db8ccbc13b21440ce9456921d55725fe85e8355b2b8
7
- data.tar.gz: 06aeb688c7b0064d0dfc325a34666a01a51f42dcfcc272994583799e1f5c8e9438e88903073b436377550a4ae5c213905cdf171efd93514d70826b2b369ca855
6
+ metadata.gz: b23a45cb7fe8737bd1a1fc0fe62b62b7b9639c7b7c9f9311cf178a4dd0dde4f9ea422e143eec8a91c923315251a081674566e29b0a88f7ce125d8d26f90e286d
7
+ data.tar.gz: 00e22914f132cce23ff0fceaa4d052d947a90460a7a60595db3b2367fb9b64d6d5c91990c71c8b219b0a01961a491fd00a07046475b99b910007f637784eb54d
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,17 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [7.1.36] - 2026-10-20
34
+
35
+ - TAG: [v7.1.36][7.1.36t]
36
+ - COVERAGE: 93.45% -- 11392/12191 lines in 17 files
37
+ - BRANCH COVERAGE: 77.08% -- 4908/6367 branches in 17 files
38
+ - 19.90% documented
39
+
40
+ ### Fixed
41
+
42
+ - Recognize linked Git worktrees of the local RuboCop-LTS checkout and skip redundant branch switching during templating.
43
+
33
44
  ## [7.1.35] - 2026-10-20
34
45
 
35
46
  - TAG: [v7.1.35][7.1.35t]
@@ -2359,7 +2370,9 @@ Please file a bug if you notice a violation of semantic versioning.
2359
2370
  - Released kettle-jem as part of the initial StructuredMerge Ruby 7.0.0 gem set.
2360
2371
  - Included packaged templates and parser-backed merge support for Ruby gem templating.
2361
2372
 
2362
- [Unreleased]: https://github.com/structuredmerge/structuredmerge-ruby/compare/v7.1.35...HEAD
2373
+ [Unreleased]: https://github.com/structuredmerge/structuredmerge-ruby/compare/v7.1.36...HEAD
2374
+ [7.1.36]: https://github.com/structuredmerge/structuredmerge-ruby/compare/v7.1.35...v7.1.36
2375
+ [7.1.36t]: https://github.com/structuredmerge/structuredmerge-ruby/releases/tag/v7.1.36
2363
2376
  [7.1.35]: https://github.com/structuredmerge/structuredmerge-ruby/compare/v7.1.34...v7.1.35
2364
2377
  [7.1.35t]: https://github.com/structuredmerge/structuredmerge-ruby/releases/tag/v7.1.35
2365
2378
  [7.1.34]: https://github.com/structuredmerge/structuredmerge-ruby/compare/v7.1.33...v7.1.34
data/README.md CHANGED
@@ -923,7 +923,7 @@ Thanks for RTFM. ☺️
923
923
  [📌gitmoji]: https://gitmoji.dev
924
924
  [📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
925
925
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
926
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-12.182-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
926
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-12.191-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
927
927
  [🔐security]: https://github.com/structuredmerge/structuredmerge-ruby/blob/main/SECURITY.md
928
928
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
929
929
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
@@ -928,7 +928,7 @@ module Kettle
928
928
  end
929
929
 
930
930
  checkout = File.join(local_root, "rubocop-lts")
931
- if project_root && same_path?(project_root, checkout)
931
+ if project_root && (same_path?(project_root, checkout) || same_git_repository?(project_root, checkout))
932
932
  return {
933
933
  name: "rubocop_lts_local_branch",
934
934
  status: "skipped",
@@ -963,6 +963,21 @@ module Kettle
963
963
  Kettle::Dev::Paths.same?(left.to_s, right.to_s)
964
964
  end
965
965
 
966
+ def same_git_repository?(left, right)
967
+ left_common_dir = git_common_dir(left)
968
+ right_common_dir = git_common_dir(right)
969
+ left_common_dir && right_common_dir && same_path?(left_common_dir, right_common_dir)
970
+ end
971
+
972
+ def git_common_dir(path)
973
+ stdout, _stderr, status = Open3.capture3("git", "-C", path.to_s, "rev-parse", "--git-common-dir")
974
+ return unless status.success?
975
+
976
+ File.expand_path(stdout.to_s.strip, path.to_s)
977
+ rescue Errno::ENOENT
978
+ nil
979
+ end
980
+
966
981
  def rubocop_lts_local_root(env)
967
982
  env ||= {}
968
983
  # RUBOCOP_LTS_LOCAL is a compatibility alias for projects generated
@@ -5,7 +5,7 @@ module Kettle
5
5
  # Version namespace for this gem.
6
6
  module Version
7
7
  # Current gem version.
8
- VERSION = "7.1.35"
8
+ VERSION = "7.1.36"
9
9
  end
10
10
  # Current gem version exposed at the traditional constant location.
11
11
  VERSION = Version::VERSION # Traditional Constant Location
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kettle-jem
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.35
4
+ version: 7.1.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -997,10 +997,10 @@ licenses:
997
997
  - PolyForm-Small-Business-1.0.0
998
998
  metadata:
999
999
  homepage_uri: https://structuredmerge.org
1000
- source_code_uri: https://github.com/structuredmerge/structuredmerge-ruby/tree/v7.1.35
1001
- changelog_uri: https://github.com/structuredmerge/structuredmerge-ruby/blob/v7.1.35/CHANGELOG.md
1000
+ source_code_uri: https://github.com/structuredmerge/structuredmerge-ruby/tree/v7.1.36
1001
+ changelog_uri: https://github.com/structuredmerge/structuredmerge-ruby/blob/v7.1.36/CHANGELOG.md
1002
1002
  bug_tracker_uri: https://github.com/structuredmerge/structuredmerge-ruby/issues
1003
- documentation_uri: https://www.rubydoc.info/gems/kettle-jem/7.1.35
1003
+ documentation_uri: https://www.rubydoc.info/gems/kettle-jem/7.1.36
1004
1004
  funding_uri: https://github.com/sponsors/pboling
1005
1005
  wiki_uri: https://github.com/structuredmerge/structuredmerge-ruby/wiki
1006
1006
  news_uri: https://www.railsbling.com/tags/kettle-jem
metadata.gz.sig CHANGED
Binary file