Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[email protected] #3254

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions modules/rules_ruby/0.14.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
"Define the Bazel module published to the Bazel Central Registry"

module(
name = "rules_ruby",
# NB: this version will be replaced after a release by the Publish to BCR app
version = "0.14.0",
compatibility_level = 1,
)

# Lower-bound dependency versions.
# These should NOT be increased unless needed, as bumping our lower-bound may change
# the versions resolved in users repositories.
bazel_dep(name = "bazel_skylib", version = "1.3.0")
bazel_dep(name = "platforms", version = "0.0.5")

# TODO: should we register any toolchain by default?
14 changes: 14 additions & 0 deletions modules/rules_ruby/0.14.0/patches/module_dot_bazel_version.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -2,9 +2,9 @@

module(
name = "rules_ruby",
# NB: this version will be replaced after a release by the Publish to BCR app
- version = "0.0.0",
+ version = "0.14.0",
compatibility_level = 1,
)

# Lower-bound dependency versions.
14 changes: 14 additions & 0 deletions modules/rules_ruby/0.14.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# https://github.com/bazel-contrib/publish-to-bcr/tree/main/templates#presubmityml
bcr_test_module:
module_path: "examples/gem"
matrix:
bazel: ["7.x", "6.x"]
# NB: Windows is removed due to https://github.com/bazel-contrib/rules_ruby/issues/64
platform: ["debian10", "macos", "ubuntu2004"]
tasks:
run_tests:
name: "Run test module"
platform: ${{ platform }}
bazel: ${{ bazel }}
test_targets:
- "//..."
9 changes: 9 additions & 0 deletions modules/rules_ruby/0.14.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-uEm1VZtBaLVyX5C2hkiiWmK+1SI31cQp4vov6o+Ak0I=",
"strip_prefix": "rules_ruby-0.14.0",
"url": "https://github.com/bazel-contrib/rules_ruby/releases/download/v0.14.0/rules_ruby-v0.14.0.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-tocWlXrfBthQ0ckVeiXVbfK0fv8xwjcuVHIL+Z2FuIU="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/rules_ruby/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"0.12.0",
"0.12.1",
"0.12.2",
"0.13.0"
"0.13.0",
"0.14.0"
],
"yanked_versions": {}
}
Loading