v0.12.0
Using Bzlmod with Bazel 7
- Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_ruby", version = "0.12.0")
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_ruby", version = "0.12.0")
Using WORKSPACE
Paste this snippet into your WORKSPACE.bazel
file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# Skylib is a dependency, remove if you already have it.
http_archive(
name = "bazel_skylib",
sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
],
)
http_archive(
name = "rules_ruby",
sha256 = "278047118bff94453a70243427afc82e2a8dd13f8a186c3e9103b3e8a3c08d5b",
strip_prefix = "rules_ruby-0.12.0",
url = "https://github.com/bazel-contrib/rules_ruby/releases/download/v0.12.0/rules_ruby-v0.12.0.tar.gz",
)
What's Changed
- chore(deps): update bazel-contrib/setup-bazel action to v0.8.5 by @renovate in #132
- add
--disable-install-doc
to Ruby configure args to speed up installation time by @timsutton in #133 - chore(deps): update dependency io_bazel_rules_go to v0.48.1 by @renovate in #135
- chore(deps): update dependency aspect_bazel_lib to v2.7.8 by @renovate in #137
- chore(deps): update dependency bazel to v7.2.1 by @renovate in #138
- chore(deps): update dependency io_bazel_rules_go to v0.49.0 by @renovate in #139
- Support per-target Ruby toolchain by @sushain97 in #140
- Set
$HOME
to$TEST_TMPDIR
in test targets by @sushain97 in #141
New Contributors
- @timsutton made their first contribution in #133
Full Changelog: v0.11.0...v0.12.0