Skip to content

Commit ab38b9c

Browse files
committed
Upgrade Ruby rules for Bazel to the latest version
1 parent 02d47fd commit ab38b9c

File tree

3 files changed

+22
-53
lines changed

3 files changed

+22
-53
lines changed

WORKSPACE

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,9 @@ pin_browsers()
313313

314314
http_archive(
315315
name = "rules_ruby",
316-
sha256 = "5aa0780f4fc159ac2970991128db4c843575395a3a903e2353332053461c4821",
317-
strip_prefix = "rules_ruby-0799d724aeca58d42ecbe3b7ebde112dc6565c9f",
318-
url = "https://github.com/p0deje/rules_ruby/archive/0799d724aeca58d42ecbe3b7ebde112dc6565c9f.zip",
316+
sha256 = "e8b33567dfd129a782e513d61c65de2c9120e6944ff398a96227b3ad79cada70",
317+
strip_prefix = "rules_ruby-3124474acd89192332f00938126753c5122b4df6",
318+
url = "https://github.com/p0deje/rules_ruby/archive/3124474acd89192332f00938126753c5122b4df6.zip",
319319
)
320320

321321
load("//rb:ruby_version.bzl", "RUBY_VERSION")

rb/BUILD.bazel

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ rb_test(
261261
"--force-color",
262262
"rb/spec",
263263
],
264-
bin = "@bundle//:bin/rspec",
264+
main = "@bundle//:bin/rspec",
265265
tags = [
266266
"no-sandbox",
267267
"requires-network",
@@ -287,7 +287,7 @@ rb_test(
287287
"--force-color",
288288
"rb/spec",
289289
],
290-
bin = "@bundle//:bin/rspec",
290+
main = "@bundle//:bin/rspec",
291291
tags = [
292292
"no-sandbox",
293293
"requires-network",
@@ -313,7 +313,7 @@ rb_test(
313313
"--force-color",
314314
"rb/spec",
315315
],
316-
bin = "@bundle//:bin/rspec",
316+
main = "@bundle//:bin/rspec",
317317
tags = [
318318
"no-sandbox",
319319
"requires-network",
@@ -339,7 +339,7 @@ rb_test(
339339
"--force-color",
340340
"rb/spec",
341341
],
342-
bin = "@bundle//:bin/rspec",
342+
main = "@bundle//:bin/rspec",
343343
tags = [
344344
"no-sandbox",
345345
"requires-network",
@@ -365,14 +365,14 @@ rb_test(
365365
"--force-color",
366366
"rb/spec",
367367
],
368-
bin = "@bundle//:bin/rspec",
368+
main = "@bundle//:bin/rspec",
369369
tags = [
370370
"no-sandbox",
371371
"requires-network",
372372
],
373373
deps = [
374-
":remote",
375374
":ie",
375+
":remote",
376376
"@bundle",
377377
],
378378
)
@@ -389,7 +389,7 @@ rb_test(
389389
"--force-color",
390390
"rb/spec",
391391
],
392-
bin = "@bundle//:bin/rspec",
392+
main = "@bundle//:bin/rspec",
393393
tags = [
394394
"no-sandbox",
395395
"requires-network",
@@ -414,7 +414,7 @@ rb_test(
414414
"--force-color",
415415
"rb/spec",
416416
],
417-
bin = "@bundle//:bin/rspec",
417+
main = "@bundle//:bin/rspec",
418418
tags = [
419419
"no-sandbox",
420420
"requires-network",
@@ -439,7 +439,7 @@ rb_test(
439439
"--force-color",
440440
"rb/spec",
441441
],
442-
bin = "@bundle//:bin/rspec",
442+
main = "@bundle//:bin/rspec",
443443
tags = [
444444
"no-sandbox",
445445
"requires-network",
@@ -469,7 +469,7 @@ rb_test(
469469
"--force-color",
470470
"rb/spec",
471471
],
472-
bin = "@bundle//:bin/rspec",
472+
main = "@bundle//:bin/rspec",
473473
tags = [
474474
"no-sandbox",
475475
"requires-network",
@@ -496,7 +496,7 @@ rb_test(
496496
"--force-color",
497497
"rb/spec",
498498
],
499-
bin = "@bundle//:bin/rspec",
499+
main = "@bundle//:bin/rspec",
500500
tags = [
501501
"no-sandbox",
502502
"requires-network",
@@ -523,7 +523,7 @@ rb_test(
523523
"--force-color",
524524
"rb/spec",
525525
],
526-
bin = "@bundle//:bin/rspec",
526+
main = "@bundle//:bin/rspec",
527527
tags = [
528528
"no-sandbox",
529529
"requires-network",
@@ -550,7 +550,7 @@ rb_test(
550550
"--force-color",
551551
"rb/spec",
552552
],
553-
bin = "@bundle//:bin/rspec",
553+
main = "@bundle//:bin/rspec",
554554
tags = [
555555
"no-sandbox",
556556
"requires-network",
@@ -576,14 +576,14 @@ rb_test(
576576
"--force-color",
577577
"rb/spec",
578578
],
579-
bin = "@bundle//:bin/rspec",
579+
main = "@bundle//:bin/rspec",
580580
tags = [
581581
"no-sandbox",
582582
"requires-network",
583583
],
584584
deps = [
585-
":remote",
586585
":ie",
586+
":remote",
587587
"@bundle",
588588
],
589589
)
@@ -601,7 +601,7 @@ rb_test(
601601
"--force-color",
602602
"rb/spec",
603603
],
604-
bin = "@bundle//:bin/rspec",
604+
main = "@bundle//:bin/rspec",
605605
tags = [
606606
"no-sandbox",
607607
"requires-network",
@@ -628,7 +628,7 @@ rb_binary(
628628
"rb/CHANGES",
629629
"rb/README.md",
630630
],
631-
bin = "@bundle//:bin/yard",
631+
main = "@bundle//:bin/yard",
632632
deps = ["@bundle"],
633633
)
634634

@@ -650,7 +650,7 @@ rb_binary(
650650
"rb/selenium-devtools.gemspec",
651651
"rb/selenium-webdriver.gemspec",
652652
],
653-
bin = "@bundle//:bin/rubocop",
653+
main = "@bundle//:bin/rubocop",
654654
deps = [
655655
"@bundle",
656656
],
@@ -662,7 +662,7 @@ rb_binary(
662662
"-rselenium-webdriver",
663663
"-rselenium/devtools",
664664
],
665-
bin = "@bundle//:bin/pry",
665+
main = "@bundle//:bin/pry",
666666
deps = [
667667
":bidi",
668668
":chrome",

rb/private/gem_builder.tpl

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)