8000 Support ruby 3 (#103) · p0deje/rules_ruby-1@239d5f0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 239d5f0

Browse files
mmizutanikigster
anda 8000 uthored
Support ruby 3 (bazelruby#103)
* Fix entries of the Ruby supported_versions list * Upgrade ruby-build Co-authored-by: Konstantin Gredeskoul <kigster@gmail.com>
1 parent e91cd14 commit 239d5f0

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

ruby/private/sdk.bzl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ def rules_ruby_select_sdk(version = "host"):
1313
"2.6.4",
1414
"2.6.5",
1515
"2.6.6",
16+
"2.6.7",
1617
"2.7.1",
17-
"2.7.1",
18-
"2.8.0",
18+
"2.7.2",
19+
"3.0.0",
20+
"3.0.1",
1921
]
2022

2123
if version in supported_versions:

ruby/private/toolchains/ruby_runtime.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ load("//ruby/private/toolchains:repository_context.bzl", "ruby_repository_contex
33

44
def _install_ruby_version(ctx, version):
55
ctx.download_and_extract(
6-
url = "https://github.com/rbenv/ruby-build/archive/v20200727.tar.gz",
7-
sha256 = "71679d49d9190250059eaa0bc0bedd080c00a523ec47662f559f7629f71772ea",
8-
stripPrefix = "ruby-build-20200727",
6+
url = "https://github.com/rbenv/ruby-build/archive/v20210611.tar.gz",
7+
sha256 = "dba3fd6722c007773ccef2c01cca454152d834f962754a85ae2c746b338f5772",
8+
stripPrefix = "ruby-build-20210611",
99
)
1010

1111
install_path = "./build"

0 commit comments

Comments
 (0)
0