Skip to content

Commit

Permalink
fix: update ruby rules to regenerate into ruby_cloud_gapic_library (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
viacheslav-rostovtsev committed Feb 11, 2021
1 parent fddc5df commit 0fe0094
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ nodejs_gapic_assembly_pkg(
load(
"@com_google_googleapis_imports//:imports.bzl",
"ruby_gapic_assembly_pkg",
"ruby_gapic_library",
"ruby_cloud_gapic_library",
"ruby_grpc_library",
"ruby_proto_library",
)
Expand All @@ -257,13 +257,10 @@ ruby_grpc_library(
deps = [":{{name}}_ruby_proto"],
)

ruby_gapic_library(
ruby_cloud_gapic_library(
name = "{{name}}_ruby_gapic",
src = ":{{name}}_proto_with_info",
gapic_yaml = "{{gapic_yaml}}",
grpc_service_config = {{grpc_service_config}},
package = "{{package}}",
service_yaml = "{{service_yaml}}",
deps = [
":{{name}}_ruby_grpc",
":{{name}}_ruby_proto",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ nodejs_gapic_assembly_pkg(
load(
"@com_google_googleapis_imports//:imports.bzl",
"ruby_gapic_assembly_pkg",
"ruby_gapic_library",
"ruby_cloud_gapic_library",
"ruby_grpc_library",
"ruby_proto_library",
)
Expand All @@ -265,13 +265,10 @@ ruby_grpc_library(
deps = [":library_ruby_proto"],
)

ruby_gapic_library(
ruby_cloud_gapic_library(
name = "library_ruby_gapic",
src = ":library_proto_with_info",
gapic_yaml = "library_example_gapic.yaml",
grpc_service_config = "library_example_grpc_service_config.json",
package = "google.example.library.v1",
service_yaml = "//google/example/library:library_example_v1.yaml",
deps = [
":library_ruby_grpc",
":library_ruby_proto",
Expand Down

0 comments on commit 0fe0094

Please sign in to comment.