Sha256: 2ddb99c39d7272a7dc7b585a932a783342a6645b4b723c7c21b82cfff09040d1

Contents?: true

Size: 592 Bytes

Versions: 44

Compression:

Stored size: 592 Bytes

Contents

#!/usr/bin/env ruby

<%= render partial: "shared/header" -%>

gem "gapic-generator"
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, specifying the <%= gem_name %> generator
response = Gapic::Runner.run request, generator: :<%= gem_name %>

STDOUT.print response.serialize

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
gapic-generator-0.11.0 gem_templates/binary.erb
gapic-generator-0.10.1 gem_templates/binary.erb
gapic-generator-0.10.0 gem_templates/binary.erb
gapic-generator-0.9.1 gem_templates/binary.erb
gapic-generator-0.9.0 gem_templates/binary.erb
gapic-generator-0.8.0 gem_templates/binary.erb
gapic-generator-0.7.5 gem_templates/binary.erb
gapic-generator-0.7.4 gem_templates/binary.erb
gapic-generator-0.7.2 gem_templates/binary.erb
gapic-generator-0.7.1 gem_templates/binary.erb
gapic-generator-0.7.0 gem_templates/binary.erb
gapic-generator-0.6.15 gem_templates/binary.erb
gapic-generator-0.6.14 gem_templates/binary.erb
gapic-generator-0.6.13 gem_templates/binary.erb
gapic-generator-0.6.12 gem_templates/binary.erb
gapic-generator-0.6.11 gem_templates/binary.erb
gapic-generator-0.6.10 gem_templates/binary.erb
gapic-generator-0.6.9 gem_templates/binary.erb
gapic-generator-0.6.8 gem_templates/binary.erb
gapic-generator-0.6.7 gem_templates/binary.erb