andromeda_cms 0.6.1-x86_64-linux → 0.6.2-x86_64-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 +4 -4
- data/CHANGELOG.md +13 -0
- data/lib/andromeda/assets.rb +15 -0
- data/lib/andromeda/pipeline.rb +2 -0
- data/lib/andromeda/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3553bfeddad52ae7a574d6549336f31eb0cfe9873de602f45c91fc990bff3ec1
|
|
4
|
+
data.tar.gz: 8a358e1f5ea92efebd49eef497ef74fee3cf44902ce24fdf31732a00a67abb3e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aa95faad209a686e118bfd170507bdc079cae9f50abe5e2449c4f92dce3ed05556eee3e840567f63959b290bc9a938cf0009dfad7eaa239be973b8a6a1af0840
|
|
7
|
+
data.tar.gz: 3bfd7881b4860b67e8b651c58a0a1b18d73b594bcbd61f1aefc6a1bb6eeec89a52fad0b39c8a2767c2c29bc186b75ced490f4dda02f049b98e0c066ed48e89c3
|
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
|
data/lib/andromeda/assets.rb
CHANGED
|
@@ -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
|
|
data/lib/andromeda/pipeline.rb
CHANGED
data/lib/andromeda/version.rb
CHANGED