Skip to content

Commit

Permalink
feat: update Rubies (#173)
Browse files Browse the repository at this point in the history
Fixes #172
  • Loading branch information
p0deje authored Nov 25, 2024
1 parent cdfb74d commit 1c1e9a8
Show file tree
Hide file tree
Showing 5 changed files with 10 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
1 change: 1 addition & 0 deletions ruby/private/bundler_checksums.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# curl -sSf https://rubygems.org/api/v1/versions/bundler.json | jq 'map({key: .number, value: .sha}) | from_entries' | grep -vE '\.pre|\.rc|\.beta'

BUNDLER_CHECKSUMS = {
"2.5.23": "83d52433862a6076268d51d5c879e4467365db0bf376cd89aefb1661baf18618",
"2.5.22": "763f30d598ee58742eea29285875435ea722218d4df149de35bce37c02ce968e",
"2.5.21": "203d645e5f6daa60bbfb4cccb1a7d4aba8171674e00bc28724284740f8d9effb",
"2.5.20": "83bccb5ccc456e347089aa05318ecd27bb9840caa64ed16c1703b50d49b0ab94",
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 1c1e9a8

Please sign in to comment.