al_folio_core 1.0.0 → 1.0.1

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: 7543a0131f549b267b8523e2d30583df0755e16bd311f6aafdeb77b00449220c
4
- data.tar.gz: a70250ddf07ccb430824963d7a8a768f673d9dc99fbd7f3d6c8a29a42682d020
3
+ metadata.gz: 3e03872742a7411fd5ba44b1a008305dfec74cd228958a00c29d16304de11898
4
+ data.tar.gz: a763fad9c51cecc3f5dae40d48440114c3527cabfd6480d1da3fe9be6594f6fc
5
5
  SHA512:
6
- metadata.gz: e914feeb2a643c14985cba6378b2a966e5ea40c838bcfc73960d75b997868f2915c7df497e0db5f0454ec2431d62db511c8fbbe9dfefcac82294e039e14d46df
7
- data.tar.gz: c71d63fde1b2ad9430440c70e74f09301161aff552ab547966158d95a9fde4ae146cc051df7cf1becbc7c1224e454716ebd9700ab2a7733ecae045f0c3e351fa
6
+ metadata.gz: 997292c0485633d0a626c747df34e035e651092351740bb277b5bd5b82dd48be6f375f31af7f2ad4002eb62fa42971649d1bf7996b590854ea1a89f5088d2791
7
+ data.tar.gz: f8e22a4e64671fbf1f8e494dd5116e57d9e88464241855d1034fddb51bfa88c0942562b0d091a32efcdaf909f590c90890960fd72869533b83e80e8f1a54f06b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.1 - 2026-02-16
4
+
5
+ - Fixed cache-bust asset lookup to resolve plugin assets from both Bundler git paths (`bundler/gems/*`) and RubyGems install paths (`gems/*`).
6
+ - Added runtime guard coverage for RubyGems-installed plugin asset resolution.
7
+
3
8
  ## 1.1.0 - 2026-02-10
4
9
 
5
10
  - Delegated CV and Distill rendering to `al_folio_cv` and `al_folio_distill`.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AlFolioCore
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
  end
data/lib/al_folio_core.rb CHANGED
@@ -106,7 +106,8 @@ module AlFolioCore
106
106
  files = Dir[theme_target_path] if files.empty?
107
107
  if files.empty?
108
108
  files = Gem.path.flat_map do |gem_path|
109
- Dir[File.join(gem_path, "bundler", "gems", "*", local_target_path)]
109
+ Dir[File.join(gem_path, "bundler", "gems", "*", local_target_path)] +
110
+ Dir[File.join(gem_path, "gems", "*", local_target_path)]
110
111
  end
111
112
  end
112
113
 
@@ -172,7 +173,8 @@ module AlFolioCore
172
173
 
173
174
  def bundler_gem_asset_paths(relative_asset_path)
174
175
  Gem.path.flat_map do |gem_path|
175
- Dir[File.join(gem_path, "bundler", "gems", "*", relative_asset_path)]
176
+ Dir[File.join(gem_path, "bundler", "gems", "*", relative_asset_path)] +
177
+ Dir[File.join(gem_path, "gems", "*", relative_asset_path)]
176
178
  end
177
179
  end
178
180
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: al_folio_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - al-folio maintainers