Skip to content

Commit ca6534f

Browse files
committed
chore: upgrade ruby_wasm and ruby-next
1 parent f28383a commit ca6534f

File tree

5 files changed

+13
-27
lines changed

5 files changed

+13
-27
lines changed

Diff for: Gemfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
source "https://rubygems.org"
44

5-
gem "js", "~> 2.4.1.pre.1" unless ENV["JS"] == "false"
6-
gem "ruby_wasm", github: "ruby/ruby.wasm"
5+
gem "js", "~> 2.5" unless ENV["JS"] == "false"
6+
gem "ruby_wasm", "~> 2.5"
77
gem "ruby-next", "~> 1.0"

Diff for: Gemfile.lock

+11-13
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,28 @@
1-
GIT
2-
remote: https://github.com/ruby/ruby.wasm.git
3-
revision: 95255203f208e18e6356be6a898e55f2002b49ec
4-
specs:
5-
ruby_wasm (2.4.1)
6-
71
GEM
82
remote: https://rubygems.org/
93
specs:
104
ast (2.4.2)
115
diff-lcs (1.5.0)
12-
js (2.4.1.pre.1)
6+
js (2.5.0)
137
paco (0.2.3)
14-
parser (3.3.0.4)
8+
parser (3.3.0.5)
159
ast (~> 2.4.1)
1610
racc
1711
racc (1.7.3)
1812
require-hooks (0.2.2)
19-
ruby-next (1.0.0)
13+
ruby-next (1.0.1)
2014
paco (~> 0.2)
2115
require-hooks (~> 0.2)
22-
ruby-next-core (= 1.0.0)
16+
ruby-next-core (= 1.0.1)
2317
ruby-next-parser (>= 3.2.2.0)
2418
unparser (~> 0.6.0)
25-
ruby-next-core (1.0.0)
19+
ruby-next-core (1.0.1)
2620
ruby-next-parser (3.2.2.0)
2721
parser (>= 3.0.3.1)
22+
ruby_wasm (2.5.0)
23+
ruby_wasm (2.5.0-aarch64-linux)
24+
ruby_wasm (2.5.0-arm64-darwin)
25+
ruby_wasm (2.5.0-x86_64-linux)
2826
unparser (0.6.12)
2927
diff-lcs (~> 1.3)
3028
parser (>= 3.2.2.4)
@@ -36,9 +34,9 @@ PLATFORMS
3634
x86_64-linux
3735

3836
DEPENDENCIES
39-
js (~> 2.4.1.pre.1)
37+
js (~> 2.5)
4038
ruby-next (~> 1.0)
41-
ruby_wasm!
39+
ruby_wasm (~> 2.5)
4240

4341
BUNDLED WITH
4442
2.5.3

Diff for: README.md

-7
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@ Play with Ruby Next right in the browser (powered by [ruby.wasm](https://github.
66

77
### Prerequisites
88

9-
- Install [wasi-vfs](https://github.com/kateinoigakukun/wasi-vfs):
10-
11-
```sh
12-
brew tap kateinoigakukun/wasi-vfs https://github.com/kateinoigakukun/wasi-vfs.git
13-
brew install kateinoigakukun/wasi-vfs/wasi-vfs
14-
```
15-
169
- Install Rust toolchain:
1710

1811
```sh

Diff for: ruby-next.rb

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
require "/bundle/setup"
22

3-
# Make gem no-op
4-
define_singleton_method(:gem) { |*| nil }
5-
63
require "ruby-next/language"
74

85
SOURCE = <<~'RUBY'

Diff for: src/vm.js

-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ export default async function initVM() {
1818
vm.eval(`
1919
require "/bundle/setup"
2020
require "rubygems"
21-
# Make gem no-op
22-
define_singleton_method(:gem) { |*| nil }
2321
2422
require "js"
2523

0 commit comments

Comments
 (0)