homura-runtime 0.3.13 → 0.3.15
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 +12 -0
- data/lib/homura/runtime/build_support.rb +4 -2
- data/lib/homura/runtime/version.rb +1 -1
- metadata +15 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8863e4ecda49c4da71d1bdbb785a8c36a64b82993365a851083fd401835b355e
|
|
4
|
+
data.tar.gz: 7b0ccad84a4763216f07bd536490841dcadb6fe3e63399eff32802e5b871159e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: efcaf98ebe1f207b542159ff4d6e6ae0fb063fc7b6ce62f8ab51a856bd2fb8a606acef46538b797b89071e91c61bc435cadccee0c308dbc99abee3e44249e61f
|
|
7
|
+
data.tar.gz: a2886212d762372cb3d6aaf30bcd4b7bf987b191e33134349873f1b554d21ce16677bde453b0cae140486c9d2a37cece9249bfc12d729203e1bc45d09ece5d00
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.15 (2026-06-25)
|
|
4
|
+
|
|
5
|
+
- Add `sexp_processor` to the runtime build dependencies and standalone Opal
|
|
6
|
+
load path. This satisfies Prism's RubyParser translation path when Phlex
|
|
7
|
+
compiler autoloads are touched during published-gem builds.
|
|
8
|
+
|
|
9
|
+
## 0.3.14 (2026-06-25)
|
|
10
|
+
|
|
11
|
+
- Load Phlex/Literal root files as logical requires with explicit `.rb`
|
|
12
|
+
extensions in the generated Opal gem prelude. This avoids both directory
|
|
13
|
+
collisions and accidental eager loading of Phlex compiler internals.
|
|
14
|
+
|
|
3
15
|
## 0.3.13 (2026-06-25)
|
|
4
16
|
|
|
5
17
|
- Load Phlex/Literal root code through Opal `require_tree` in the generated
|
|
@@ -8,6 +8,7 @@ module HomuraRuntime
|
|
|
8
8
|
RUNTIME_GEM_NAME = "homura-runtime"
|
|
9
9
|
SINATRA_GEM_NAME = "sinatra-homura"
|
|
10
10
|
SEQUEL_D1_GEM_NAME = "sequel-d1"
|
|
11
|
+
SEXP_PROCESSOR_GEM_NAME = "sexp_processor"
|
|
11
12
|
SUPPORTED_OPAL_ENTRY_GEMS = %w[phlex literal].freeze
|
|
12
13
|
OPAL_ENTRY_COMPAT_REQUIRES = {
|
|
13
14
|
"phlex" => "phlex/opal_compat",
|
|
@@ -119,7 +120,8 @@ module HomuraRuntime
|
|
|
119
120
|
gem_lib(RUNTIME_GEM_NAME, loaded_specs: loaded_specs),
|
|
120
121
|
gem_vendor(RUNTIME_GEM_NAME, loaded_specs: loaded_specs),
|
|
121
122
|
maybe_gem_lib(SINATRA_GEM_NAME, loaded_specs: loaded_specs),
|
|
122
|
-
maybe_gem_vendor(SINATRA_GEM_NAME, loaded_specs: loaded_specs)
|
|
123
|
+
maybe_gem_vendor(SINATRA_GEM_NAME, loaded_specs: loaded_specs),
|
|
124
|
+
maybe_gem_lib(SEXP_PROCESSOR_GEM_NAME, loaded_specs: loaded_specs)
|
|
123
125
|
].compact.each { |path| load_paths << path }
|
|
124
126
|
|
|
125
127
|
if with_db
|
|
@@ -263,7 +265,7 @@ module HomuraRuntime
|
|
|
263
265
|
next unless root_file.file?
|
|
264
266
|
|
|
265
267
|
lines << "Zeitwerk.__homura_next_gem_root = #{root_file.to_s.inspect}"
|
|
266
|
-
lines << "
|
|
268
|
+
lines << "require #{("#{spec.name}.rb").inspect}"
|
|
267
269
|
lines << "`Opal.loaded([#{spec.name.inspect}])`"
|
|
268
270
|
lines << "require #{compat.inspect}"
|
|
269
271
|
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.15
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kazuhiro Homma
|
|
@@ -37,6 +37,20 @@ dependencies:
|
|
|
37
37
|
- - "~>"
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
39
|
version: '3.3'
|
|
40
|
+
- !ruby/object:Gem::Dependency
|
|
41
|
+
name: sexp_processor
|
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - "~>"
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: '4.17'
|
|
47
|
+
type: :runtime
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - "~>"
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '4.17'
|
|
40
54
|
description: |
|
|
41
55
|
Sinatra-free core for running Opal-compiled Ruby on Cloudflare Workers:
|
|
42
56
|
Rack handler, D1/KV/R2/AI/Queue/Durable Object adapters, multipart/streaming,
|