Skip to content

Commit 27b15e9

Browse files
committed
fix: add missing .wws.toml file for ruby tests
1 parent 5216ebe commit 27b15e9

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

examples/ruby-basic/.wws.toml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
version = 1
2+
3+
[[repositories]]
4+
name = "wasmlabs"
5+
url = "https://workers.wasmlabs.dev/repository/v1/index.toml"
6+
7+
[[repositories.runtimes]]
8+
name = "ruby"
9+
version = "3.2.0+20230215-1"
10+
tags = [
11+
"latest",
12+
"3.2",
13+
"3.2.0",
14+
]
15+
status = "active"
16+
extensions = ["rb"]
17+
args = [
18+
"--",
19+
"/src/index.rb",
20+
]
21+
22+
[repositories.runtimes.binary]
23+
url = "https://github.com/vmware-labs/webassembly-language-runtimes/releases/download/ruby%2F3.2.0%2B20230215-1349da9/ruby-3.2.0.wasm"
24+
filename = "ruby.wasm"
25+
26+
[repositories.runtimes.binary.checksum]
27+
type = "sha256"
28+
value = "abe348fba157a756f86194be445c77c99e8ed64ca76495ea07ed984f09eb66ae"
29+
30+
[repositories.runtimes.polyfill]
31+
url = "https://workers.wasmlabs.dev/repository/v1/files/ruby/3-1/poly.rb"
32+
filename = "poly.rb"
33+
34+
[repositories.runtimes.polyfill.checksum]
35+
type = "sha256"
36+
value = "449855a5d315879ab0ad830aa6a3f689e68fed4490617ea03efc77c9da64f630"
37+
38+
[repositories.runtimes.wrapper]
39+
url = "https://workers.wasmlabs.dev/repository/v1/files/ruby/3-1/wrapper.txt"
40+
filename = "wrapper.txt"
41+
42+
[repositories.runtimes.wrapper.checksum]
43+
type = "sha256"
44+
value = "6d808b4747cf30f82665a38a47e1176513bbdd6ad558c09db03d719e33ad2da0"

0 commit comments

Comments
 (0)