Skip to content

Commit c715248

Browse files
publish-to-bcr-bot[bot]alexeagle
authored andcommitted
1 parent 91be972 commit c715248

File tree

5 files changed

+55
-1
lines changed

5 files changed

+55
-1
lines changed

modules/rules_ruby/0.9.1/MODULE.bazel

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
"Define the Bazel module published to the Bazel Central Registry"
2+
3+
module(
4+
name = "rules_ruby",
5+
# NB: this version will be replaced after a release by the Publish to BCR app
6+
version = "0.9.1",
7+
compatibility_level = 1,
8+
)
9+
10+
# Lower-bound dependency versions.
11+
# These should NOT be increased unless needed, as bumping our lower-bound may change
12+
# the versions resolved in users repositories.
13+
bazel_dep(name = "bazel_skylib", version = "1.3.0")
14+
bazel_dep(name = "platforms", version = "0.0.5")
15+
16+
# TODO: should we register any toolchain by default?
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
===================================================================
2+
--- a/MODULE.bazel
3+
+++ b/MODULE.bazel
4+
@@ -2,9 +2,9 @@
5+
6+
module(
7+
name = "rules_ruby",
8+
# NB: this version will be replaced after a release by the Publish to BCR app
9+
- version = "0.0.0",
10+
+ version = "0.9.1",
11+
compatibility_level = 1,
12+
)
13+
14+
# Lower-bound dependency versions.
+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# https://github.com/bazel-contrib/publish-to-bcr/tree/main/templates#presubmityml
2+
bcr_test_module:
3+
module_path: "examples/gem"
4+
matrix:
5+
bazel: ["7.x", "6.x"]
6+
# NB: Windows is removed due to https://github.com/bazel-contrib/rules_ruby/issues/64
7+
platform: ["debian10", "macos", "ubuntu2004"]
8+
tasks:
9+
run_tests:
10+
name: "Run test module"
11+
platform: ${{ platform }}
12+
bazel: ${{ bazel }}
13+
test_targets:
14+
- "//..."

modules/rules_ruby/0.9.1/source.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"integrity": "sha256-XzqpNlX04v8PDfoUM5xlj6mrjdhf6kBhJtWJ5qCDdXU=",
3+
"strip_prefix": "rules_ruby-0.9.1",
4+
"url": "https://github.com/bazel-contrib/rules_ruby/releases/download/v0.9.1/rules_ruby-v0.9.1.tar.gz",
5+
"patches": {
6+
"module_dot_bazel_version.patch": "sha256-yNgO8f7uCNSJvllfZZOIxOOHyYUDj+DYLsuD9dRh4HQ="
7+
},
8+
"patch_strip": 1
9+
}

modules/rules_ruby/metadata.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"0.5.0",
1717
"0.6.0",
1818
"0.8.0",
19-
"0.8.1"
19+
"0.8.1",
20+
"0.9.1"
2021
],
2122
"yanked_versions": {}
2223
}

0 commit comments

Comments
 (0)