homura-runtime 0.3.14 → 0.3.16
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/homura/runtime/version.rb +1 -1
- data/lib/phlex/compiler/method_compiler.rb +16 -0
- data/lib/phlex/compiler.rb +16 -0
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4492581dac37144c7ec31f1fb5e51392ab5211abff182cc3db03b2819ea60594
|
|
4
|
+
data.tar.gz: 80ef1af210e92368eb44dbd37312408e4565011b7f87d8f38e0388be820ece22
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2fa3fda086a3d49a43d6e640613e3f2f353c653a9a9aed8c1bb12dfb470ec1fcfd6f4758b0aaebb3de7b5516a485ba78bbf7022d1596463c61f909216f5275ca
|
|
7
|
+
data.tar.gz: 9b88264d29269510f19a7b1039a717018505d3142a4ff3cf7cf8376bb898e9c15418c6cfd42c98274b42901fdf51797e5a37c8d32e92eb5bed30d484c9845d77
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.16 (2026-06-25)
|
|
4
|
+
|
|
5
|
+
- Shadow Phlex compiler files with runtime no-op stubs for Opal builds. Workers
|
|
6
|
+
need Phlex rendering, not Phlex's Ruby source compiler, and the compiler path
|
|
7
|
+
pulls in native Prism pieces that cannot run in Opal.
|
|
8
|
+
- Remove the transient `sexp_processor` runtime dependency added in 0.3.15.
|
|
9
|
+
|
|
10
|
+
## 0.3.15 (2026-06-25)
|
|
11
|
+
|
|
12
|
+
- Add `sexp_processor` to the runtime build dependencies and standalone Opal
|
|
13
|
+
load path. This satisfies Prism's RubyParser translation path when Phlex
|
|
14
|
+
compiler autoloads are touched during published-gem builds.
|
|
15
|
+
|
|
3
16
|
## 0.3.14 (2026-06-25)
|
|
4
17
|
|
|
5
18
|
- Load Phlex/Literal root files as logical requires with explicit `.rb`
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Phlex
|
|
4
|
+
module Compiler
|
|
5
|
+
MAP = {} unless const_defined?(:MAP, false)
|
|
6
|
+
Error = Class.new(StandardError) unless const_defined?(:Error, false)
|
|
7
|
+
|
|
8
|
+
def self.compile(_component)
|
|
9
|
+
nil
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def self.compile_file(_path)
|
|
13
|
+
nil
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: homura-runtime
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.16
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kazuhiro Homma
|
|
@@ -74,6 +74,8 @@ files:
|
|
|
74
74
|
- lib/literal/opal_compat.rb
|
|
75
75
|
- lib/monitor.rb
|
|
76
76
|
- lib/opal_patches.rb
|
|
77
|
+
- lib/phlex/compiler.rb
|
|
78
|
+
- lib/phlex/compiler/method_compiler.rb
|
|
77
79
|
- lib/phlex/opal_compat.rb
|
|
78
80
|
- lib/zeitwerk/opal_compat.rb
|
|
79
81
|
- runtime/patch-opal-evals.mjs
|