homura-runtime 0.3.22 → 0.3.24
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 +11 -0
- data/lib/homura/runtime/version.rb +1 -1
- data/lib/phlex/opal_compat.rb +22 -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: 15f29c823a5ee92dbb02ebe0077fc886edfdbb090eb7d7b582b9e22e869bd865
|
|
4
|
+
data.tar.gz: 6bcf7628ae0f110004fc35a0ca797cf3e5b62aae9141dc09ab3844501e0f33dc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef8beda77132a6d8adeb1527ec4036fc4fb5d636b55ea9419c90d382e52a23588992a28ba24615a4af8da42f5dabd39176a853212006cd9461463982b64d411b
|
|
7
|
+
data.tar.gz: 2933b6ec1729bd796ad2c938121735bef2c19d5f95c41affafbd9702df888fa3b80d7bf7fbe8968596542dddb1553cb24266b2fd907f2ed80a741c0ff8a75014
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.24 (2026-06-25)
|
|
4
|
+
|
|
5
|
+
- Add a Phlex Opal compatibility shim for `String#name`. Phlex's element
|
|
6
|
+
registration receives method names as symbols on MRI, but Opal reports them
|
|
7
|
+
as strings in this path.
|
|
8
|
+
|
|
9
|
+
## 0.3.23 (2026-06-25)
|
|
10
|
+
|
|
11
|
+
- Load Phlex SGML before SGML extension modules and bootstrap the HTML/SVG
|
|
12
|
+
class namespaces before loading their element modules.
|
|
13
|
+
|
|
3
14
|
## 0.3.22 (2026-06-25)
|
|
4
15
|
|
|
5
16
|
- Define the Phlex namespace before preloading Phlex FIFO. The FIFO file uses
|
data/lib/phlex/opal_compat.rb
CHANGED
|
@@ -3,18 +3,39 @@
|
|
|
3
3
|
require "corelib/pattern_matching"
|
|
4
4
|
require "zeitwerk/opal_compat"
|
|
5
5
|
require "phlex" unless defined?(Phlex)
|
|
6
|
+
|
|
7
|
+
unless
|
|
8
|
+
String.method_defined?(:name)
|
|
9
|
+
class String
|
|
10
|
+
def name
|
|
11
|
+
self
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
|
|
6
16
|
require "phlex/error"
|
|
7
17
|
require "phlex/errors/argument_error"
|
|
8
18
|
require "phlex/errors/double_render_error"
|
|
9
19
|
require "phlex/errors/name_error"
|
|
10
20
|
require "phlex/errors/runtime_error"
|
|
11
21
|
require "phlex/helpers"
|
|
22
|
+
require "phlex/sgml"
|
|
12
23
|
require "phlex/sgml/safe_object"
|
|
13
24
|
require "phlex/sgml/safe_value"
|
|
14
25
|
require "phlex/sgml/state"
|
|
15
26
|
require "phlex/sgml/attributes"
|
|
16
27
|
require "phlex/sgml/elements"
|
|
17
|
-
|
|
28
|
+
|
|
29
|
+
unless defined?(Phlex::HTML)
|
|
30
|
+
class Phlex::HTML < Phlex::SGML
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
unless defined?(Phlex::SVG)
|
|
35
|
+
class Phlex::SVG < Phlex::SGML
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
|
|
18
39
|
require "phlex/html/void_elements"
|
|
19
40
|
require "phlex/html/standard_elements"
|
|
20
41
|
require "phlex/html"
|