Skip to content

Commit

Permalink
Upgrade Ruby rules for Bazel to the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
p0deje committed Nov 26, 2022
1 parent 02d47fd commit ab38b9c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 53 deletions.
6 changes: 3 additions & 3 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,9 @@ pin_browsers()

http_archive(
name = "rules_ruby",
sha256 = "5aa0780f4fc159ac2970991128db4c843575395a3a903e2353332053461c4821",
strip_prefix = "rules_ruby-0799d724aeca58d42ecbe3b7ebde112dc6565c9f",
url = "https://github.com/p0deje/rules_ruby/archive/0799d724aeca58d42ecbe3b7ebde112dc6565c9f.zip",
sha256 = "e8b33567dfd129a782e513d61c65de2c9120e6944ff398a96227b3ad79cada70",
strip_prefix = "rules_ruby-3124474acd89192332f00938126753c5122b4df6",
url = "https://github.com/p0deje/rules_ruby/archive/3124474acd89192332f00938126753c5122b4df6.zip",
)

load("//rb:ruby_version.bzl", "RUBY_VERSION")
Expand Down
38 changes: 19 additions & 19 deletions rb/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ rb_test(
"--force-color",
"rb/spec",
],
bin = "@bundle//:bin/rspec",
main = "@bundle//:bin/rspec",
tags = [
"no-sandbox",
"requires-network",
Expand All @@ -287,7 +287,7 @@ rb_test(
"--force-color",
"rb/spec",
],
bin = "@bundle//:bin/rspec",
main = "@bundle//:bin/rspec",
tags = [
"no-sandbox",
"requires-network",
Expand All @@ -313,7 +313,7 @@ rb_test(
"--force-color",
"rb/spec",
],
bin = "@bundle//:bin/rspec",
main = "@bundle//:bin/rspec",
tags = [
"no-sandbox",
"requires-network",
Expand All @@ -339,7 +339,7 @@ rb_test(
"--force-color",
"rb/spec",
],
bin = "@bundle//:bin/rspec",
main = "@bundle//:bin/rspec",
tags = [
"no-sandbox",
"requires-network",
Expand All @@ -365,14 +365,14 @@ rb_test(
"--force-color",
"rb/spec",
],
bin = "@bundle//:bin/rspec",
main = "@bundle//:bin/rspec",
tags = [
"no-sandbox",
"requires-network",
],
deps = [
":remote",
":ie",
":remote",
"@bundle",
],
)
Expand All @@ -389,7 +389,7 @@ rb_test(
"--force-color",
"rb/spec",
],
bin = "@bundle//:bin/rspec",
main = "@bundle//:bin/rspec",
tags = [
"no-sandbox",
"requires-network",
Expand All @@ -414,7 +414,7 @@ rb_test(
"--force-color",
"rb/spec",
],
bin = "@bundle//:bin/rspec",
main = "@bundle//:bin/rspec",
tags = [
"no-sandbox",
"requires-network",
Expand All @@ -439,7 +439,7 @@ rb_test(
"--force-color",
"rb/spec",
],
bin = "@bundle//:bin/rspec",
main = "@bundle//:bin/rspec",
tags = [
"no-sandbox",
"requires-network",
Expand Down Expand Up @@ -469,7 +469,7 @@ rb_test(
"--force-color",
"rb/spec",
],
bin = "@bundle//:bin/rspec",
main = "@bundle//:bin/rspec",
tags = [
"no-sandbox",
"requires-network",
Expand All @@ -496,7 +496,7 @@ rb_test(
"--force-color",
"rb/spec",
],
bin = "@bundle//:bin/rspec",
main = "@bundle//:bin/rspec",
tags = [
"no-sandbox",
"requires-network",
Expand All @@ -523,7 +523,7 @@ rb_test(
"--force-color",
"rb/spec",
],
bin = "@bundle//:bin/rspec",
main = "@bundle//:bin/rspec",
tags = [
"no-sandbox",
"requires-network",
Expand All @@ -550,7 +550,7 @@ rb_test(
"--force-color",
"rb/spec",
],
bin = "@bundle//:bin/rspec",
main = "@bundle//:bin/rspec",
tags = [
"no-sandbox",
"requires-network",
Expand All @@ -576,14 +576,14 @@ rb_test(
"--force-color",
"rb/spec",
],
bin = "@bundle//:bin/rspec",
main = "@bundle//:bin/rspec",
tags = [
"no-sandbox",
"requires-network",
],
deps = [
":remote",
":ie",
":remote",
"@bundle",
],
)
Expand All @@ -601,7 +601,7 @@ rb_test(
"--force-color",
"rb/spec",
],
bin = "@bundle//:bin/rspec",
main = "@bundle//:bin/rspec",
tags = [
"no-sandbox",
"requires-network",
Expand All @@ -628,7 +628,7 @@ rb_binary(
"rb/CHANGES",
"rb/README.md",
],
bin = "@bundle//:bin/yard",
main = "@bundle//:bin/yard",
deps = ["@bundle"],
)

Expand All @@ -650,7 +650,7 @@ rb_binary(
"rb/selenium-devtools.gemspec",
"rb/selenium-webdriver.gemspec",
],
bin = "@bundle//:bin/rubocop",
main = "@bundle//:bin/rubocop",
deps = [
"@bundle",
],
Expand All @@ -662,7 +662,7 @@ rb_binary(
"-rselenium-webdriver",
"-rselenium/devtools",
],
bin = "@bundle//:bin/pry",
main = "@bundle//:bin/pry",
deps = [
":bidi",
":chrome",
Expand Down
31 changes: 0 additions & 31 deletions rb/private/gem_builder.tpl

This file was deleted.

0 comments on commit ab38b9c

Please sign in to comment.