homura-runtime 0.3.11 → 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: eb6e0649db870b21aa5fa94ddfb82c2f5342f34abc7c8e17bc504450fb749cb0
4
- data.tar.gz: e1ca881e136a597dfbc85e205e5c4ad2c47f0def5fb6ed4e79cc0335fafe52a9
3
+ metadata.gz: b92445bbcde7ae12d5eb0ee75142a05bc1ec83fcac2748a36a210580accece9f
4
+ data.tar.gz: b51a9d070d3018c5ac105896dec72e1ac0b506fe473b97ba52bc694734ca25b3
5
5
  SHA512:
6
- metadata.gz: 3fa060cf0104b6420a6ae52dbe85234cd26c46c1335a9ffe2de17ca366cae72752d88f978ef29939e007fb4a116b9c42d57f73a72df993d0d5caf70eaf923f0b
7
- data.tar.gz: 488bc28651a88722d00d1c1abb4bb4c24e078d91b3428e8921cc4e52288056da2b3875fa2d9e86d20e785c5edcdcf0caa5665023cd1e4f513648e59abc039d54
6
+ metadata.gz: 8ed463c81c2358cc997a2e97867727e0166ea8e6c4896d22e05ac2adb08aeee0454f80143d11ab0866aae19c36353062aa7c74f88704976e8e453eaaaca40f5a
7
+ data.tar.gz: 3aac55e26991a4e2d8849160554c17042e2b471d1d702e7bd9fecbddbc384b97007f68add9c07a54f47dbd8d1d8022ee943cd2609ac6eead212afa1a2dbd12db
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
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
+
9
+ ## 0.3.12 (2026-06-25)
10
+
11
+ - Require Phlex/Literal root files with the explicit `.rb` path in the generated
12
+ Opal gem prelude. This avoids Opal choosing the sibling `lib/phlex/` or
13
+ `lib/literal/` directory before the root file.
14
+
3
15
  ## 0.3.11 (2026-06-25)
4
16
 
5
17
  - Package the minimal Opal `monitor` shim required by Zeitwerk. This keeps
@@ -262,9 +262,8 @@ module HomuraRuntime
262
262
  root_file = lib.join("#{spec.name}.rb")
263
263
  next unless root_file.file?
264
264
 
265
- root_require = root_file.to_s.delete_suffix(".rb")
266
265
  lines << "Zeitwerk.__homura_next_gem_root = #{root_file.to_s.inspect}"
267
- lines << "require #{root_require.inspect}"
266
+ lines << "require_tree #{lib.to_s.inspect}"
268
267
  lines << "`Opal.loaded([#{spec.name.inspect}])`"
269
268
  lines << "require #{compat.inspect}"
270
269
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HomuraRuntime
4
- VERSION = "0.3.11"
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.11
4
+ version: 0.3.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuhiro Homma