Skip to content

Commit

Permalink
Dropped support for Ruby DSL.
Browse files Browse the repository at this point in the history
The generated code has not used the DSL since 23.0 (released May 8, 2023).

PiperOrigin-RevId: 592269607
  • Loading branch information
haberman authored and copybara-github committed Dec 26, 2023
1 parent 4c74345 commit 3d42619
Show file tree
Hide file tree
Showing 18 changed files with 78 additions and 651 deletions.
4 changes: 3 additions & 1 deletion ruby/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ test_protos = %w[
tests/generated_code.proto
tests/generated_code_proto2.proto
tests/multi_level_nesting_test.proto
tests/repeated_field_test.proto
tests/stress.proto
tests/test_import.proto
tests/test_import_proto2.proto
tests/test_ruby_package.proto
Expand Down Expand Up @@ -64,7 +66,7 @@ unless ENV['IN_DOCKER'] == 'true' or ENV['BAZEL'] == 'true'
output_file = proto_file.sub(/\.proto$/, "_pb.rb")
genproto_output << output_file
file output_file => proto_file do |file_task|
sh "#{protoc_command} -I../src -I. -I./tests --ruby_out=. #{proto_file}"
sh "#{protoc_command} -I../src -I./tests --ruby_out=tests #{proto_file}"
end
end
end
Expand Down
Loading

0 comments on commit 3d42619

Please sign in to comment.