homura-runtime 0.3.1 → 0.3.2

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: 8add04211534a53fdb39d920d9b6dc143005acabe260f15d45c3b3a54b95dc9a
4
- data.tar.gz: ab5115722674df8f52a7839a7b80f135f84f3e686988b85e1649d1785009ce0d
3
+ metadata.gz: 4b09e022b298cf614eddee1e206a91e8f1e8ac62dbd649bbaf493c17bd9867dc
4
+ data.tar.gz: 8e79929b358d8273307da2522890afdd6ab2c19c9e7281cf66eb4cca0c858878
5
5
  SHA512:
6
- metadata.gz: 3147e261629b3ba277fce2729dcf4deb47dbea060db34111d716e36d188b4dc15f6f3e0a88186c774a9d9884d70f289ac8bfb03cd57b6c6d4d517018d9ca88cf
7
- data.tar.gz: d5304208f712e6b4ac7f609489558b28e1609927180ae7e5387423363f9d536cbbb31730667d7084d903fecf9c63bc9bebb4cd558bf2acbdef911807042f2a31
6
+ metadata.gz: 4869cd52bc0e24b9a4427145bce641c678d1ffd8de391e984a0dd6238df2fc2ac2bcd67108326f079a44c23b17ce77ef7310717941575860efd024311083d92c
7
+ data.tar.gz: 44a8fd2d0846fb0939b79da88ce792ce574114a22046b5cb4b6bc9420559c2b780d813a75fba2c177d489996d963142136f2bdeafb95cb347314c308dbc07e8e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.2 (2026-04-30)
4
+
5
+ - README: replace the leftover `require 'cloudflare_workers'` line and
6
+ the `gem 'opal-homura', '= 1.8.3.rc1.3'` pin with the canonical
7
+ `require 'homura/runtime'` and `= 1.8.3.rc1.5` shipped on RubyGems.
8
+ - README support-matrix Opal row updated to `= 1.8.3.rc1.5` to match.
9
+ - No code changes vs. 0.3.1.
10
+
3
11
  ## 0.3.1 (2026-04-29)
4
12
 
5
13
  - Fix `release-gems.yml` `Resolve gem target` step: now reads
data/README.md CHANGED
@@ -5,7 +5,7 @@ Core Ruby + Module Worker glue for [Opal](https://opalrb.com/) on [Cloudflare Wo
5
5
  ## What you get
6
6
 
7
7
  - `require 'opal_patches'` — additive patches for Opal corelib vs real-world gems (Rack, etc.).
8
- - `require 'cloudflare_workers'` — Rack handler, Cloudflare bindings, multipart, queue, Durable Objects, etc.
8
+ - `require 'homura/runtime'` — Rack handler, Cloudflare bindings, multipart, queue, Durable Objects, etc. Sinatra apps using `sinatra-homura` get this required automatically; explicit consumers (non-Sinatra Rack apps) call it themselves.
9
9
  - `runtime/worker_module.mjs` — fetch / scheduled / queue / DO adapters (**no Opal bundle import**).
10
10
  - `runtime/worker.mjs` — thin bootstrap (crypto shim → bundle → `worker_module`) for legacy layouts.
11
11
  - `runtime/setup-node-crypto.mjs` — `node:crypto` on `globalThis` before the Opal bundle loads.
@@ -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.3', require: 'opal'` (path or exact pin).
17
+ 1. `Gemfile`: `gem 'homura-runtime', '~> 0.3'` and `gem 'opal-homura', '= 1.8.3.rc1.5', require: 'opal'` (in the homura monorepo dev workspace, `path: 'gems/homura-runtime'` is also supported).
18
18
  2. `bundle exec homura build` — in generated standalone apps, writes `build/hello.no-exit.mjs` plus root-level `build/worker.entrypoint.mjs`; in the monorepo it writes `build/worker.entrypoint.mjs`.
19
19
  3. `wrangler.toml`: generated apps use `main = "build/worker.entrypoint.mjs"` and `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.3 |
28
+ | Opal | = 1.8.3.rc1.5 |
29
29
 
30
30
  ## Wrangler config
31
31
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HomuraRuntime
4
- VERSION = '0.3.1'
4
+ VERSION = '0.3.2'
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.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuhiro Homma