kettle-jem 7.1.34 → 7.1.35

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: e652034338fd5859484f79531a6d6a14e1e12379e3d2b72144f4df384bfb7d66
4
- data.tar.gz: 0e96ba0332102c087f9f431569996228dd242b698076a9ca1536c29fa5205690
3
+ metadata.gz: f1760c5c4522f12469f4dd8b03571cc2fa22f93d364e2da8a54c3cc93d57e292
4
+ data.tar.gz: bf01a7571deabfabc42d7314f48b6198811221cdcda975b798ca8a9406ccc211
5
5
  SHA512:
6
- metadata.gz: fecfbcc62374cf07646674827e23baabffaec9d7d294b1d6434d3806561b0c8a6c6573ee2a82bf99e765ae3fbc6063761a419f57e33c20e6b29edef84cf093dd
7
- data.tar.gz: 8566b17caba41147787adf29ce20730f0a6ba5073b263ec05a96bb09f17d072bb6cb3387b5e05ef01746f73cde2b3132aa77dd5d0fef5a1e34e1fdd457326901
6
+ metadata.gz: 2ad19f6e1bffb1959452eae2f59d31d203412ba9341dabc04746fb8202f72b31dcf8c7ad7f377a6e509c3db8ccbc13b21440ce9456921d55725fe85e8355b2b8
7
+ data.tar.gz: 06aeb688c7b0064d0dfc325a34666a01a51f42dcfcc272994583799e1f5c8e9438e88903073b436377550a4ae5c213905cdf171efd93514d70826b2b369ca855
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.35] - 2026-10-20
34
+
35
+ - TAG: [v7.1.35][7.1.35t]
36
+ - COVERAGE: 93.46% -- 11385/12182 lines in 17 files
37
+ - BRANCH COVERAGE: 77.09% -- 4907/6365 branches in 17 files
38
+ - 19.87% documented
39
+
40
+ ### Fixed
41
+
42
+ - Match direct-versus-modular dependency decisions across a modular Gemfile and its _local.gemfile counterpart.
43
+
33
44
  ## [7.1.34] - 2026-10-20
34
45
 
35
46
  - TAG: [v7.1.34][7.1.34t]
@@ -2348,7 +2359,9 @@ Please file a bug if you notice a violation of semantic versioning.
2348
2359
  - Released kettle-jem as part of the initial StructuredMerge Ruby 7.0.0 gem set.
2349
2360
  - Included packaged templates and parser-backed merge support for Ruby gem templating.
2350
2361
 
2351
- [Unreleased]: https://github.com/structuredmerge/structuredmerge-ruby/compare/v7.1.34...HEAD
2362
+ [Unreleased]: https://github.com/structuredmerge/structuredmerge-ruby/compare/v7.1.35...HEAD
2363
+ [7.1.35]: https://github.com/structuredmerge/structuredmerge-ruby/compare/v7.1.34...v7.1.35
2364
+ [7.1.35t]: https://github.com/structuredmerge/structuredmerge-ruby/releases/tag/v7.1.35
2352
2365
  [7.1.34]: https://github.com/structuredmerge/structuredmerge-ruby/compare/v7.1.33...v7.1.34
2353
2366
  [7.1.34t]: https://github.com/structuredmerge/structuredmerge-ruby/releases/tag/v7.1.34
2354
2367
  [7.1.33]: https://github.com/structuredmerge/structuredmerge-ruby/compare/v7.1.32...v7.1.33
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.178-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
926
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-12.182-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
@@ -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.34"
8
+ VERSION = "7.1.35"
9
9
  end
10
10
  # Current gem version exposed at the traditional constant location.
11
11
  VERSION = Version::VERSION # Traditional Constant Location
data/lib/kettle/jem.rb CHANGED
@@ -9875,15 +9875,26 @@ module Kettle
9875
9875
  entries.any? do |entry|
9876
9876
  entry["gem"] == conflict.fetch(:name) &&
9877
9877
  entry["direct"] == conflict.fetch(:direct) &&
9878
- entry["modular"] == conflict.fetch(:modular)
9878
+ modular_dependency_paths_match?(entry["modular"], conflict.fetch(:modular))
9879
9879
  end
9880
9880
  end
9881
9881
 
9882
+ # Local modular Gemfiles are environment-selected counterparts of the
9883
+ # released modular Gemfile. Treat their paths as one logical decision key;
9884
+ # otherwise a decision for style.gemfile will not cover style_local.gemfile.
9885
+ def modular_dependency_paths_match?(left, right)
9886
+ normalize_modular_dependency_path(left) == normalize_modular_dependency_path(right)
9887
+ end
9888
+
9889
+ def normalize_modular_dependency_path(path)
9890
+ path.to_s.sub(/_local\.gemfile\z/, ".gemfile")
9891
+ end
9892
+
9882
9893
  def modular_dependency_conflict_decided?(decisions, conflict)
9883
9894
  decisions.any? do |decision|
9884
9895
  decision.fetch("gem") == conflict.fetch(:name) &&
9885
9896
  decision.fetch("direct") == conflict.fetch(:direct) &&
9886
- decision.fetch("modular") == conflict.fetch(:modular) &&
9897
+ modular_dependency_paths_match?(decision.fetch("modular"), conflict.fetch(:modular)) &&
9887
9898
  case decision.fetch("action")
9888
9899
  when "remove_modular_gem", "remove_x_std_lib_eval", "remove_direct_gem"
9889
9900
  true
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.34
4
+ version: 7.1.35
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.34
1001
- changelog_uri: https://github.com/structuredmerge/structuredmerge-ruby/blob/v7.1.34/CHANGELOG.md
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
1002
1002
  bug_tracker_uri: https://github.com/structuredmerge/structuredmerge-ruby/issues
1003
- documentation_uri: https://www.rubydoc.info/gems/kettle-jem/7.1.34
1003
+ documentation_uri: https://www.rubydoc.info/gems/kettle-jem/7.1.35
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