Skip to content

Commit

Permalink
feat: Add rest_numeric_enums to Ruby build rule template (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
dazuma committed Oct 28, 2022
1 parent 58b006a commit 5f5ba98
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ ruby_cloud_gapic_library(
],
grpc_service_config = {{grpc_service_config}},
service_yaml = {{service_yaml}},
rest_numeric_enums = {{rest_numeric_enums}},
deps = [
":{{name}}_ruby_grpc",
":{{name}}_ruby_proto",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ ruby_cloud_gapic_library(
],
grpc_service_config = "library_example_grpc_service_config.json",
service_yaml = "library_example_v1.yaml",
rest_numeric_enums = True,
deps = [
":library_ruby_grpc",
":library_ruby_proto",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ ruby_cloud_gapic_library(
srcs = [":library_proto_with_info"],
extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-example-library-v1"],
grpc_service_config = "library_example_grpc_service_config.json",
rest_numeric_enums = False,
rest_numeric_enums = True,
ruby_cloud_title = "Title with spaces",
service_yaml = "library_example_v1.yaml",
deps = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ ruby_cloud_gapic_library(
],
grpc_service_config = "library_example_grpc_service_config.json",
service_yaml = "//google/example/library:library_example_v1.yaml",
rest_numeric_enums = True,
deps = [
":library_ruby_grpc",
":library_ruby_proto",
Expand Down

0 comments on commit 5f5ba98

Please sign in to comment.