Sha256: 870609ddcc01fec25e2540964e2c9d9f4b71b6e73abc2fb188038566916df514

Contents?: true

Size: 1.1 KB

Versions: 30

Compression:

Stored size: 1.1 KB

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

$LOAD_PATH.unshift ::File.expand_path("../../lib", __FILE__)
require "gapic/runner"
require "google/protobuf/compiler/plugin.pb"

# Ensure that no encoding conversions are done on STDIN and STDOUT
# since we are passing binary data back and forth. Otherwise these
# streams will be mangled on Windows.
STDIN.binmode
STDOUT.binmode

request = Google::Protobuf::Compiler::CodeGeneratorRequest.decode STDIN.read

# Run the request
response = Gapic::Runner.run request

STDOUT.print response.serialize

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
gapic-generator-0.6.12 bin/protoc-gen-ruby_gapic
gapic-generator-0.6.11 bin/protoc-gen-ruby_gapic
gapic-generator-0.6.10 bin/protoc-gen-ruby_gapic
gapic-generator-0.6.9 bin/protoc-gen-ruby_gapic
gapic-generator-0.6.8 bin/protoc-gen-ruby_gapic
gapic-generator-0.6.7 bin/protoc-gen-ruby_gapic
gapic-generator-0.6.6 bin/protoc-gen-ruby_gapic
gapic-generator-0.6.5 bin/protoc-gen-ruby_gapic
gapic-generator-0.6.4 bin/protoc-gen-ruby_gapic
gapic-generator-0.6.3 bin/protoc-gen-ruby_gapic
gapic-generator-0.6.2 bin/protoc-gen-ruby_gapic
gapic-generator-0.6.1 bin/protoc-gen-ruby_gapic
gapic-generator-0.6.0 bin/protoc-gen-ruby_gapic
gapic-generator-0.5.1 bin/protoc-gen-ruby_gapic
gapic-generator-0.5.0 bin/protoc-gen-ruby_gapic
gapic-generator-0.4.2 bin/protoc-gen-ruby_gapic
gapic-generator-0.4.0 bin/protoc-gen-ruby_gapic
gapic-generator-0.3.3 bin/protoc-gen-ruby_gapic
gapic-generator-0.3.1 bin/protoc-gen-ruby_gapic
gapic-generator-0.3.0 bin/protoc-gen-ruby_gapic