Skip to content

Commit

Permalink
feat: update Rubies
Browse files Browse the repository at this point in the history
Fixes #172
  • Loading branch information
p0deje committed Nov 25, 2024
1 parent cdfb74d commit dced19b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
matrix:
ruby:
- 3.1.6
- 3.2.5 # 3.2.6 is not yet available on Windows.
- 3.3.5
- 3.2.6
- 3.3.6
- 3.4.0-preview2
- jruby-9.4.8.0
- jruby-9.4.9.0
- truffleruby-24.1.1
- system
os:
Expand All @@ -56,7 +56,7 @@ jobs:
# JRuby with bzlmod fails with long path issues on Windows.
# See #64
- os: windows-latest
ruby: jruby-9.4.8.0
ruby: jruby-9.4.9.0
mode: bzlmod
# TruffleRuby doesn't work on Windows.
- os: windows-latest
Expand All @@ -74,7 +74,7 @@ jobs:
- if: matrix.ruby == 'system'
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1.5'
ruby-version: "3.1.6"
- run: bazel build ...
- run: bazel run lib/gem:add-numbers 2
- run: bazel run lib/gem:print-version
Expand Down
2 changes: 1 addition & 1 deletion examples/gem/.ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
jruby-9.4.8.0
jruby-9.4.9.0
2 changes: 1 addition & 1 deletion examples/jekyll/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ local_path_override(
ruby = use_extension("@rules_ruby//ruby:extensions.bzl", "ruby")
ruby.toolchain(
name = "ruby",
version = "3.2.5",
version = "3.2.6",
)
use_repo(ruby, "ruby")
ruby.bundle_fetch(
Expand Down
3 changes: 2 additions & 1 deletion ruby/private/download.bzl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"Repository rule for fetching Ruby interpreters"

RUBY_BUILD_VERSION = "20241030"
RUBY_BUILD_VERSION = "20241105"

_JRUBY_BINARY_URL = "https://repo1.maven.org/maven2/org/jruby/jruby-dist/{version}/jruby-dist-{version}-bin.tar.gz"
_RUBY_BUILD_URL = "https://github.com/rbenv/ruby-build/archive/refs/tags/v{version}.tar.gz"
Expand Down Expand Up @@ -34,6 +34,7 @@ _JRUBY_VERSIONS = {
"9.4.6.0": "2da14de4152b71fdbfa35ba4687a46ef12cd465740337b549cc1fe6c7c139813",
"9.4.7.0": "f1c39f8257505300a528ff83fe4721fbe61a855abb25e3d27d52d43ac97a4d80",
"9.4.8.0": "347b6692bd9c91c480a45af25ce88d77be8b6e4ac4a77bc94870f2c5b54bc929",
"9.4.9.0": "8d64736e66a3c0e1e1ea813b6317219c5d43769e5d06a4417311e2baa8b40ef7",
}
_JRUBY_INTEGRITY_MISSING = """
Expand Down

0 comments on commit dced19b

Please sign in to comment.