space-architect 9.2.0 → 9.2.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 +4 -4
- data/lib/space_architect/architect_project.rb +6 -1
- data/lib/space_architect/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: 173cd44e1e27f8fc09d46bb0d18a5c7f26138731d4315bc6db1e7cd2c704e0a4
|
|
4
|
+
data.tar.gz: cebbf1f5602efa92a9f3982f31fcc79c202549489531262cfaab3ecc1c25ba13
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 44430c9d2fb759035df014e4023084424b66edd6dfea696f4e0e0f555ab7d0e3d418410ae8fa117936456fd3b4ea365cf9bf217ffadbb0be184e9ccb6835526a
|
|
7
|
+
data.tar.gz: 5abb3a70daaca512e957ed2a577a45904e709be3cd05c6b57ae49f7e58ce9d612b64c33addb6ba191f49777826258e5b481e27c440bacdfd4f4e8d7f4d997dd0
|
|
@@ -1740,7 +1740,12 @@ module Space::Architect
|
|
|
1740
1740
|
if prompt
|
|
1741
1741
|
src = Pathname.new(prompt)
|
|
1742
1742
|
raise Space::Core::Error, "prompt file not found: #{src}" unless src.exist?
|
|
1743
|
-
|
|
1743
|
+
# src == dst: the file is already canonical — skip the copy; a truncate-then-
|
|
1744
|
+
# write onto the source itself would destroy the prompt before dispatch (I61
|
|
1745
|
+
# 20261009-pi-port: --prompt <canonical> emptied the kit to 0 bytes).
|
|
1746
|
+
unless src.expand_path == Pathname(prompt_path).expand_path
|
|
1747
|
+
File.binwrite(prompt_path, File.binread(src))
|
|
1748
|
+
end
|
|
1744
1749
|
end
|
|
1745
1750
|
|
|
1746
1751
|
raise Space::Core::Error, "prompt.md not found: #{prompt_path}" unless prompt_path.exist?
|