Skip to content

Commit 09dce9f

Browse files
Bump version to 2.6.2
1 parent 53c3e9c commit 09dce9f

File tree

16 files changed

+31
-33
lines changed

16 files changed

+31
-33
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,5 +127,5 @@ $ npm install --save @ruby/wasm-wasi@latest
127127
# or if you want the nightly snapshot
128128
$ npm install --save @ruby/wasm-wasi@next
129129
# or you can specify the exact snapshot version
130-
$ npm install --save @ruby/[email protected].1-2024-05-22-a
130+
$ npm install --save @ruby/[email protected].2-2024-06-29-a
131131
```

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Create and save `index.html` page with the following contents:
2323

2424
```html
2525
<html>
26-
<script src="https://cdn.jsdelivr.net/npm/@ruby/[email protected].1/dist/browser.script.iife.js"></script>
26+
<script src="https://cdn.jsdelivr.net/npm/@ruby/[email protected].2/dist/browser.script.iife.js"></script>
2727
<script type="text/ruby">
2828
require "js"
2929

docs/cheat_sheet.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The easiest way to run Ruby on browser is to use `browser.script.iife.js` script
3838

3939
```html
4040
<html>
41-
<script src="https://cdn.jsdelivr.net/npm/@ruby/[email protected].1/dist/browser.script.iife.js"></script>
41+
<script src="https://cdn.jsdelivr.net/npm/@ruby/[email protected].2/dist/browser.script.iife.js"></script>
4242
<script type="text/ruby">
4343
require "js"
4444
JS.global[:document].write "Hello, world!"
@@ -51,8 +51,8 @@ If you want to control Ruby VM from JavaScript, you can use `@ruby/wasm-wasi` pa
5151
```html
5252
<html>
5353
<script type="module">
54-
import { DefaultRubyVM } from "https://cdn.jsdelivr.net/npm/@ruby/[email protected].1/dist/browser/+esm";
55-
const response = await fetch("https://cdn.jsdelivr.net/npm/@ruby/[email protected].1/dist/ruby+stdlib.wasm");
54+
import { DefaultRubyVM } from "https://cdn.jsdelivr.net/npm/@ruby/[email protected].2/dist/browser/+esm";
55+
const response = await fetch("https://cdn.jsdelivr.net/npm/@ruby/[email protected].2/dist/ruby+stdlib.wasm");
5656
const module = await WebAssembly.compileStreaming(response);
5757
const { vm } = await DefaultRubyVM(module);
5858
@@ -69,11 +69,11 @@ If you want to control Ruby VM from JavaScript, you can use `@ruby/wasm-wasi` pa
6969

7070
```html
7171
<html>
72-
<script src="https://cdn.jsdelivr.net/npm/@ruby/[email protected].1/dist/browser.umd.js"></script>
72+
<script src="https://cdn.jsdelivr.net/npm/@ruby/[email protected].2/dist/browser.umd.js"></script>
7373
<script>
7474
const main = async () => {
7575
const { DefaultRubyVM } = window["ruby-wasm-wasi"];
76-
const response = await fetch("https://cdn.jsdelivr.net/npm/@ruby/[email protected].1/dist/ruby+stdlib.wasm");
76+
const response = await fetch("https://cdn.jsdelivr.net/npm/@ruby/[email protected].2/dist/ruby+stdlib.wasm");
7777
const module = await WebAssembly.compileStreaming(response);
7878
const { vm } = await DefaultRubyVM(module);
7979
@@ -128,7 +128,7 @@ end
128128

129129
```html
130130
<html>
131-
<script src="https://cdn.jsdelivr.net/npm/@ruby/[email protected].1/dist/browser.script.iife.js"></script>
131+
<script src="https://cdn.jsdelivr.net/npm/@ruby/[email protected].2/dist/browser.script.iife.js"></script>
132132
<script type="text/ruby" data-eval="async">
133133
require "js"
134134
@@ -143,8 +143,8 @@ Or using `@ruby/wasm-wasi` package API `RubyVM#evalAsync`:
143143
```html
144144
<html>
145145
<script type="module">
146-
import { DefaultRubyVM } from "https://cdn.jsdelivr.net/npm/@ruby/[email protected].1/dist/browser/+esm";
147-
const response = await fetch("https://cdn.jsdelivr.net/npm/@ruby/[email protected].1/dist/ruby+stdlib.wasm");
146+
import { DefaultRubyVM } from "https://cdn.jsdelivr.net/npm/@ruby/[email protected].2/dist/browser/+esm";
147+
const response = await fetch("https://cdn.jsdelivr.net/npm/@ruby/[email protected].2/dist/ruby+stdlib.wasm");
148148
const module = await WebAssembly.compileStreaming(response);
149149
const { vm } = await DefaultRubyVM(module);
150150

lib/ruby_wasm/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module RubyWasm
2-
VERSION = "2.6.1"
2+
VERSION = "2.6.2"
33
end

package-lock.json

+8-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/gems/js/lib/js/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module JS
2-
VERSION = "2.6.1"
2+
VERSION = "2.6.2"
33
end

packages/npm-packages/ruby-3.2-wasm-wasi/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ruby/3.2-wasm-wasi",
3-
"version": "2.6.1",
3+
"version": "2.6.2",
44
"description": "Ruby 3.2 built on WASI",
55
"main": "./dist/cjs/index.js",
66
"module": "./dist/esm/index.js",

packages/npm-packages/ruby-3.3-wasm-wasi/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ruby/3.3-wasm-wasi",
3-
"version": "2.6.1",
3+
"version": "2.6.2",
44
"description": "Ruby 3.3 built on WASI",
55
"main": "./dist/cjs/index.js",
66
"module": "./dist/esm/index.js",

packages/npm-packages/ruby-head-wasm-emscripten/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ruby/head-wasm-emscripten",
3-
"version": "2.6.1",
3+
"version": "2.6.2",
44
"description": "Ruby head built on Emscripten",
55
"type": "commonjs",
66
"main": "dist/index.js",

packages/npm-packages/ruby-head-wasm-wasi/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ruby/head-wasm-wasi",
3-
"version": "2.6.1",
3+
"version": "2.6.2",
44
"description": "Ruby head built on WASI",
55
"main": "./dist/cjs/index.js",
66
"module": "./dist/esm/index.js",

packages/npm-packages/ruby-wasm-emscripten/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ $ npm install --save @ruby/wasm-emscripten@latest @ruby/head-wasm-emscripten@lat
2020
# or if you want the nightly snapshot
2121
$ npm install --save @ruby/head-wasm-emscripten@next
2222
# or you can specify the exact snapshot version
23-
$ npm install --save @ruby/[email protected].1-2024-05-22-a
23+
$ npm install --save @ruby/[email protected].2-2024-06-29-a
2424
```
2525

2626
## Quick Start

packages/npm-packages/ruby-wasm-wasi/Gemfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
PATH
22
remote: ../../..
33
specs:
4-
ruby_wasm (2.6.1)
4+
ruby_wasm (2.6.2)
55

66
PATH
77
remote: ../../gems/js
88
specs:
9-
js (2.6.1)
9+
js (2.6.2)
1010

1111
GEM
1212
remote: https://rubygems.org/

packages/npm-packages/ruby-wasm-wasi/example/hello.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<html>
2-
<script src="https://cdn.jsdelivr.net/npm/@ruby/[email protected].1/dist/browser.script.iife.js"></script>
2+
<script src="https://cdn.jsdelivr.net/npm/@ruby/[email protected].2/dist/browser.script.iife.js"></script>
33
<script type="text/ruby">
44
puts "Hello, world!"
55
</script>

packages/npm-packages/ruby-wasm-wasi/example/lucky.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<html>
2-
<script src="https://cdn.jsdelivr.net/npm/@ruby/[email protected].1/dist/browser.script.iife.js"></script>
2+
<script src="https://cdn.jsdelivr.net/npm/@ruby/[email protected].2/dist/browser.script.iife.js"></script>
33
<button id="draw">Draw Omikuji</button>
44
<div id="result"></div>
55
<script type="text/ruby">
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<html>
2-
<script src="https://cdn.jsdelivr.net/npm/@ruby/[email protected].1/dist/browser.script.iife.js"></script>
2+
<script src="https://cdn.jsdelivr.net/npm/@ruby/[email protected].2/dist/browser.script.iife.js"></script>
33
<script type="text/ruby" src="hello.rb"></script>
44
</html>

packages/npm-packages/ruby-wasm-wasi/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ruby/wasm-wasi",
3-
"version": "2.6.1",
3+
"version": "2.6.2",
44
"description": "WebAssembly port of CRuby with WASI",
55
"main": "./dist/cjs/index.js",
66
"module": "./dist/esm/index.js",

0 commit comments

Comments
 (0)