Releases: bazel-contrib/rules_ruby
v0.12.1
Using Bzlmod with Bazel 7
- Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_ruby", version = "0.12.1")
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.1")
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 = "9bcf239ef669b19b53e041827a3b5fb54439b3505e1d93680d6839cbdcc80d52",
strip_prefix = "rules_ruby-0.12.1",
url = "https://github.com/bazel-contrib/rules_ruby/releases/download/v0.12.1/rules_ruby-v0.12.1.tar.gz",
)
What's Changed
- fix: use override Ruby toolchain consistently by @sushain97 in #143
- chore(deps): update dependency aspect_bazel_lib to v2.7.9 by @renovate in #142
Full Changelog: v0.12.0...v0.12.1
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
v0.11.0
Using Bzlmod with Bazel 7
- Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_ruby", version = "0.11.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.11.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 = "21e231f0a0adba5ec771a5c68221c12f2dddc132693abf764cb89fcd292e22e5",
strip_prefix = "rules_ruby-0.11.0",
url = "https://github.com/bazel-contrib/rules_ruby/releases/download/v0.11.0/rules_ruby-v0.11.0.tar.gz",
)
What's Changed
- chore(deps): update dependency io_bazel_rules_go to v0.47.1 by @renovate in #117
- chore(deps): update dependency aspect_bazel_lib to v2.7.3 by @renovate in #118
- chore: sync
.bazelversion
files and disable lockfile by @p0deje in #120 - chore(deps): update bazel-contrib/setup-bazel action to v0.8.4 by @renovate in #121
- chore(deps): update dependency bazel to v7.1.2 by @renovate in #119
- chore(deps): update dependency io_bazel_rules_go to v0.48.0 by @renovate in #122
- chore(deps): update dependency aspect_bazel_lib to v2.7.6 by @renovate in #124
- chore(deps): update dependency aspect_bazel_lib to v2.7.7 by @renovate in #127
- chore(deps): update dependency bazel_skylib_gazelle_plugin to v1.7.0 by @renovate in #129
- fix: properly locate OS-installed
system
Ruby by @p0deje in #128 - chore(deps): update dependency bazel_skylib_gazelle_plugin to v1.7.1 by @renovate in #130
- fix: propagate
ruby_build_version
under bzlmod by @p0deje in #131
Full Changelog: v0.10.0...v0.11.0
v0.10.0
Using Bzlmod with Bazel 7
- Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_ruby", version = "0.10.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.10.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 = "eebc51710d0c3557abfe4cced98f5b5b234620525bd5c3911f52230d0ee5db7f",
strip_prefix = "rules_ruby-0.10.0",
url = "https://github.com/bazel-contrib/rules_ruby/releases/download/v0.10.0/rules_ruby-v0.10.0.tar.gz",
)
What's Changed
- chore(deps): update dependency aspect_bazel_lib to v2.6.0 by @renovate in #104
- chore(deps): update dependency aspect_bazel_lib to v2.7.0 by @renovate in #105
- chore(deps): update dependency bazel_gazelle to v0.36.0 by @renovate in #106
- chore(deps): update bazel-contrib/setup-bazel action to v0.8.2 by @renovate in #107
- chore(deps): update dependency aspect_bazel_lib to v2.7.1 by @renovate in #109
- chore(deps): update dependency io_bazel_rules_go to v0.47.0 by @renovate in #110
- chore(deps): update dependency bazel_skylib_gazelle_plugin to v1.6.0 by @renovate in #112
- chore(deps): update dependency aspect_bazel_lib to v2.7.2 by @renovate in #114
- chore(deps): update dependency bazel_skylib_gazelle_plugin to v1.6.1 by @renovate in #113
- feat: 0.10.0 release by @p0deje in #111
- ci: fix jekyll example not starting by @p0deje in #116
Full Changelog: v0.9.1...v0.10.0
v0.9.1
Using Bzlmod with Bazel 7
- Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_ruby", version = "0.9.1")
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.9.1")
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 = "5f3aa93655f4e2ff0f0dfa14339c658fa9ab8dd85fea406126d589e6a0837575",
strip_prefix = "rules_ruby-0.9.1",
url = "https://github.com/bazel-contrib/rules_ruby/releases/download/v0.9.1/rules_ruby-v0.9.1.tar.gz",
)
What's Changed
Full Changelog: v0.9.0...v0.9.1
v0.9.0
Using Bzlmod with Bazel 7
- Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_ruby", version = "0.9.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.9.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 = "498eb7b09cb91428e4d229796a9ae842990bbc3463e8bf1705126329e802008d",
strip_prefix = "rules_ruby-0.9.0",
url = "https://github.com/bazel-contrib/rules_ruby/releases/download/v0.9.0/rules_ruby-v0.9.0.tar.gz",
)
What's Changed
- chore(deps): update dependency aspect_bazel_lib to v2.5.2 by @renovate in #97
- chore(deps): update dependency aspect_bazel_lib to v2.5.3 by @renovate in #98
- chore(deps): update p0deje/setup-bazel action to v0.8.1 by @renovate in #100
- chore(deps): update dependency bazel to v7.1.0 by @renovate in #99
- chore: update Ruby versions by @p0deje in #102
Full Changelog: v0.8.1...v0.9.0
v0.8.1
Using Bzlmod with Bazel 7
- Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_ruby", version = "0.8.1")
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.8.1")
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 = "9ff781fd8180c2be8b3ab0f16d1d88d618c3b1bc4d502dcb914591886da40014",
strip_prefix = "rules_ruby-0.8.1",
url = "https://github.com/bazel-contrib/rules_ruby/releases/download/v0.8.1/rules_ruby-v0.8.1.tar.gz",
)
What's Changed
- fix: presubmit missing bazel propery by @p0deje in #95
- ci: separate repository caches in examples by @p0deje in #96
- fix: propagate Ruby toolchain files as inputs to
rb_gem_build
by @p0deje in #94
Full Changelog: v0.8.0...v0.8.1
v0.8.0
Using Bzlmod with Bazel 7
- Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_ruby", version = "0.8.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.8.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 = "00ec03ad04ff1657362277e00a90a1b24616673005089aab6dcc664d42670c55",
strip_prefix = "rules_ruby-0.8.0",
url = "https://github.com/bazel-contrib/rules_ruby/releases/download/v0.8.0/rules_ruby-v0.8.0.tar.gz",
)
What's Changed
- fix!: avoid overlapping output files in
rb_binary
by @p0deje in #93 - chore: test module on bazel 6/7 by @p0deje in #92
Full Changelog: v0.7.0...v0.8.0
v0.7.0
- Adds bundler_remote attribute to rb_bundle_fetch() repository rule which allows to install bundler from a different location that rubygems.org
- Adds support for gems integrity in rb_bundle_fetch() repository rule via gem_checksums and bundler_checksums attributes. Checksums for bundler are shipped with the ruleset itself, so only need to overwrite if an unknown version is used or you use a custom bundler.
- Supports $(location ...) expansion in env attribute of rb_binary() and rb_test() rules.
- Supports passing custom PATH in env attribute of rb_bundle_fetch() repository rule.
Using Bzlmod with Bazel 7
- Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_ruby", version = "0.7.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.7.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 = "018c9dd8aa0746e989dfb5ef6bfc582ff29c20f28a1444370990b6408cd6d646",
strip_prefix = "rules_ruby-0.7.0",
url = "https://github.com/bazel-contrib/rules_ruby/releases/download/v0.7.0/rules_ruby-v0.7.0.tar.gz",
)
What's Changed
- chore(deps): update dependency bazel to v7.0.2 by @renovate in #71
- chore(deps): update dependency aspect_bazel_lib to v2.4.1 by @renovate in #75
- chore(deps): update p0deje/setup-bazel action to v0.5.0 by @renovate in #76
- chore(deps): update dependency io_bazel_rules_go to v0.46.0 by @renovate in #77
- add an example jekyll site by @RyanDraves in #74
- chore(deps): update p0deje/setup-bazel action to v0.5.0 by @renovate in #78
- chore(deps): update p0deje/setup-bazel action to v0.6.0 by @renovate in #79
- chore(deps): update dependency aspect_bazel_lib to v2.4.2 by @renovate in #80
- Add
bundler_remote
attribute torb_bundle_fetch
by @sushain97 in #81 - Add bundler checksums by @sushain97 in #83
- Actually use the bundler checksum by @sushain97 in #84
- chore(deps): update dependency aspect_bazel_lib to v2.5.0 by @renovate in #85
- chore(deps): update bazel-contrib/.github action to v6 by @renovate in #86
- Support providing integrity for gem downloads by @sushain97 in #82
- chore: enable repository-cache in setup-bazel by @p0deje in #89
- chore(deps): update dependency aspect_bazel_lib to v2.5.1 by @renovate in #90
- feat: allow customizing
$PATH
duringrb_bundle_fetch
by @sushain97 in #91 - feat: support using
$(location)
in env attribute by @p0deje in #87
New Contributors
- @RyanDraves made their first contribution in #74
- @sushain97 made their first contribution in #81
Full Changelog: v0.6.0...v0.7.0
v0.6.0
Using Bzlmod with Bazel 7
- Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_ruby", version = "0.6.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.6.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 = "bfb4ae35ec8d3ffb864bd6a4e4bd4b2914ac52478f9636d5218801f2c0303df1",
strip_prefix = "rules_ruby-0.6.0",
url = "https://github.com/bazel-contrib/rules_ruby/releases/download/v0.6.0/rules_ruby-v0.6.0.tar.gz",
)
What's Changed
- chore(deps): update dependency bazel to v7.0.1 by @renovate in #67
- chore(deps): update p0deje/setup-bazel action to v0.4.0 by @renovate in #68
- chore(deps): update dependency io_bazel_rules_go to v0.45.1 by @renovate in #69
- feat: expose toolchain and bundled binaries by @p0deje in #70
Full Changelog: v0.5.0...v0.6.0