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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 416aad7ed5ff6c78c488c1b63347aeebf6808d481a7f065378ea17509169876e
4
- data.tar.gz: 915803ca34b708a20edbe4e73bd14d4b449a6ba5c13fddffbfef1300109470e3
3
+ metadata.gz: 4492581dac37144c7ec31f1fb5e51392ab5211abff182cc3db03b2819ea60594
4
+ data.tar.gz: 80ef1af210e92368eb44dbd37312408e4565011b7f87d8f38e0388be820ece22
5
5
  SHA512:
6
- metadata.gz: 9ce8ece70fd106ec42e270b66168e75185dd9bcd6016f5a16c10fe4cbc61f237296c306b9742932e9037400434c8bfc4538e51d7eeca676af1c5595d21af2605
7
- data.tar.gz: b1b2cf4677f704df9df3dd8fcd75d37cdb63fe74a25d4e81b355a325f46e5b85595fb2553415397a99af27a5dc026a1d99f6bc4e24b23942a22d034fc511e9af
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`
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HomuraRuntime
4
- VERSION = "0.3.14"
4
+ VERSION = "0.3.16"
5
5
  end
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "phlex/compiler"
4
+
5
+ module Phlex
6
+ module Compiler
7
+ class Method
8
+ def initialize(...)
9
+ end
10
+
11
+ def compile
12
+ nil
13
+ end
14
+ end
15
+ end
16
+ end
@@ -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.14
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