andromeda_cms 0.1.0-x86_64-linux → 0.1.1-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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 40dd197b35841a2c2fff568a5fce765fbb651ff8552eba05e0628b3f73eb6b8e
4
- data.tar.gz: 02fb65b16fb6aaff2c9be83f0a3c04c1ad9cef3d17fba097a901d78cd153232d
3
+ metadata.gz: 92efd284124d393d686fe4b78798b795ad0784eb6d56ed57653635d4b62b98c9
4
+ data.tar.gz: fc17880d6f5ab9b321c3d05aaf6d97ae3956ecfaafede8964a1cfbbc41251b7a
5
5
  SHA512:
6
- metadata.gz: 3da2a627622b0d6cdc4c687c0832255d9f1ec39972faddd6ef0a2dd315c438b334d6d65212e654295508a57e588826b3fd584b5c93a0328e98e7404b883658c0
7
- data.tar.gz: 8fb35619d6ea30ab2f4d0e5c8eb5359d2167a80f995f6fe45ade9c30cd75ca0832bb1aa47c83a76d978e8fcc54ea622f798405d8db3489a54aa3b419c4e1c773
6
+ metadata.gz: e5f5c4f688af09cc5df4cf2fbcb8ae748dd188b2f83a721e37f251a71c9c69116f29ec580608718ff36146e8d7f28c69a7e086928def1ff9e5ae15ed1669d9d3
7
+ data.tar.gz: 1841adab60ff63ad782783a5607f29e75ed381a9e82f9e0bd16a91469713cd58f8549b4b3a30142d82970c72c3ef8780d82cb8597c8d45e5fb4276bef8e09f01
data/CHANGELOG.md CHANGED
@@ -5,6 +5,17 @@ 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.1.1] - 2026-09-27
9
+
10
+ ### Fixed
11
+
12
+ - `andromeda:build` failed with `Andromeda::BuildMissing` when run in
13
+ production mode on a clean checkout -- which is exactly how
14
+ `assets:precompile` runs in a Docker build -- because it listed entries from
15
+ the built index instead of the source files. On a production machine that
16
+ already had a build, the same path would have rewritten every page with an
17
+ empty body. Builds now always read the source files.
18
+
8
19
  ## [0.1.0] - 2026-09-27
9
20
 
10
21
  ### Added
@@ -27,4 +38,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
27
38
  - Generators: `andromeda:install`, `andromeda:collection`,
28
39
  `andromeda:component` and `andromeda:import_astro`.
29
40
 
41
+ [0.1.1]: https://github.com/AndromedaCMS/andromeda_cms/releases/tag/v0.1.1
30
42
  [0.1.0]: https://github.com/AndromedaCMS/andromeda_cms/releases/tag/v0.1.0
@@ -154,6 +154,18 @@ module Andromeda
154
154
  Andromeda::Pipeline.new.collection_index(self)
155
155
  end
156
156
 
157
+ # Every entry read and validated from its source file, whatever the
158
+ # mode. This is what `andromeda:build` converts: in production `all`
159
+ # reads the built index instead, which does not exist before the first
160
+ # build and carries no body after it, so a build that went through `all`
161
+ # would either fail or overwrite every page with empty HTML.
162
+ #
163
+ # @return [Array<Andromeda::Entry>]
164
+ # @raise [Andromeda::LoaderError] listing every file that failed.
165
+ def source_entries
166
+ load_entries_from_source
167
+ end
168
+
157
169
  # Drops the in-memory cache, forcing the next query to re-run the
158
170
  # Loader. Used by tests that change fixtures mid-example, and is the
159
171
  # hook the dev-mode "reconvert on stale mtime" check will call.
@@ -171,7 +171,7 @@ module Andromeda
171
171
  def build_collection(entry_class)
172
172
  entries =
173
173
  begin
174
- entry_class.all.to_a
174
+ entry_class.source_entries
175
175
  rescue Andromeda::LoaderError => e
176
176
  return BuildResult.new(
177
177
  collection: entry_class.collection_name, converted: 0,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Andromeda
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
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.1.0
4
+ version: 0.1.1
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - LIMHAUS Inc.