andromeda_cms 0.6.1-aarch64-linux → 0.6.2-aarch64-linux

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: 7b62ca3ffbbbfffdf8a06c51f9e24817478d24baeaffa28d94938b941b9d3887
4
- data.tar.gz: 16a0c4d2a58df4ca8ea96ceb8d2847158b49d927f08350d977d709ac16f79d7b
3
+ metadata.gz: 5b093c6ec45062f6f5ba2ac713b7c9d9a760d7659d7ee7097e390af754fbae2d
4
+ data.tar.gz: eb7d183ff57e333d949f228acefcf9450fe63fedae53ff83199939e49fbaf8c9
5
5
  SHA512:
6
- metadata.gz: 34c481ddf6937054a9c1d331a272129e0dd57a4c0b142f55164ab5454ad1f37159f6bbd695c1037c1b3641a34e92ebf1e780b42d2bc637c6405c8491766cd4b0
7
- data.tar.gz: c82c04b3a80d627f8752b217fc10509cca657b4bf487bdc8a85815986ee47ad2dd6aabf6b2f63a34674b04e0c4ae491268df6daa711bd979484c7eac1076afc6
6
+ metadata.gz: 5603afa4275bcfd9d4edf3748ca0a6e5dbd2621ea2f8c6844ea2bdfde3938ae87e6d100c95e1bc5a8bb54863afbf6c98a04cb6bc2837c4f08f3d05c5e9624a1e
7
+ data.tar.gz: 5ed78211a3e9e0eee2cd83de16e2edbc25ef1fa0cc5eb0368ff376fabfaf337eee024719bf4788687a73ebe7f5c325b63237ee2f1be6c6a1261061ce2173afdd
data/CHANGELOG.md CHANGED
@@ -5,6 +5,18 @@ All notable changes to this project are documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.6.2] - 2026-10-09
9
+
10
+ ### Fixed
11
+
12
+ - `assets:precompile` no longer leaves out `tailwind.css` when an
13
+ application partial rendered during `andromeda:build` calls `image_tag` or
14
+ `asset_path`. Propshaft caches its file list on the first lookup, so a
15
+ fresh build (an empty `app/assets/builds/`) shipped without the files
16
+ written afterwards and every page raised `Propshaft::MissingAssetError`.
17
+ `andromeda:build` now discards that cache when it finishes, whether or not
18
+ the build succeeds.
19
+
8
20
  ## [0.6.1] - 2026-10-09
9
21
 
10
22
  ### Fixed
@@ -177,6 +189,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
177
189
  - Generators: `andromeda:install`, `andromeda:collection`,
178
190
  `andromeda:component` and `andromeda:import_astro`.
179
191
 
192
+ [0.6.2]: https://github.com/AndromedaCMS/andromeda_cms/releases/tag/v0.6.2
180
193
  [0.6.1]: https://github.com/AndromedaCMS/andromeda_cms/releases/tag/v0.6.1
181
194
  [0.6.0]: https://github.com/AndromedaCMS/andromeda_cms/releases/tag/v0.6.0
182
195
  [0.5.0]: https://github.com/AndromedaCMS/andromeda_cms/releases/tag/v0.5.0
@@ -95,6 +95,21 @@ module Andromeda
95
95
  load_path.paths.any? { |directory| File.file?(File.join(directory.to_s, path)) }
96
96
  end
97
97
 
98
+ # Discards Propshaft's memoized file list. Propshaft builds it on the first
99
+ # lookup, and app partials rendered during `andromeda:build` can trigger
100
+ # that through `asset_path`. Files written afterwards (tailwind.css from
101
+ # tailwindcss:build, images copied by `publish`) would then be missing from
102
+ # assets:precompile, so the build calls this when it finishes. `clear_cache`
103
+ # is private API; if a Propshaft release renames it, skipping the reset is
104
+ # better than breaking the build.
105
+ def reset_pipeline_cache
106
+ load_path = pipeline_load_path
107
+ return if load_path.nil?
108
+
109
+ load_path.send(:clear_cache) if load_path.respond_to?(:clear_cache, true)
110
+ nil
111
+ end
112
+
98
113
  def pipeline_load_path
99
114
  return nil unless defined?(::Rails) && ::Rails.respond_to?(:application) && ::Rails.application
100
115
 
@@ -210,6 +210,8 @@ module Andromeda
210
210
 
211
211
  results
212
212
  end
213
+ ensure
214
+ Andromeda::Assets.reset_pipeline_cache
213
215
  end
214
216
 
215
217
  def self.default_entry_classes
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Andromeda
4
- VERSION = "0.6.1"
4
+ VERSION = "0.6.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: andromeda_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - LIMHAUS Inc.