homura-runtime 0.3.21 → 0.3.23
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 +10 -0
- data/lib/homura/runtime/build_support.rb +1 -0
- data/lib/homura/runtime/version.rb +1 -1
- data/lib/phlex/opal_compat.rb +12 -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: 3a5659f0bfd92228407a2e0e15dd56ee5e0312289cb96f26a9960fedf5b6b157
|
|
4
|
+
data.tar.gz: fefd3fbf629529ac2b959b77860917ecc14b384d28f5d6933b770c5af8c2cfa4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fe4fa0f002fce65c874da54a276786953c35e480e681648e64dd1962206a01fbdecd404b533e716e2890ba7ad457363abfdf0c051512c2029d7b2a469bf0a21d
|
|
7
|
+
data.tar.gz: 39881750bd31c90b61279569b9cfeaec2533b7c5045d99da288eff17becef3daf7c68b59a1b86aab20ebc5bd951f8e8e033c7a1f61a2a9200e5b729df88224c9
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.23 (2026-06-25)
|
|
4
|
+
|
|
5
|
+
- Load Phlex SGML before SGML extension modules and bootstrap the HTML/SVG
|
|
6
|
+
class namespaces before loading their element modules.
|
|
7
|
+
|
|
8
|
+
## 0.3.22 (2026-06-25)
|
|
9
|
+
|
|
10
|
+
- Define the Phlex namespace before preloading Phlex FIFO. The FIFO file uses
|
|
11
|
+
`class Phlex::FIFO`, so the namespace must exist before the root file runs.
|
|
12
|
+
|
|
3
13
|
## 0.3.21 (2026-06-25)
|
|
4
14
|
|
|
5
15
|
- Preload Phlex's FIFO dependency before Phlex root setup and explicitly load
|
|
@@ -266,6 +266,7 @@ module HomuraRuntime
|
|
|
266
266
|
root_file = lib.join("#{spec.name}.rb")
|
|
267
267
|
next unless root_file.file?
|
|
268
268
|
|
|
269
|
+
lines << "module Phlex; end unless defined?(Phlex)" if spec.name == "phlex"
|
|
269
270
|
OPAL_ENTRY_PRELOAD_REQUIRES.fetch(spec.name, []).each do |require_path|
|
|
270
271
|
lines << "require #{require_path.inspect}"
|
|
271
272
|
end
|
data/lib/phlex/opal_compat.rb
CHANGED
|
@@ -9,12 +9,23 @@ require "phlex/errors/double_render_error"
|
|
|
9
9
|
require "phlex/errors/name_error"
|
|
10
10
|
require "phlex/errors/runtime_error"
|
|
11
11
|
require "phlex/helpers"
|
|
12
|
+
require "phlex/sgml"
|
|
12
13
|
require "phlex/sgml/safe_object"
|
|
13
14
|
require "phlex/sgml/safe_value"
|
|
14
15
|
require "phlex/sgml/state"
|
|
15
16
|
require "phlex/sgml/attributes"
|
|
16
17
|
require "phlex/sgml/elements"
|
|
17
|
-
|
|
18
|
+
|
|
19
|
+
unless defined?(Phlex::HTML)
|
|
20
|
+
class Phlex::HTML < Phlex::SGML
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
unless defined?(Phlex::SVG)
|
|
25
|
+
class Phlex::SVG < Phlex::SGML
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
|
|
18
29
|
require "phlex/html/void_elements"
|
|
19
30
|
require "phlex/html/standard_elements"
|
|
20
31
|
require "phlex/html"
|