Skip to content

Commit 38ca08f

Browse files
authored
Merge pull request #22 from Shopify/centralize_ruby_version
Centralize Ruby Version to `.ruby-version`
2 parents 0035f95 + 63f751b commit 38ca08f

6 files changed

Lines changed: 54 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ${{ matrix.os }}
1313
strategy:
1414
matrix:
15-
ruby: ["2.7", "3.3"]
15+
ruby: ["3.0", "3.1", "3.2", "3.3"]
1616
os: ["ubuntu-latest", "macos-latest"]
1717
name: Ruby ${{ matrix.ruby }} on ${{ matrix.os }}
1818
steps:

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
tmp/
22
pkg/
33
.dev/
4-
Gemfile.lock
54
.shadowenv.d
65
.DS_Store
76
vendor/

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.3.0

Gemfile.lock

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
PATH
2+
remote: .
3+
specs:
4+
binaryen (1.1.6.17)
5+
6+
GEM
7+
remote: https://rubygems.org/
8+
specs:
9+
ast (2.4.2)
10+
json (2.7.1)
11+
language_server-protocol (3.17.0.3)
12+
minitest (5.22.3)
13+
parallel (1.24.0)
14+
parser (3.3.0.5)
15+
ast (~> 2.4.1)
16+
racc
17+
racc (1.7.3)
18+
rainbow (3.1.1)
19+
rake (13.1.0)
20+
regexp_parser (2.9.0)
21+
rexml (3.2.6)
22+
rubocop (1.62.1)
23+
json (~> 2.3)
24+
language_server-protocol (>= 3.17.0)
25+
parallel (~> 1.10)
26+
parser (>= 3.3.0.2)
27+
rainbow (>= 2.2.2, < 4.0)
28+
regexp_parser (>= 1.8, < 3.0)
29+
rexml (>= 3.2.5, < 4.0)
30+
rubocop-ast (>= 1.31.1, < 2.0)
31+
ruby-progressbar (~> 1.7)
32+
unicode-display_width (>= 2.4.0, < 3.0)
33+
rubocop-ast (1.31.2)
34+
parser (>= 3.3.0.4)
35+
rubocop-shopify (2.15.1)
36+
rubocop (~> 1.51)
37+
ruby-progressbar (1.13.0)
38+
unicode-display_width (2.5.0)
39+
40+
PLATFORMS
41+
ruby
42+
43+
DEPENDENCIES
44+
binaryen!
45+
minitest
46+
rake
47+
rubocop-shopify
48+
49+
BUNDLED WITH
50+
2.4.10

binaryen.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ Gem::Specification.new do |spec|
1515
spec.homepage = "https://github.com/Shopify/binaryen-rb"
1616
spec.platform = Gem::Platform::RUBY
1717
spec.extensions = ["extconf.rb"]
18+
spec.required_ruby_version = ">= 3.0.0"
1819
end

dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: wasm-opt-rb
33
type: ruby
44

55
up:
6-
- ruby: 3.2.2
6+
- ruby
77
- bundler
88

99
commands:

0 commit comments

Comments
 (0)