homura-runtime 0.2.2 → 0.2.4
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 +8 -2
- data/README.md +2 -2
- data/lib/cloudflare_workers/version.rb +1 -1
- data/lib/cloudflare_workers.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a7e0278919623ca0bd4057dd685cc0a6121efa0d36e0f0a7eeb8bc9e404938a8
|
|
4
|
+
data.tar.gz: 3896ecbe9174de362fd6e9dc4d24ec015adf495bce80b045bd61d2c4a305791d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2607d862746d48cad7eb8c28a8e1cb39477c95fab45c6f90ea0cc8e773dadfca54d1e2d3cb0842774cec3bddbe7216ce0efd433f147f48c86a97a2118f29edd4
|
|
7
|
+
data.tar.gz: 14a8a0faca16aa7f1f8ed9a49c2bbc194afd4417a2d4b808519d1d144a94b9ac2a75a01fbdbceb385e732228f3b0bba91667f3d17d5004cec8f3d17ccf72f380
|
data/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.2.
|
|
3
|
+
## 0.2.4 (2026-04-23)
|
|
4
4
|
|
|
5
|
-
-
|
|
5
|
+
- Guard the Rack body close hook against raw JS `undefined` so Workers request teardown
|
|
6
|
+
does not crash when a response body is absent or non-Ruby.
|
|
7
|
+
|
|
8
|
+
## 0.2.3 (2026-04-23)
|
|
9
|
+
|
|
10
|
+
- Bump the exact `opal-homura` dependency to `1.8.3.rc1.2` for the release retry after the
|
|
11
|
+
previous tag push failed to trigger RubyGems publication.
|
|
6
12
|
- Preserve async Sinatra responses that resolve to `[status, body]` or `[status, headers, body]`
|
|
7
13
|
so `# await: true` routes can still express `halt` / `redirect` outcomes after awaiting.
|
|
8
14
|
|
data/README.md
CHANGED
|
@@ -14,7 +14,7 @@ Core Ruby + Module Worker glue for [Opal](https://opalrb.com/) on [Cloudflare Wo
|
|
|
14
14
|
|
|
15
15
|
## Quick start (homura monorepo)
|
|
16
16
|
|
|
17
|
-
1. `Gemfile`: `gem 'homura-runtime', path: 'gems/homura-runtime'` and `gem 'opal-homura', '= 1.8.3.rc1.
|
|
17
|
+
1. `Gemfile`: `gem 'homura-runtime', path: 'gems/homura-runtime'` and `gem 'opal-homura', '= 1.8.3.rc1.2', require: 'opal'` (path or exact pin).
|
|
18
18
|
2. `bundle exec homura build` — writes `build/hello.no-exit.mjs` and `build/worker.entrypoint.mjs`.
|
|
19
19
|
3. `wrangler.toml`: `main = "build/worker.entrypoint.mjs"`, `compatibility_flags = ["nodejs_compat"]`.
|
|
20
20
|
|
|
@@ -25,7 +25,7 @@ Core Ruby + Module Worker glue for [Opal](https://opalrb.com/) on [Cloudflare Wo
|
|
|
25
25
|
| Ruby | 3.4.x |
|
|
26
26
|
| Node | ≥ 20 |
|
|
27
27
|
| Wrangler | ^3.99 |
|
|
28
|
-
| Opal | = 1.8.3.rc1.
|
|
28
|
+
| Opal | = 1.8.3.rc1.2 |
|
|
29
29
|
|
|
30
30
|
## Wrangler config
|
|
31
31
|
|
data/lib/cloudflare_workers.rb
CHANGED
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.2.
|
|
4
|
+
version: 0.2.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kazuhiro Homma
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - '='
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 1.8.3.rc1.
|
|
18
|
+
version: 1.8.3.rc1.2
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - '='
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 1.8.3.rc1.
|
|
25
|
+
version: 1.8.3.rc1.2
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: parser
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|