Skip to content

Commit

Permalink
Publish bazel-contrib/[email protected] (#1162)
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Eagle <[email protected]>
  • Loading branch information
publish-to-bcr-bot[bot] and alexeagle authored Nov 30, 2023
1 parent 232e85c commit 7517fe1
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 3 deletions.
16 changes: 16 additions & 0 deletions modules/rules_ruby/0.3.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.3.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.3.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.3.0",
compatibility_level = 1,
)

# Lower-bound dependency versions.
10 changes: 10 additions & 0 deletions modules/rules_ruby/0.3.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
bcr_test_module:
module_path: "examples/gem"
matrix:
platform: ["debian10", "macos", "ubuntu2004", "windows"]
tasks:
run_tests:
name: "Run test module"
platform: ${{ platform }}
test_targets:
- "//..."
9 changes: 9 additions & 0 deletions modules/rules_ruby/0.3.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-VoGfeqBgdLLxDyiMMh08YRta8hl8rScB4LPzY3kmFSw=",
"strip_prefix": "rules_ruby-0.3.0",
"url": "https://github.com/bazel-contrib/rules_ruby/releases/download/v0.3.0/rules_ruby-v0.3.0.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-6SZynWZCKrP79tVadgio+WDamLwQjCE8tT0Ooct5PjY="
},
"patch_strip": 1
}
7 changes: 4 additions & 3 deletions modules/rules_ruby/metadata.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{
"homepage": "https://github.com/p0deje/rules_ruby",
"homepage": "https://github.com/bazel-contrib/rules_ruby",
"maintainers": [
{
"github": "p0deje",
"name": "Alex Rodionov"
}
],
"repository": [
"github:p0deje/rules_ruby"
"github:bazel-contrib/rules_ruby"
],
"versions": [
"0.2.0"
"0.2.0",
"0.3.0"
],
"yanked_versions": {}
}

0 comments on commit 7517fe1

Please sign in to comment.