homura-runtime 0.3.12 → 0.3.13

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: ef4b72afa95f5beb47c4856874e533d64431fa0b933b9476965b68ba238bd058
4
- data.tar.gz: c779e82008e636af8602f41503d521d556cd9491d91ca2b2400298ab13c98264
3
+ metadata.gz: b92445bbcde7ae12d5eb0ee75142a05bc1ec83fcac2748a36a210580accece9f
4
+ data.tar.gz: b51a9d070d3018c5ac105896dec72e1ac0b506fe473b97ba52bc694734ca25b3
5
5
  SHA512:
6
- metadata.gz: bdf1702f8af45d0ad159448979cd9c823e21d045f88ccad41da3d95243a9898ae835792897febf5098d7012692311d21c4fc5f3f365b6736316ef4c0cb9faaa5
7
- data.tar.gz: 0a2b7f0c0cdccac612c0c2dbeb4cf6be67a8b4bb08ebecf4d6c7ef9f654ad3eafc57205e57d9d2dd025fd36357ee9f9d57390953a63df0dd1c41455f031f5fad
6
+ metadata.gz: 8ed463c81c2358cc997a2e97867727e0166ea8e6c4896d22e05ac2adb08aeee0454f80143d11ab0866aae19c36353062aa7c74f88704976e8e453eaaaca40f5a
7
+ data.tar.gz: 3aac55e26991a4e2d8849160554c17042e2b471d1d702e7bd9fecbddbc384b97007f68add9c07a54f47dbd8d1d8022ee943cd2609ac6eead212afa1a2dbd12db
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.13 (2026-06-25)
4
+
5
+ - Load Phlex/Literal root code through Opal `require_tree` in the generated
6
+ prelude instead of absolute root-file `require`. This keeps their internal
7
+ relative requires resolvable in standalone Workers builds.
8
+
3
9
  ## 0.3.12 (2026-06-25)
4
10
 
5
11
  - Require Phlex/Literal root files with the explicit `.rb` path in the generated
@@ -263,7 +263,7 @@ module HomuraRuntime
263
263
  next unless root_file.file?
264
264
 
265
265
  lines << "Zeitwerk.__homura_next_gem_root = #{root_file.to_s.inspect}"
266
- lines << "require #{root_file.to_s.inspect}"
266
+ lines << "require_tree #{lib.to_s.inspect}"
267
267
  lines << "`Opal.loaded([#{spec.name.inspect}])`"
268
268
  lines << "require #{compat.inspect}"
269
269
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HomuraRuntime
4
- VERSION = "0.3.12"
4
+ VERSION = "0.3.13"
5
5
  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.12
4
+ version: 0.3.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuhiro Homma