Skip to content

Commit 5cfc9e7

Browse files
habermancopybara-github
authored andcommitted
The generated code has not used the DSL since 23.0 (released May 8, 2023). PiperOrigin-RevId: 595481605
1 parent f00fc70 commit 5cfc9e7

21 files changed

Lines changed: 134 additions & 785 deletions

ruby/BUILD.bazel

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -229,21 +229,6 @@ filegroup(
229229
# Tests
230230
################################################################################
231231

232-
# Define this here so the descriptor paths match what we get in Rake tests.
233-
internal_ruby_proto_library(
234-
name = "test_ruby_protos",
235-
srcs = ["//ruby/tests:test_protos"],
236-
includes = [
237-
".",
238-
"ruby/tests",
239-
"src",
240-
],
241-
visibility = [
242-
"//ruby:__subpackages__",
243-
],
244-
deps = [":well_known_ruby_protos"],
245-
)
246-
247232
conformance_test(
248233
name = "conformance_test",
249234
failure_list = "//conformance:failure_list_ruby.txt",

ruby/Rakefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ test_protos = %w[
2626
tests/generated_code.proto
2727
tests/generated_code_proto2.proto
2828
tests/multi_level_nesting_test.proto
29+
tests/repeated_field_test.proto
30+
tests/stress.proto
2931
tests/test_import.proto
3032
tests/test_import_proto2.proto
3133
tests/test_ruby_package.proto
@@ -64,7 +66,7 @@ unless ENV['IN_DOCKER'] == 'true' or ENV['BAZEL'] == 'true'
6466
output_file = proto_file.sub(/\.proto$/, "_pb.rb")
6567
genproto_output << output_file
6668
file output_file => proto_file do |file_task|
67-
sh "#{protoc_command} -I../src -I. -I./tests --ruby_out=. #{proto_file}"
69+
sh "#{protoc_command} -I../src -I./tests --ruby_out=tests #{proto_file}"
6870
end
6971
end
7072
end

0 commit comments

Comments
 (0)